MCP Security Reviewer
Agent Buildingmcp-security-reviewerMCP Security Reviewer is an Agent Skill for agent building published in the oxbshw/LLM-Agents-Ecosystem-Handbook repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use before connecting a new MCP server to your agent — produces a structured security review covering source, permissions, tools, network, and approvals.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/oxbshw/LLM-Agents-Ecosystem-Handbook/blob/HEAD/skills/examples/mcp-security-reviewer/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mcp-security-reviewer, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
MCP Security Reviewer
When to use
- A new MCP server is being added to an agent
- An MCP server version is being bumped
- An incident triggered a re-review
Inputs
| Name | Type | Required | Notes |
|---|---|---|---|
repo_url | string | yes | the MCP server's source |
version | string | yes | tag or commit SHA being adopted |
intended_use | string | yes | one paragraph: what we'll let it do |
Workflow
- Source review: clone at the pinned version; check for unexpected files / scripts
- Capabilities: list every tool and resource exposed; map to risk levels (
references/mcp-risk-matrix.md) - Network: identify outbound endpoints; document and assess each
- Permissions: minimum required scopes / tokens; document over-permissions
- Output handling: confirm the agent treats tool output as untrusted (sanitization, no execution)
- Approvals: define which tools require human approval
- Produce filled
MCP_SERVER.mdinmcp/<server>.md
References
Success criteria
- All tools labelled by risk
- High/Critical tools gated by approval
- Pinned version (no
latest/ floating refs) - Documented network egress
Failure modes
- Source unavailable / un-pinnable → reject
- Discovered hidden tool not in docs → reject and report upstream