Skip to content

Adapted MCP to Cursor's new version#122

Open
sanikolaev wants to merge 1 commit intomainfrom
issue-121
Open

Adapted MCP to Cursor's new version#122
sanikolaev wants to merge 1 commit intomainfrom
issue-121

Conversation

@sanikolaev
Copy link
Collaborator

No description provided.

…ponse logic

- Update McpResponse struct to require a non-optional ID for valid responses
- Refactor success and error constructors to remove Option from ID parameter
- Enhance error handling in McpServer to only respond to requests with valid IDs
- Introduce normalize_id function to convert null IDs to None, ensuring compliance with MCP protocol
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