Skip to content

feat(mcp): add discover filters, new tools, and fix prompt parity#89

Merged
electather merged 1 commit intomainfrom
feat/mcp-parity-and-expansion
Mar 16, 2026
Merged

feat(mcp): add discover filters, new tools, and fix prompt parity#89
electather merged 1 commit intomainfrom
feat/mcp-parity-and-expansion

Conversation

@electather
Copy link
Owner

Summary

  • Prompt parity fixes: removed non-existent mediaType arg from report_issue prompt instructions; fixed issue_create tool description to list all 5 issue types (was missing 4=Wrong content, 5=Other)
  • Discover filters: added genre, studio/network, language, sortBy, date range, vote average, and runtime filter params to search_discover_movies and search_discover_tv; updated discover_content prompt wording to reference these filters
  • New tools (47 → 52): search_company, search_keyword, movies_ratings_combined, settings_jobs_cancel, settings_jobs_schedule
  • Resource cleanup: removed orphaned WatchProvidersMoviesResourceHandler and WatchProvidersTVResourceHandler that were defined but never registered
  • Inventory constants: new cmd/mcp/inventory.go with MCPToolCount, MCPResourceCount, MCPPromptCount; serve.go log lines now use these constants instead of stale literals
  • README sync: tool count updated (43 → 52), missing tools added, Resources section added

Closes #82, closes #83.

Test plan

  • go test -v ./tests/ -run TestSearchDiscover — discover filter tests
  • go test -v ./tests/ -run TestReportIssuePrompt — prompt parity test
  • go test -v ./tests/ -run TestSearchCompany — company/keyword search
  • go test -v ./tests/ -run TestMoviesRatingsCombined — combined ratings
  • go test -v ./tests/ -run TestSettingsJobs — cancel and schedule handlers
  • go test -v ./tests/ -run TestMCPInventory — inventory constant test
  • go test ./tests/ — full suite passes

Checklist

  • New tests added for all new behaviour
  • Documentation updated (README tool count and inventory table)
  • go fmt ./... run
  • Full test suite passes

- Add genre, studio/network, language, sortBy, date range, vote average,
  and runtime filters to search_discover_movies and search_discover_tv
- Fix report_issue prompt to remove non-existent mediaType arg on issue_create
- Fix issue_create tool description to list all 5 issue types correctly
- Add search_company and search_keyword tools
- Add movies_ratings_combined tool
- Add settings_jobs_cancel and settings_jobs_schedule tools
- Remove orphaned WatchProviders resource handlers that were never registered
- Add inventory.go with MCPToolCount/MCPResourceCount/MCPPromptCount constants
- Update serve.go log lines to use inventory constants instead of stale literals
- Update README tool count (43 -> 52) and add missing tools and resources table
@electather electather merged commit 857d1ee into main Mar 16, 2026
2 checks passed
@electather electather deleted the feat/mcp-parity-and-expansion branch March 16, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant