-
Notifications
You must be signed in to change notification settings - Fork 222
docs: document resources #505
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments. If you want to merge this as-is and let me address in a follow up, I'm fine with that.
## Resources | ||
|
||
<!-- TODO --> | ||
In MCP terms, a _resource_ is some data referenced by a URI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link resource to MCP docs (or leave it to me--I'll get it in a polishing pass).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left to you
[`ResourceHandler`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/mcp#ResourceHandler) | ||
maps a URI to the contents of a resource, which can include text, binary data, | ||
or both. | ||
If `AddResource` or `AddResourceTemplate` is called before a server is connected, the server will have the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete
No description provided.