Skip to content

Comments

Refactor MCP server initialization to include capabilities configurat…#1

Open
jasonpaulso wants to merge 1 commit intoebailey78:mainfrom
jasonpaulso:main
Open

Refactor MCP server initialization to include capabilities configurat…#1
jasonpaulso wants to merge 1 commit intoebailey78:mainfrom
jasonpaulso:main

Conversation

@jasonpaulso
Copy link

The change aligns the code with the MCP SDK's API requirements for version 0.5.0
The Server constructor requires both server info and capabilities to be provided at initialization time
The previous approach using a separate registerCapabilities method doesn't exist in the SDK
This change fixes the initialization process, allowing the server to properly advertise its capabilities to clients

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