Skip to main content
Glama
132,054 servers. Updated
Browse by product
20 Best Code Execution MCP Servers: compared and ranked, November 2026Ranked from 1,503 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"Executing code in a sandbox environment" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to call tools through a security gateway that intercepts requests, enforces deterministic policy and risk checks, blocks or escalates high-risk actions for human approval, and keeps tool credentials and audit logs protected.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Policy-driven MCP servers that split web fetching and code execution into isolated containers, preventing prompt injection and data exfiltration by ensuring neither can both execute code and reach the network.
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI coding agents to run Kubernetes inspection and Terraform plan/apply operations inside ephemeral gVisor-sandboxed jobs with short-lived, narrowly-scoped credentials, while routing destructive changes through a human approval gate.
    3
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to read, list, and write text files under declarative root and deny-pattern policies with canonical path confinement, hash-chained audit logging, dry-run writes, and undo of the latest write.
    1,205 npm
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    This MCP server provides secure access to databases for AI agents, enforcing authentication, authorization, human approval, logging, and notifications to prevent dangerous actions.
    -
  • A
    license
    A
    quality
    B
    maintenance
    Zero-trust PII & secret airlock for coding agents (reversible <TOKEN_N> file read/write sanitization, safe subprocess runner with stdout scrubbing, and 0.2ms Git pre-commit scanning via pure-ONNX GLiNER + regex).
    7
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to safely execute privileged commands by routing them to a human approver, who runs them outside the agent's context and returns the output to the model.
    5
    1
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables autonomous agents to run shell and subprocess commands through a guardrail that blocks destructive system mutations, path traversals, and reverse shells. It also adds prompt-injection detection, spend circuit breakers, loop detection, and privacy sanitization so agent execution stays within safe, budgeted bounds.
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Gives coding agents read-only access to an AI-SPM backend's flagged issues, inventory, and remediation guidance so they can fix the affected code, along with guardrail policies, LLM-interaction analytics, cost-optimization analyses, and red-teaming evaluation results.
    37
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides agent certification and trust verification tools for AI agents, enabling certification checks, trust score calculations, audit ticket issuance, and emergency kill switch activation through the A-SOC trust network.
    1 npm
    1
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI coding agents to submit proposed file writes for deterministic local validation before anything lands, checking scope, architecture, symbols, duplicates, dead code, behavior, secrets, and more. When a change is held, it returns a self-correction payload so the agent can fix and resubmit.
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    CodeSafer is an MCP server that scans AI-generated code for 9 categories of hidden security threats — including invisible Unicode, Trojan Source, homoglyphs, and rules file backdoors — using static analysis plus CodeBERT deep learning. Runs locally, free tier available.
    6
    59 npm
    1
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables pre-execution security checks and sandboxed execution for AI agent workflows, including prompt-injection detection, MCP rugpull and sampling abuse protection, untrusted tool-output sanitization, loop circuit breaking, SQL AST validation, PII redaction, and ephemeral Python execution.
    8
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Secret management MCP server for AI coding agents that prevents secrets from entering the LLM context window by returning metadata only and using side-channel injection. Integrates with Bitwarden and offers hooks for auto-capture and leak prevention.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude Code on Windows to see and control the desktop by opening apps, clicking, typing, scrolling, and taking screenshots, with per-app approvals, permission tiers, focus hiding, and an emergency stop.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server implementing the PAARA F1–F7 connector governance scoring method. Exposes three MCP tools over stdio — score_connector, lookup_connector, list_connectors — backed by a published 13-connector audit dataset. Stdlib-only Python, hand-rolled JSON-RPC; server code at mcp-server/paara_mcp_server.py in the repo, documented in the root README.
    2
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Drop-in stdio interceptor that gates MCP tools/call requests through a YAML policy (block / require_approval / audit / budget cap) before they reach the real server. The same policy file is reused by @jamjet/claude-code-hook and @jamjet/openai-guardrail, so one rule set covers Claude Desktop, Cursor, OpenAI Agents, and custom clients.
    3
    2
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    Supply-chain gate for AI agent skills and MCP servers: poison-scan tool definitions, hash-pin the vetted set into a lock file and verify drift in CI. truecopy-mcp is a drop-in stdio proxy that filters a live server's tools/list down to its pinned, unmodified, unpoisoned tools.
    2
    43 npm
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    GATE verifies whether an AI agent still has valid delegated authority at execution time. It provides live revocation checks, signed authority evidence, alternate delegation paths, and explicit ALLOW, DENY or UNKNOWN decisions. Integrates with MCP tools through a trusted effect-boundary guard. Open-source Developer Preview with Free sandbox and live network onboarding.
    2
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    Tamper-evident audit logging for AI decisions. Three tools (record_decision, verify_decision, list_decisions) write to a regulator-grade ledger built on AWS S3 Object Lock with 7-year retention. Designed for EU AI Act Article 12 and FCA SS1/23 evidence requirements. Try zero-config: npx audit-ledger-mcp boots in sandbox mode against a public hosted tenant.
    3
    67 npm
    1
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Guardian is the trust layer for agent commerce. guardian-mcp sits in front of your MCP servers: before a tool call runs, Guardian allows it, asks a person, or denies it, by rules the owner sets, with no AI in the decision. Fails closed. Signed records you can verify offline. Dollar limits on tools that spend money. Free plan: https://odingard.com/guardian
    3
    173 npm
    1
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    OS keychain secrets for AI coding agents, over MCP. Anchors credentials to the native vault (macOS Keychain, Linux Secret Service, Windows Credential Vault) and exposes them through 44 policy-governed tools: per-environment values, TTL, linked rotation, encrypted transfer bundles, redacted exec, and a tamper-evident audit log. Local-first, no cloud account.
    46
    471 npm
    6
    AGPL 3.0
  • A
    license
    A
    quality
    C
    maintenance
    Provides advisory AI-governance checks for MCP hosts and coding agents, enabling policy verdicts, PII masking, and audit traces before executing tool calls.
    3
    93 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enforces plain-English rules on AI agent tool calls, deterministically blocking forbidden actions before execution via a Claude Code hook and a check_action tool.
    1
    23 npm
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides real-time security risk assessment for AI coding prompts, analyzing potential dangers, blast radius, and complexity before code execution in Cursor.
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables an LLM agent to read from and propose changes to a financial ERP, executing writes only after human confirmation delivered through the channel, with role checks, risk tiers, audit logging, and a master kill-switch.
    10
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Lets an AI agent write, check and dry-run programs in Lugh, a language where permissions, budgets and human approval are part of the code. Programs run in a local sandbox and every action passes a policy gate.
    4
    5
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Local execution gate and stdio MCP proxy for AI agents, with tool policies, expiring leases, approvals and operator kill. Starts with two read-only setup tools; protection requires a trusted downstream server and private operator configuration. Not an OS sandbox. Apache-2.0.
    2
    6
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Open source input firewall for AI agents, in beta, packaged as an MCP server. A local scanner checks text, code, PDFs, images, QR codes, audio and video against a pattern library and reports findings and incomplete scans.
    3
    11
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    A man-in-the-middle MCP proxy that sits between Claude and an internal API, automatically masking sensitive banking data before returning to Claude.
    2
    -
  • A
    license
    A
    quality
    B
    maintenance
    Safety net for AI agents' shell commands: dangerous commands are held before they run, explained in one sentence, made reversible, and recorded in a tamper-evident log. Local-first.
    24
    1
    5
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Look up the A-D grade of any MCP server by name, package, Docker image, URL or repo, check every server in your MCP config, and find better-graded alternatives in the same category. Each grade is an assessment from public signals (login, upkeep, known CVEs, connection), not a code audit. All tools are read-only. Also available as a hosted server at trustedmcp.io/mcp.
    4
    73 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to monitor a Snapmaker U1, view its camera, upload G-code, and pause, resume, or cancel prints, while requiring human out-of-band approval before starting a print.
    9
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A security gate MCP server that audits agent extensions (skills, MCP servers, tools) by scanning for risks, adversarial analysis, and sandbox execution, returning a trust verdict of allow, quarantine, or block.
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Records and rewinds AI coding agents (Claude Code, Codex, Cursor, Gemini CLI and others) locally. Its tools take a checkpoint, show the session timeline, preview and apply a rewind with a confirm code, list the tests the agent ran and whether the code changed since, write a handoff, verify the hash-chained log, and check a tool call against your guardrails.
    7
    76 npm
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Enables local detection of protected health information in source code before it reaches LLM prompts, log statements, or analytics calls.
    2
    71 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Secrets vault for Claude Code. Encrypt API keys, tokens and passwords with AES-256. Full audit logs, MCP access rules, and zero-knowledge mode. Secrets never appear in chat.
    17
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables running AI coding agents and MCP servers inside an OS-level least-privilege sandbox that hides credentials and blocks network access by default, with tool firewalling, rug-pull protection, audit logging, and boundary verification.
    8
    2
    AGPL 3.0
  • A
    license
    A
    quality
    A
    maintenance
    Crash-tests your AI coding agent setup (Claude Code, Codex, Gemini CLI) against 20 traps modelled on real attacks, in a sealed container with fake keys, then hardens it. The MCP tools audit an agent's own setup locally and check its MCP servers against published vulnerabilities.
    3
    539 npm
    2
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Local MCP server for macOS that scans AI coding tool history (Claude Code, Cursor, Copilot, Cline, Codex, Gemini CLI) for leaked secrets. Finds API keys in chat transcripts, redacts with sieve:// placeholders, and runs commands with Keychain-injected secrets - no plaintext values ever returned.
    9
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables agents to govern the memory store they already run by gating what gets written, filtering recall by caller identity and memory validity, executing verifiable forgetting, and recording refusals and deletions in a hash-chained audit trail. It exposes these admission, authorization, and evidence controls over MCP so that credentials and personal data never persist and every deletion can be proven.
    11
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to look up stored logins by URL, name, or alias and use them without seeing the secrets, injecting authentication into HTTP requests, running commands with credentials in the environment and scrubbed output, and fetching 2FA codes, subject to per-credential policies and user approval.
    23
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Publishes deliberately malicious, demo-only MCP tooling that impersonates a security scanner and a joke assistant to show how tool responses can coax an LLM into leaking environment secrets, config files, and project context through tool parameters. It also chains its tools to gradually escalate data collection, serving as a hands-on lab for studying exfiltration and prompt-injection risks.
    5
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for locally masking personal data in documents before sending them to a language model, then restoring the original data in the model's response.
    6
    24
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables local-first governance preflight for MCP production, including plugin discovery, fail-closed policy evaluation, message validation, budget previews, and payload-free audit receipts without executing or proxying plugins.
    9
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables coding agents to perform advisory runtime safety checks by inspecting proposed file paths and shell commands, tracking caller budgets, detecting repeated actions, and masking common credentials in output without executing commands or opening target files.
    4
    GPL 3.0
  • A
    license
    A
    quality
    C
    maintenance
    A security scanner for AI coding agents and autonomous assistants that scans code for vulnerabilities, detects hallucinated packages, blocks prompt injection, and provides LLM-powered semantic code review via MCP or CLI.
    22
    1,046 npm
    124
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Signed, delegable permissions for AI agents that become the WebAssembly sandbox of each tool call, with a signed, hash-chained receipt per call that anyone can replay. Taint follows the delegation chain to contain prompt injection.
    4
    Apache 2.0
  • A
    license
    B
    quality
    D
    maintenance
    MCP zero-trust gateway that sits in front of every internal MCP server, detects tool-poisoning/metadata drift in real time, and maintains a cryptographic provenance ledger of every agent tool call.
    20
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Local proxy in front of the stdio MCP servers of Claude Code and Cursor: reads pass, writes wait for a person's approval, and destructive tools stay hidden until allowed. Tool definitions are pinned, and every call leaves a signed, hash-chained receipt.
    12
    1
    Apache 2.0
  • A
    license
    B
    quality
    B
    maintenance
    Encrypted secrets vault that blinds AI agents to API keys. Stores secrets in AES-256-GCM encrypted SQLite vault, resolves them at runtime via MCP values never appear in LLM conversation transcripts. Sandbox .env files with deterministic fakes.
    27
    133 npm
    3
    MIT