Replies: 2 comments 1 reply
-
Hi @cliffhall I copied this as a feature request issue to the inspector repo for a little more visibility when people are looking for issues to pick for for inspector: modelcontextprotocol/inspector#166 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Closing since this was merged into 0.6.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Your Idea
Feature Request
Add functionality to MCP Inspector for subscribing to a resource.
Exposing a Dynamic Resource
I have an SSE-based MCP that exposes a dynamic resource - finite state machines (called puzzles).
From the MCP Inspector, I can list the resources, and I can use the resource template to enter a puzzleId and get a snapshot of the puzzle. So far so good.
Subscribing to Changes
I want to allow clients to subscribe to to a given puzzle so that they can be updated with a server-sent event when its state changes.
Server-side
Examples are clear.
mcp-servers/everything
example shows how to accept subscribe and unsubscribe requests.Client-side
There is no affordance in the the reference client - the MCP Inspector - for subscribing to a resource.
When a resource is selected, there is a refresh button. It seems like an obvious place for a companion toggle button:
Subscribe
|Unsubscribe
. It would send a subscribe or unsubscribe request to the server.Scope
Beta Was this translation helpful? Give feedback.
All reactions