Skip to content

add simple resource example#49

Merged
dsp-ant merged 1 commit into
mainfrom
davidsp/simple-resource
Nov 12, 2024
Merged

add simple resource example#49
dsp-ant merged 1 commit into
mainfrom
davidsp/simple-resource

Conversation

@dsp-ant

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

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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