Skip to content

Support subclassed MCP handlers and protocol domains - #152

Merged
Gabriel-Darbord merged 2 commits into
mainfrom
mcp-subclass-handlers
Aug 31, 2026
Merged

Support subclassed MCP handlers and protocol domains#152
Gabriel-Darbord merged 2 commits into
mainfrom
mcp-subclass-handlers

Conversation

@Gabriel-Darbord

Copy link
Copy Markdown
Member

Summary

  • Register inherited JSON-RPC handlers when MCP is subclassed.
  • Advertise resources and prompts capabilities during initialize.
  • Add minimal resources/prompts RPC handlers so advertised protocol domains respond.
  • Fix resources/list to return the canonical resources key.

Notes

The resources and prompts surfaces are intentionally minimal for now: list endpoints return empty lists, and read/get requests return JSON-RPC invalid params until concrete resources or prompts are implemented.

@Gabriel-Darbord
Gabriel-Darbord merged commit 55605e0 into main Aug 31, 2026
3 checks passed
@Gabriel-Darbord
Gabriel-Darbord deleted the mcp-subclass-handlers branch August 31, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant