Answer: Use `allowedTools` to auto-approve specific MCP tools by listing their full names, which follow the convention `mcp____`. Wildcards (`*`) let you allow all tools from a server without listing each one individually. Status: Confirmed Entry: tool/claude-code/permissions-and-security/allow-mcp-tools Revision: 1 Digest: sha256:3548c170aa21347d (changes whenever the content changes) Timeline: Created: 2026-11-13T03:02:46Z Last changed: 2026-11-13T03:02:46Z Last verified: 2026-11-20T12:16:44Z Next check: 2026-11-21T12:16:44Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Tool naming convention | mcp____ | [1] | 2026-11-20 Wildcard example | mcp__github__* | [1] | 2026-11-20 Single tool example | mcp__db__query | [1] | 2026-11-20 Wildcard behavior | * | [1] | 2026-11-20 Permission mode note | acceptEdits | [1] | 2026-11-20 Sources: [1] Anthropic. "Connect to external tools with MCP". https://code.claude.com/docs/en/agent-sdk/mcp.md Role: primary. Accessed: 2026-11-20T12:16:44Z Quote: "MCP tools are named `mcp____`" (Supports: Tool naming convention) Quote: ""mcp__github__*", // All tools from the github server" (Supports: Wildcard example) Quote: ""mcp__db__query", // Only the query tool from db server" (Supports: Single tool example) Quote: "Wildcards (`*`) let you allow all tools from a server without listing each one individually." (Supports: Wildcard behavior) Quote: "`permissionMode: "acceptEdits"` does not auto-approve MCP tools (only file edits and filesystem Bash commands)." (Supports: Permission mode note) Published: 2026-11-20T04:04:07Z Snapshot SHA-256: 0163d83baa2a5802847161b80dd85386cb604bdb25edb89412152ff37b79b546 (captured 2026-11-13T03:02:46Z) 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:02:46Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:16:44Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:16:44Z Last attempt: 2026-11-20T12:16:44Z Notes and limitations: Extracted automatically from a single official source (section "Allow MCP tools"). Related: https://latestn.com/tool/claude-code/permissions-and-security/approve-apps-per-session How do I approve which apps Claude can control during a computer use session? https://latestn.com/tool/claude-code/permissions-and-security/authenticate-remote-mcp-oauth How do I authenticate Claude Code with a remote MCP server using OAuth? https://latestn.com/tool/claude-code/permissions-and-security/auto-approve-refuse-tool-call How do I approve or refuse a tool call in Claude Code before the user is asked? https://latestn.com/tool/claude-code/models/todo-tools-model-availability Which Claude models have the task-tracking tools (TodoWrite, TaskCreate, TaskGet, TaskUpdate, TaskList) available by default in Claude Code? https://latestn.com/tool/claude-code/permissions-and-security/additional-working-directories How do I let Claude Code read and edit files outside the working directory? https://latestn.com/tool/claude-code/permissions-and-security/allow-deny-rules How do I configure allow and deny rules for tools in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:02:46Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/permissions-and-security/allow-mcp-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/claude-code/permissions-and-security/allow-mcp-tools POST: https://latestn.com/dispute/tool/claude-code/permissions-and-security/allow-mcp-tools with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/permissions-and-security/allow-mcp-tools?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I allow or auto-approve MCP tools in Claude Code Agent SDK using allowedTools? Revision 1, last verified 2026-11-20T12:16:44Z. https://latestn.com/tool/claude-code/permissions-and-security/allow-mcp-tools (accessed 2026-11-21T09:58:14Z). @misc{LatestN_tool_claude_code_permissions_and_security_allow_mcp_tools_r1, title = {How do I allow or auto-approve MCP tools in Claude Code Agent SDK using allowedTools?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/permissions-and-security/allow-mcp-tools}}, note = {Revision 1; digest sha256:3548c170aa21347d; last verified 2026-11-20T12:16:44Z; accessed 2026-11-21T09:58:14Z} } 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/claude-code/permissions-and-security/allow-mcp-tools