mcpbeat Sign in

MCP Bastion MCP Server

by gowthaman90 Your server? Claim it
local only

MCP Bastion runs on your own machine — the client starts it, so there is no endpoint to ping. 704 installs a week from npm. Last commit 29 Oct 2026.

Reliability + security proxy for MCP: runtime tool-security and a compliance-mapped audit trail.

Installs per day peak 177 · avg 18 · +143% w/w
a month agotoday
704
Installs / week
npm · mcp-bastion
7
Stars
0 open issues
29 Oct 2026
Last commit
8 releases in 90 days
Apache-2.0
License
TypeScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Touches key and credential files src/security/poisoning.ts:38
      /(\.ssh\b|id_rsa|\.env\b|\bcredentials?\b|\bapi[_-]?keys?\b|\bpasswords?\b|\bsecret[_-]?keys?\b)/i,

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp-bastion -- npx -y mcp-bastion
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-bastion"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-bastion]
command = "npx"
args = ["-y", "mcp-bastion"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-bastion"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-bastion": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-bastion"
      ]
    }
  }
}

Alternatives to MCP Bastion

same job, measured the same way
Mastyf AI
by mastyf-ai

Runtime proxy for MCP security, cost governance & audit

52 installs/wk local only
M
Mcpsentry
by roshan6335

Security scanner and runtime proxy for MCP servers.

59 installs/wk local only
Defenter Proxy
by defenter-ai

Real-time semantic security for AI coding agents and MCP tools

76 installs/wk local only
Ranuk Web Accessibility & AST Security Auditor
by ranuk12

Edge MCP Server for live WCAG 2.1 AA accessibility compliance and AST security audits.

2 tools answering
Sentrik
by maxgerhardson

Governance runtime for AI-generated code. Enforce compliance and security standards.

46 installs/wk local only
MCP Audit Server
by joepangallo

Thin MCP and CLI proxy for AI agent and MCP security auditing via a hosted backend

66 installs/wk local only
kcp-harness — KCP compliance proxy
by cantara

MCP compliance proxy between agent and tools: deterministic governance, fail-closed, audit trail.

341 installs/wk local only
EU Audit Trail
by jellewas

Tamper-evident audit trail MCP server for EU AI Act & GDPR compliance.

92 installs/wk local only

MCP Bastion — questions

Answers built from our own checks of this server.

Why is there no uptime for MCP Bastion?
MCP Bastion runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package mcp-bastion was installed 704 times last week.
How do I connect MCP Bastion?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls mcp-bastion straight from npm; nothing to host, nothing to sign up for.
How many people use MCP Bastion?
The npm package mcp-bastion was installed 704 times in the last week. Week over week that is +143%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is MCP Bastion open source?
Yes — it is published under the Apache-2.0 licence, written in TypeScript and 7 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.