MCP Bastion vs Semgrep

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

MCP Bastion logoMCP BastionSecurity · Local subprocess (stdio)Reliability + security proxy for MCP: runtime tool-security and a compliance-mapped audit trail.48FairAuth: no auth requiredSemgrep logoSemgrepSecurity · Local subprocess (stdio)Scan code for security vulnerabilities using Semgrep.48FairAuth: no auth required

Verdict: choose MCP Bastion 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?

MCP Bastion logoChoose MCP Bastion 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 MCP Bastion

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.

SpecMCP Bastion logoMCP BastionSemgrep logoSemgrep
CategorySecuritySecurity
Quality signal48/100 · Fair48/100 · Fair
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNo auth requiredNo auth required
PricingFreeFree
Required env varsNone listedNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars717,186
Directory activity 2 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
ToolsNot listedNot listed

Tools & capabilities

MCP Bastion tools

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

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.

MCP Bastion

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-bastion"
      ]
    }
  }
}

Semgrep

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

Frequently asked questions

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

MCP Bastion is listed as free. Auth: no auth required. 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 mcp-bastion and semgrep-semgrep as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, MCP Bastion has a quality signal of 48/100 (Fair) with 2 views, 0 installs and 7 GitHub stars. Semgrep has 48/100 (Fair) with 1 views, 0 installs and 17,186 GitHub stars.