Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add explicit MUST NOT for notification response #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chr-hertel
Copy link

@chr-hertel chr-hertel commented Mar 2, 2025

Rephrasing the sentence about Notification response. According to JSON RPC spec the server MUST NOT send a response.

Motivation and Context

I'm currently working on an SDK and was a bit confused about the wording here, but the original JSON RPC spec helped: https://www.jsonrpc.org/specification#notification

How Has This Been Tested?

not applicable?

Breaking Changes

This is only about being more explicit in the docs - I don't think this is a breaking change.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

According to JSON RPC spec the server MUST NOT send a response:
https://www.jsonrpc.org/specification#notification
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