Agentguard vs Semgrep

A side-by-side look at the Agentguard and Semgrep MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Agentguard logoAgentguardSecurityAgentGuard — 20-tool AI safety MCP: policy preflight, risk scoring, audit logging, rate limits.39FairAuth: not declaredSemgrep logoSemgrepSecurity · Local subprocess (stdio)Scan code for security vulnerabilities using Semgrep.48FairAuth: no auth required

Verdict: choose Agentguard for security work; choose Semgrep for security as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Agentguard logoChoose Agentguard when

  • You need dedicated capabilities in the Security domain.
  • You want tools like policy_preflight, tool_risk_score, approval_required.
Explore Agentguard

Semgrep logoChoose Semgrep when

  • You need dedicated capabilities in the Security domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
Explore Semgrep

Feature & specification comparison

Rows where the two servers differ are marked.

SpecAgentguard logoAgentguardSemgrep logoSemgrep
CategorySecuritySecurity
Quality signal39/100 · Fair48/100 · Fair
Install commandNot confirmed yetConfirmed
Transport—Local subprocess (stdio)
AuthNot declaredNo auth required
PricingNot declaredFree
Required env varsNone listedNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars017,199
Directory activity 2 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
Tools7Not listed

Tools & capabilities

Agentguard tools 7

  • policy_preflightPre-flight check before any tool call. Evaluates 7 policies, computes risk score, detects threats, auto-logs. Returns `allowed`/`denied`/`require_approval`/`flagged`.
  • tool_risk_score0-100 risk score for tool + input. Detects secrets (API keys, passwords), prompt injection, high-value amounts. `eth_gas`→5, `payment_execute`→95+.
  • approval_requiredCheck if tool needs human approval. Optionally registers a pending approval request with tracking URL.
  • audit_log_writeWrite tool execution to persistent, cryptographically-signed audit log (SQLite WAL). Call after execution to record outcome.
  • audit_log_queryQuery audit trail. Filter by agent, tool, decision, time range. Paginated. Returns signed entries for tamper verification.
  • decision_explainHuman-readable explanation of any allow/deny decision. Pass `request_id` for stored entry or `tool_name` + `tool_args` for fresh analysis.
  • rate_limit_checkCheck agent rate limits: 200/min, 5000/hr, 50000/day. Returns per-window usage with percentage.

Semgrep tools

No tool names declared yet. Check the project README from the listing page.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Agentguard

No confirmed install command for Agentguard yet — follow the setup steps linked from its listing page rather than a guessed package name.

Semgrep

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "semgrep-semgrep": {
      "command": "uvx",
      "args": [
        "semgrep"
      ]
    }
  }
}

Frequently asked questions

Agentguard is categorized under Security and uses an install path we have not confirmed yet. Semgrep belongs to Security and uses a local stdio subprocess. Pick Agentguard for security work and Semgrep for security.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client. Agentguard has no confirmed install command yet — follow its own setup instructions.

Agentguard has no declared pricing — check the project's own site. Semgrep is listed as free. Auth: no auth required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add agentguard-2 and semgrep-semgrep as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Agentguard has a quality signal of 39/100 (Fair) with 2 views, 0 installs and 0 GitHub stars. Semgrep has 48/100 (Fair) with 1 views, 0 installs and 17,199 GitHub stars.