This record as markdown: /tools/7836246-claude-team-mcp/code-review.md
What code_review does on Claude Team MCP
AI agents call code_review to retrieve information from Claude Team MCP without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why code_review is rated Low
This tool performs code analysis and review, which is fundamentally a read-only operation. It retrieves and examines code to provide expert feedback, but does not create, modify, delete, or execute any code. The collaborative nature of the tool does not change its underlying function—it remains an informational/analytical capability with no side effects on the actual codebase.
From the tool's definition Tool name 'code_review' with description '让专家审查代码' (Let experts review code). Code review is an analytical, non-mutating operation that examines and provides feedback on code without modifying the codebase or executing code.
Attacks that exploit this kind of access
The rule that runs code_review safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Claude Team MCP, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For code_review, this is the rule to start with:
code_review is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Claude Team MCP, apply this rule, and every code_review call is checked against it from then on.
Questions about code_review
让专家审查代码. It is categorised as a Read tool in the Claude Team MCP MCP Server, which means it retrieves data without modifying state.
Register the Claude Team MCP server in PolicyLayer and add a rule for code_review: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Claude Team MCP. Nothing to install.
code_review is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the code_review rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for code_review. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
code_review is provided by the Claude Team MCP server (7836246/claude-team-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Claude Team, and thousands of servers like it.
This server
Across the catalogue