mcp-server-security-scanner
v1.1.4Scan MCP configs for 30+ CVEs, prompt injection, tool poisoning; validate OAuth configs
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_config Scan MCP Configuration
Scans an MCP configuration file (claude_desktop_config.json, .mcp.json, etc.) for security vulnerabilities including hardcoded secrets, excessive permissions, insecure transports, missing authentication, and known vulnerable server versions.
| Parameter | Type | Description |
|---|---|---|
configPath * | string | Absolute or relative path to the MCP configuration file to scan (e.g. ~/.claude/claude_desktop_config.json) |
scan_tool_definitions Scan Tool Definitions
Analyzes MCP tool definitions for security vulnerabilities including prompt injection vectors, tool poisoning patterns, overly broad filesystem access, command injection risks, and data exfiltration patterns.
| Parameter | Type | Description |
|---|---|---|
tools * | array | Array of tool definition objects to scan |
check_cves Check Known CVEs
Checks a list of MCP server names and optional versions against a database of known CVEs in the MCP ecosystem (covering path traversal, SSRF, auth bypass, prompt injection, data exfiltration, command injection, and SQL injection). Returns matching CVEs with severity, CVSS scores, and remediation steps.
| Parameter | Type | Description |
|---|---|---|
servers * | array | List of MCP servers to check for known CVEs |
listAll | boolean | If true, returns the full CVE database instead of checking specific servers |
validate_auth Validate Authentication Configuration
Validates OAuth 2.1, API key, or bearer token authentication configuration for an MCP server. Checks for proper PKCE usage, token storage security, redirect URI validation, token expiration settings, and overall auth best practices.
| Parameter | Type | Description |
|---|---|---|
authConfig * | object | Authentication configuration object to validate. OAuth fields can be nested under 'oauth' or provided at the top level in camelCase or snake_case. |
generate_report Generate Security Report
Generates a comprehensive security report from scan results. Includes an executive summary with overall risk score (0-100), detailed findings with remediation steps, and a SOC 2 compliance checklist. Output is Markdown-formatted.
| Parameter | Type | Description |
|---|---|---|
authValidation | object | Results from validate_auth |
configScan | object | Results from scan_config |
cveCheck | object | Results from check_cves |
findings | array | Direct array of findings to report on. Use this as a simple alternative to passing structured scan results. If provided alongside structured results, these findings are merged in. |
toolScan | object | Results from scan_tool_definitions |