-
Notifications
You must be signed in to change notification settings - Fork 728
feat: Adds optional _meta to request input forms. #514
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for the PR. I had a couple minor comments, and it also looks like there is a linting error in the CI.
@@ -108,6 +108,7 @@ export function useConnection({ | |||
schema: T, | |||
options?: RequestOptions & { suppressToast?: boolean }, | |||
): Promise<z.output<T>> => { | |||
console.log("makeRequest:", request); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you remove this extra log?
console.log("makeRequest:", request); |
@@ -841,18 +890,19 @@ const App = () => { | |||
tools={tools} | |||
listTools={() => { | |||
clearError("tools"); | |||
listTools(); | |||
listTools(); // TODO: Pass meta from ToolsTab if MetaEditor is added there |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this TODO still applicable?
Hi @mbleigh curious if you are still planning to update this PR, or should I close it for now? |
OK sounds good @FelixBaum ! If you'd like to discuss details related to this implementation feel free to check out the Discord server mentioned in this post: https://blog.modelcontextprotocol.io/posts/2025-07-31-governance-for-mcp/ |
Sorry folks, I've been very busy lately and haven't had time to come back
to this. I can try to get back to it in the next few days.
…On Tue, Aug 5, 2025, 5:20 AM Ola Hungerford ***@***.***> wrote:
*olaservo* left a comment (modelcontextprotocol/inspector#514)
<#514 (comment)>
OK sounds good @FelixBaum <https://github.com/FelixBaum> ! If you'd like
to discuss details related to this implementation feel free to check out
the Discord server mentioned in this post:
https://blog.modelcontextprotocol.io/posts/2025-07-31-governance-for-mcp/
—
Reply to this email directly, view it on GitHub
<#514 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAH7SEBXRMOIQP3LXWW2L3MCORRAVCNFSM6AAAAAB7N3XO3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNJUHE4DQNJVG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Motivation and Context
The inspector currently has no mechanism of sending
_meta
information which means it can't be used to inspect/debug custom metadata uses.How Has This Been Tested?
I've tested this out with my custom MCP server that depends on certain
_meta
keys and it seems to work well.Example screenshots:
Breaking Changes
No breaking changes.
Types of changes
Checklist
Additional context
modelcontextprotocol/modelcontextprotocol#710