Everything MCP Embedded Resource Prompt
Reference MCP prompt that places a generated text or blob resource into a user-message sequence for client integration testing.
About this listing
The resource-prompt component in the Everything MCP server demonstrates how a prompt can return embedded resource content instead of text alone. It accepts resourceType and resourceId, chooses the corresponding dynamic text or blob resource, and returns an introductory user message followed by a user message containing that resource.
The implementation checks that the type is supported and that the identifier converts to a finite positive integer. Client developers can use it to understand resource-bearing prompt responses and test their own rendering or model-context assembly. It is a protocol example, not a production data service or a promise of useful source data.
The server code is available under the MIT License. Free applies to the example code; running infrastructure and any separately connected model services may carry their own charges.