Where does the bug appear (feature/product)?
Cursor IDE, MCP Apps
Describe the Bug
Tools marked as app-only in an MCP server are still loaded into the agent’s tool list. Per the MCP Apps spec, a tool with _meta.ui.visibility set to [“app”] should be callable only from the app UI and hidden from the model. Cursor currently shows and exposes all of them to the agent.
The server returns the metadata correctly (verified with MCP Inspector):
“_meta”: { “ui”: { “visibility”: [“app”] } }
In our case it’s set from the C# SDK:
[McpMeta(“ui”, JsonValue = “”“{“visibility”:[“app”]}”“”)]
Steps to Reproduce
Connect an MCP server that has a tool with _meta.ui.visibility: [“app”]
Open Agent chat and check the tools list
The app-only tool appears and the agent can call it
Expected Behavior
App-only tools are filtered out of the agent’s tool list but still callable from the MCP App iframe via tools/call.
Why it matters
We build Nonica, an MCP connector for Autodesk Revit. Some tools exist only to power interactive UI (editable tables, click-to-select in the model). Exposing them to the agent adds noise to the tool list, eats into the tool budget and occasionally gets the model calling things it shouldn’t. Hosts that honor visibility give a much cleaner experience.
Operating System
W10
Happy to share a test server if it helps reproduce.
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue
The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!
Hi @NonicaTeam, thanks for the clear repro. You’re right: Cursor currently passes tools marked with _meta.ui.visibility: ["app"] through to the agent instead of keeping them for the MCP App UI only. The metadata on your side looks correct.
I’ve passed this to the team! There isn’t a clean workaround right now, since turning those tools off in Cursor Settings would likely also stop your widgets from calling them.