mcp-implementation-security-review

Review MCP server and client source code against security baselines and the OWASP MCP Top 10.

38.5k|4.9k|Updated Jun 11, 2025
One-click install
npx skills add https://github.com/github/awesome-copilot --skill mcp-implementation-security-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-implementation-security-review
Source: https://github.com/github/awesome-copilot/tree/main/skills/mcp-implementation-security-review
Command: npx skills add https://github.com/github/awesome-copilot --skill mcp-implementation-security-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MCP servers and clients often ship without systematic security review, leaving gaps in authentication, session handling, rate limiting, input validation, and RCE-prone tool handlers. This Skill audits MCP implementation source code against a defined security baseline and produces an evidence-backed compliance report with file/line references.

Core Features & Use Cases

  • Baseline Control Checks: Evaluates five controls (MCP-01 to MCP-05) covering identity isolation, sessions, rate limiting, schema validation, and official SDK usage for network-exposed servers.
  • RCE Vector Analysis: Checks seven RCE vectors including command injection, dynamic code evaluation, unsafe deserialization, path traversal, SSTI, dependency hijacking, and SSRF.
  • OWASP MCP Top 10 Coverage: Scores all ten OWASP MCP risks with PASS, FAIL, or NEEDS INVESTIGATION statuses.
  • Use Case: Before releasing an MCP server, ask for a security review to receive a structured report classifying transport exposure, filtering false positives, and listing manual follow-ups with file/line evidence.

Quick Start

Review this MCP server implementation for security issues and produce a compliance report with file and line evidence.

Frequently Asked Questions about mcp-implementation-security-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review an MCP server for security vulnerabilities?

Run a structured review that classifies the transport as network-exposed or local, checks baseline controls MCP-01 through MCP-05, analyzes seven RCE vectors, and scores the OWASP MCP Top 10. The output is a compliance report with file/line evidence for each finding.

What security controls should an MCP server implement?

Network-exposed MCP servers need per-request authentication with identity isolation, CSPRNG-generated session IDs that never act as credentials, runtime rate limiting keyed by identity, server-side input schema validation, and an official MCP SDK. Local STDIO servers receive best-practice guidance instead of hard pass/fail scoring.

Does this review apply to STDIO or local MCP servers?

Yes, but local STDIO servers are not scored PASS/FAIL on the five network baseline controls; they receive best-practice notes instead. RCE vector analysis still applies because tool input can execute locally, and network-dependent OWASP risks are marked N/A.

What RCE vectors are checked in MCP tool handlers?

Seven vectors are checked: command injection, dynamic code evaluation, unsafe deserialization, path traversal, server-side template injection, dependency hijacking, and SSRF. Each is marked SAFE, AT RISK, or N/A based on direct code evidence with test payloads and CWE references.

Why are some findings marked NEEDS INVESTIGATION?

Findings are marked NEEDS INVESTIGATION when compliance depends on evidence not visible in source code, such as deployment configuration, identity provider state, or SDK-managed session generation. The report lists these as manual follow-ups naming the artifact needed to verify them.