Shield Kya vs Semgrep

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

Shield Kya logoShield KyaSecurity · Local subprocess (stdio)KYA MCP gate: evaluate, ingest, request approval. Sole PEP is Shield.55GoodAuth: not declaredSemgrep logoSemgrepSecurity · Local subprocess (stdio)Scan code for security vulnerabilities using Semgrep.48FairAuth: no auth required

Verdict: choose Shield Kya for security work as a local process; 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?

Shield Kya logoChoose Shield Kya when

  • You need dedicated capabilities in the Security domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: KYA_API_KEY, KYA_OFFLINE, KYA_DIFF_PREVIEW, KYA_GATE.
  • You want tools like kya.policy_evaluate, kya.session_ingest, kya.request_approval.
Explore Shield Kya

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.

SpecShield Kya logoShield KyaSemgrep logoSemgrep
CategorySecuritySecurity
Quality signal55/100 · Good48/100 · Fair
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNo auth required
PricingNot declaredFree
Required env varsKYA_API_KEYKYA_OFFLINEKYA_DIFF_PREVIEWKYA_GATENone listed
Verified ownerCommunity listingCommunity listing
GitHub stars117,186
Directory activity 0 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
Tools3Not listed

Tools & capabilities

Shield Kya tools 3

  • kya.policy_evaluateALLOW` \
  • kya.session_ingestObserve / raise-only risk
  • kya.request_approvalOpen a human Hold. Does not execute the side effect

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.

Shield Kya

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "shield-kya": {
      "command": "npx",
      "args": [
        "-y",
        "@shield-agent/kya@latest"
      ],
      "env": {
        "KYA_API_KEY": "YOUR_KYA_API_KEY_HERE",
        "KYA_OFFLINE": "YOUR_KYA_OFFLINE_HERE",
        "KYA_DIFF_PREVIEW": "YOUR_KYA_DIFF_PREVIEW_HERE",
        "KYA_GATE": "YOUR_KYA_GATE_HERE"
      }
    }
  }
}

Semgrep

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

Frequently asked questions

Shield Kya is categorized under Security and uses a local stdio subprocess. Semgrep belongs to Security and uses a local stdio subprocess. Pick Shield Kya 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.

Shield Kya 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 shield-kya and semgrep-semgrep as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Shield Kya has a quality signal of 55/100 (Good) with 0 views, 0 installs and 1 GitHub stars. Semgrep has 48/100 (Fair) with 1 views, 0 installs and 17,186 GitHub stars.