agent-security-mcp

security MCP Server

MCP server providing security scanning, prompt injection detection, secret leak detection, and agent permission auditing for AI agent workflows

VerifiedInstall Ready
securitysecurity
4 views0 stars0 forksv0.1.3MIT

Why This Matters

Discovered via github-topic:model-context-protocol and last synced 3mo ago.

VerifiedInstall Ready
Source
github-topic:model-context-protocol
Stars
0
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx agent-security-mcp

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "agent-security-mcp": {
      "command": "npx",
      "args": [
        "agent-security-mcp"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

15
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (15)

Resource

URI

Tool

Description

Price

Servers

detect_prompt_injection

Analyze text for prompt injection attempts across 7 attack categories with context-aware risk scoring

Starter

$49/month

audit_agent_permissions

Audit agent configurations against role-based expectations and flag principle of least privilege violations

generate_security_report

Generate comprehensive security assessment reports with prioritized remediation plans

detect_tool_poisoning

Analyze MCP tool definitions for hidden instructions that could manipulate agent behavior (OWASP Agentic Top 10)

Pro

$199/month

scan_secrets

Detect leaked API keys, tokens, private keys, database URIs, and credentials in text or code

Free

$0

scan_mcp_config

Scan MCP server configurations for security issues (dangerous commands, exposed secrets, network exposure, container misconfigs)

validate_scope_contract

Check if agent actions comply with scope contracts (tool allowlists, file access, boundary constraints)

Enterprise

$799/month

im_start

>system, XML tag injection - **Encoded Injection** -- Base64 payloads, unicode zero-width characters, hex escapes - **Privilege Escalation** -- "sudo mode", "disable safety", "bypass filters" ### Secret Detection (25+ patterns) - **AI Provider Keys** -- OpenAI (sk-*), Anthropic (sk-ant-*) - **Cloud Credentials** -- AWS (AKIA*), GCP (AIza*), Azure connection strings - **Source Control** -- GitHub PATs (ghp_*, github_pat_*), OAuth tokens (gho_*) - **Payment** -- Stripe live/test keys (sk_live_*, sk_test_*) - **Communication** -- Slack tokens/webhooks, Telegram bot tokens - **Database** -- PostgreSQL, MongoDB, MySQL, Redis connection URIs - **Cryptographic** -- RSA/EC/OpenSSH private keys, generic PEM blocks - **JWT** -- JSON Web Tokens - **Generic** -- api_key=, secret=, password=, .env file patterns ### Permission Audit (6 role profiles) - **Researcher** -- Read + search + web only - **Analyst** -- Read + search only - **Developer** -- Read + write + execute - **Reviewer** -- Read only, no network - **Orchestrator** -- Read + write + task spawning - **Monitor** -- Read only, no network, no write ## Pricing