Replies: 2 comments 5 replies
-
|
This looks like a real boundary issue rather than just a docs misunderstanding. If the server advertises or accepts tools outside the configured allowlist in http mode, then tool scoping is not actually enforceable at the transport boundary, which defeats a big part of the safety story. |
Beta Was this translation helpful? Give feedback.
-
|
@dahera you need to use the header configuration (mentioned in the remote server documentation). In http mode the server respects configuration per user that connects, not a global configuration for the whole server like STDIO. Add headers like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been running GitHub MCP Server in
httpmode identifying tools and toolsets in 2 different way but server does not limit the client from using tools outside those defined.docker run --rm -p 8082:8082 -e GITHUB_TOOLS="tool`,tool2" -e GITHUB_TOOLSETS="toolset1,toolset2" ghcr.io/github/github-mcp-server:0.32.0 httpdocker run --rm -p 8082:8082 ghcr.io/github/github-mcp-server:0.32.0 http --tools "tool`,tool2" --toolsets "toolset1,toolset2"Expected result: MCP Clients will only be able to use tools listed.
Actual result: MCP Clients are able to use all tools.
Beta Was this translation helpful? Give feedback.
All reactions