Client Side Tool Execution #218
andrewlayer
started this conversation in
Ideas - General
Replies: 0 comments
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
One of my favorite MCP features—one that no one else currently supports—is sampling. When I was building VSCode extensions using their Chat API, they had a similar concept: extensions could initiate inference using the client user’s own LLM API token. MCP’s sampling feature works in a comparable way.
Lately, I’ve been thinking about a related feature, but instead of LLM inference, it is tool execution.
The concept is this: during the MCP server’s initiation phase, the client (the one opening the connection) declares the tools it has available. The server could then issue
ClientToolExecutionnotifications, effectively asking the client to execute tools on the server's behalf. This is particularly interesting in cases like Cursor, where the client already includes powerful built-in tools—like CLI access or file search. Rather than replicating those in a local MCP server, it would be ideal to simply leverage what the client already provides.Pros:
Cons:
Scope
Beta Was this translation helpful? Give feedback.
All reactions