Skip to content

add simple resource example #49

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

Merged
merged 1 commit into from
Nov 12, 2024
Merged

add simple resource example #49

merged 1 commit into from
Nov 12, 2024

Conversation

dsp-ant
Copy link
Member

@dsp-ant dsp-ant commented Nov 12, 2024

No description provided.

@dsp-ant dsp-ant force-pushed the davidsp/simple-resource branch from 3a7003e to e176644 Compare November 12, 2024 14:29
Comment on lines +24 to +28
SAMPLE_RESOURCES = {
"greeting": "Hello! This is a sample text resource.",
"help": "This server provides a few sample text resources for testing.",
"about": "This is the simple-resource MCP server implementation.",
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bonus points: actually put these on disk alongside the server code 😄

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or serve the code itself :P

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll follow up potentially, for now i'd just love to get it in and focus on all the other parts of the code that needs work on.

@dsp-ant dsp-ant merged commit 8ab0257 into main Nov 12, 2024
5 checks passed
@dsp-ant dsp-ant deleted the davidsp/simple-resource branch November 12, 2024 15:14
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.

2 participants