mcp-risk-review

mcp-risk-review is a skill for Claude Code from yeaight7/agent-powerups. It costs 57 tokens per session (758 once invoked), scanned A, original, Apache-2.0.

A security review workflow for checking an MCP server before an AI agent is allowed to run it. MCP is a way for an agent to connect to outside tools such as filesystems, networks, or credentials.

In plain words
What is it for?
Use it before enabling, upgrading, or accepting a third-party MCP server, and when its transport, credentials, or available tools change.
Why use it?
It helps find unsafe commands, network exposure, credentials, and overly broad tool access before the server can affect the session. This avoids relying on a review after something has already gone wrong.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the security-guardrails plugin — 5 skills, 1 agent shipped together

Good fit Use it before enabling, upgrading, or accepting a third-party MCP server, and when its transport, credentials, or available tools change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yeaight7/agent-powerups/mcp-risk-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yeaight7/agent-powerups --skill mcp-risk-review
Clone the repo
git clone --depth 1 https://github.com/yeaight7/agent-powerups

Made for: Claude Code.

Or install security-guardrails, the plugin that ships this one along with the rest of its 5 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-risk-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/yeaight7/agent-powerups/mcp-risk-review/github.svg)](https://agentmods.dev/skills/yeaight7/agent-powerups/mcp-risk-review)
Your own site
<a href="https://agentmods.dev/skills/yeaight7/agent-powerups/mcp-risk-review"><img src="https://agentmods.dev/badge/skills/yeaight7/agent-powerups/mcp-risk-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-risk-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/yeaight7/agent-powerups/mcp-risk-review"><img src="https://agentmods.dev/badge/skills/yeaight7/agent-powerups/mcp-risk-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 758 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00758
Opus 5.5 $0.00023 $0.00303
Sonnet 5.5 $0.00011 $0.00152
Haiku 4.5 $0.00006 $0.00076

Measured 1mo ago against content hash 664e6db81001, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-risk-review scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

rg -n 'npx -y|@latest|curl .*\| *sh' <config-file>
plugins/security-guardrails/skills/mcp-risk-review/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Triage the risk of an MCP server before it gains access to the session. An enabled server's tools execute with real filesystem, network, and credential reach; the review happens before enablement, not after the first incident.

When to Use

  • A staged MCP server config is a candidate for enabling
  • A third-party MCP server is proposed from outside the repo
  • An existing server entry changes transport, credentials, or tool surface
  • A long-enabled server is due a periodic re-review

For filesystem-server path boundaries in depth, continue with the filesystem-mcp-guardrails skill after this triage.

Inputs

  • The server config entry: command, args, env, transport
  • The server's declared tool list (from its manifest or a smoke run)
  • What the session can reach if the server misbehaves

Workflow

  1. Launch vector. Pinned, locally installed binaries beat remote latest-version execution:

    rg -n 'npx -y|@latest|curl .*\| *sh' <config-file>
    

    Unpinned remote execution is a P1 by default — the server reviewed today is not necessarily the server that runs tomorrow.

  2. Transport and exposure. A local stdio process is the conservative default. Network transports must answer: who can connect, is it loopback-only, is there authentication.

  3. Credentials and environment. Hardcoded secrets in the config are P0. Environment pass-through should name specific variables — never forward the whole environment.

  4. Tool surface. Enumerate the tools the server actually declares. Write, exec, and delete capabilities raise the bar; a read-only server with three tools is a different risk class from a shell-capable one with thirty.

  5. Scope boundaries. Paths bounded to the workspace, method filtering configured, timeouts set.

  6. Repo-native checks, then approval. For staged Agent Powerups configs, run the availability checks, then stop for explicit user approval before enabling:

    apx mcp check <name>
    apx mcp smoke <name>
    

Read the full file on GitHub · 71 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 71 lines · 57 tokens per session scan A 664e6db81001

Subscribe to this mod's changes

mcp-risk-review is a skill published in the GitHub repository yeaight7/agent-powerups (6 stars, last pushed 19d ago), licensed Apache-2.0. It adds 57 tokens to every session and 758 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-14.