Skip to content

Added support for Model Context Protocol #8480

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

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

glen-84
Copy link
Collaborator

@glen-84 glen-84 commented Jul 31, 2025

Summary of the changes (Less than 80 chars)

  • Added support for Model Context Protocol.

Closes #8197


📃 To-do:

  • Fix the required property for output schemas (⛔ waiting for new "IsDirectConditional" or similar API).
  • Endpoint routing "MapGraphQLMcp". (⛔ waiting for forked packaged)
  • OperationCompiler object pool (?). (⛔ waiting to discuss)
  • Add additionalProperties: true/false to input schema. (⛔ waiting to discuss access to InputParserOptions)
  • Output schema.
  • Validate documents against schema. (⛔ waiting to discuss location and error handling)
  • Send tools/list_changed notification. (⛔ waiting for forked packaged)
  • Add tests for string patterns.
  • Auth
  • $list: [String!]! # = ["default"] FIXME: The validation might be broken.
  • FIXME: It should not be necessary to provide this variable.
  • Documentation
  • FIXME: Treating all unknown scalar types as strings is a temporary solution.
  • Add support for decimal and long types serialized as strings.

❓ Questions

  • Is GetGraphQLType correct? Is there another way to do this?

📝 Notes

  • I've made the format of the TimeSpanType public so that this information can be accessed externally.
  • File input is not supported. This requires additional planning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Model Context Protocol
1 participant