#MCP
9 articles
-
Auto-approve MCP tools in Claude Code permissions: the mcp__ syntax and its wildcard limits
Put mcp__server or mcp__server__tool in permissions.allow to stop the prompts, why an allow wildcard needs an mcp__<server>__ prefix, and why parenthesised mcp__ rules are skipped.
-
Adding MCP servers to Claude Code, claude mcp add, .mcp.json, scopes and passing tokens from the environment
claude mcp add for stdio and HTTP servers, the local / project / user scopes and which wins a name clash, .mcp.json with ${VAR} tokens, the approval prompt, checks and permissions.
-
Gemini CLI v0.63 fixes the cannot spawn diff error and negative output truncation
Every one of the 15 changes in Gemini CLI v0.63.0 is a fix. The removed Git diff.external override, truncation that inflated output at negative maxChars, and the MCP config fix.
-
Codex CLI v0.158: MCP OAuth client secrets and approval for elevated commands
What changed in Codex CLI v0.158.0: MCP servers that need pre-registered OAuth client secrets, terminal approval on by default for elevated commands, and the sandbox fixes.
-
Sign in to a remote MCP server in Claude Code: /mcp and claude mcp login
Add a remote server with claude mcp add --transport http, then sign in from /mcp or with claude mcp login. Covers fixed callback ports, pre-registered client IDs and re-auth.
-
enabled_tools and disabled_tools: expose only some MCP tools to Codex (timeouts default to 10 s and 60 s)
In [mcp_servers.<id>] use enabled_tools to allow only listed tools, disabled_tools to block, startup_timeout_sec (default 10), tool_timeout_sec (default 60) and the approval mode.
-
Add an MCP server to Codex CLI: the [mcp_servers] block in config.toml
Connecting MCP servers to Codex CLI: the [mcp_servers.<name>] block in config.toml, passing tokens through environment variables, and debugging a server that will not connect.
-
Add an MCP server to Gemini CLI: mcpServers in settings.json
Connecting MCP servers to Gemini CLI: the mcpServers block in settings.json, user versus project scope, passing tokens through the environment, and the trust key.
-
Five MCP servers worth installing first (Claude Code, Codex, Gemini CLI)
Five MCP servers that pay off immediately in all three coding agents, what each is for, the install command, and why installing too many costs you context on every request.