High-risk tools in MCP Coding Agents
4 of the 7 tools in MCP Coding Agents are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
claude_code_queryExecuteExecute a Claude Code query with real-time message streaming
-
codex_queryExecuteExecute a query using the Codex CLI tool with real-time streaming
-
execute_commandExecuteExecute a shell command synchronously and return its output
-
gemini_queryExecuteExecute a query using the Gemini CLI tool
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.