Answer: Set `tools` to serve only the listed names, or `disallowedTools` to drop names; when both list a name, `disallowedTools` wins. A filter that matches nothing fails the turn unless `optional: true`, and adding `effects: "read"` keeps only the listed tools the server marks as reads. Status: Confirmed Entry: tool/cursor/integrations/filter-mcp-connection-tools Revision: 1 Digest: sha256:f9d7406249f8fdf2 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:49Z Last changed: 2026-11-13T03:08:49Z Last verified: 2026-11-20T12:33:41Z Next check: 2026-11-21T12:33:41Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of allow list | tools | [1] | 2026-11-20 deny list | disallowedTools | [1] | 2026-11-20 precedence | disallowedTools | [1] | 2026-11-20 advertise requirement | advertiseTools: true | [1] | 2026-11-20 empty filter behavior | optional: true | [1] | 2026-11-20 read-only filter | effects: "read" | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/reference/connections.md". https://cursor.com/docs/agent-sdk/reference/connections.md Role: primary. Accessed: 2026-11-20T12:33:41Z Quote: "Set `tools` to serve only the listed names" (Supports: allow list) Quote: "or `disallowedTools` to drop names" (Supports: deny list) Quote: "When both list a name, `disallowedTools` wins." (Supports: precedence) Quote: "a filter the model sees requires `advertiseTools: true`" (Supports: advertise requirement) Quote: "A filter that matches nothing fails the turn unless `optional: true`." (Supports: empty filter behavior) Quote: "Add `effects: "read"` to keep only the listed tools the server marks as reads." (Supports: read-only filter) Snapshot SHA-256: 7a720536fd16a29a8f0cd02cc6d76dd0b9407e05db0303c73d5c3cd7cf2a18f4 (captured 2026-11-13T03:08:49Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:49Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:33:41Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:33:41Z Last attempt: 2026-11-20T12:33:41Z Notes and limitations: Extracted automatically from a single official source (section "Filter connection tools"). Related: https://latestn.com/tool/cursor/integrations/generate-ed25519-key-pair How do I generate an Ed25519 key pair for a Cursor Origin app? https://latestn.com/tool/cursor/integrations/get-mirror-transition-job How do I check the status of a Cursor mirror transition job? https://latestn.com/tool/cursor/integrations/github-actions-setup How do I set up Cursor CLI in a GitHub Actions workflow? https://latestn.com/tool/cursor/integrations/detach-from-github How do I detach a Cursor Origin repo from GitHub? https://latestn.com/tool/cursor/integrations/disconnect-gitlab-self-hosted How do I disconnect my GitLab Self-Hosted connection from Cursor? https://latestn.com/tool/cursor/integrations/enable-bugbot-azure-devops How do I enable Bugbot for Azure DevOps repositories in Cursor? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:49Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/integrations/filter-mcp-connection-tools/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/integrations/filter-mcp-connection-tools POST: https://latestn.com/dispute/tool/cursor/integrations/filter-mcp-connection-tools with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/integrations/filter-mcp-connection-tools?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I filter which tools an MCP connection exposes in Cursor's Agent SDK? Revision 1, last verified 2026-11-20T12:33:41Z. https://latestn.com/tool/cursor/integrations/filter-mcp-connection-tools (accessed 2026-11-21T09:59:58Z). @misc{LatestN_tool_cursor_integrations_filter_mcp_connection_tools_r1, title = {How do I filter which tools an MCP connection exposes in Cursor's Agent SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/integrations/filter-mcp-connection-tools}}, note = {Revision 1; digest sha256:f9d7406249f8fdf2; last verified 2026-11-20T12:33:41Z; accessed 2026-11-21T09:59:58Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/integrations/filter-mcp-connection-tools