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. 136 installs a week from npm. Last commit 16 Sep 2026.

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

Installs per day peak 343 · avg 61 · -18% w/w
a month agotoday
136
Installs / week
npm · mcp-bastion
6
Stars
0 open issues
16 Sep 2026
Last commit
0 releases in 90 days
Apache-2.0
License
TypeScript

What the code does

We read the source, 20 h ago · rules 3dff92dd89df

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.

Dumps the whole environment src/internal/env.ts:22
  for (const [key, value] of Object.entries(process.env)) {
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": {
      "args": [
        "-y",
        "mcp-bastion"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-bastion]
command = "npx"
args = ["-y", "mcp-bastion"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-bastion": {
      "args": [
        "-y",
        "mcp-bastion"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mcp-bastion": {
      "args": [
        "-y",
        "mcp-bastion"
      ],
      "command": "npx"
    }
  }
}

Alternatives to MCP Bastion

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

Runtime proxy for MCP security, cost governance & audit

72 installs/wk local only
I
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

122 installs/wk local only
Sentrik
by maxgerhardson

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

69 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

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

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

79 installs/wk local only
EU Audit Trail
by jellewas

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

72 installs/wk local only
Gateway
by sealgate

MCP gateway with runtime security policy, tool-call-level control, and audit of agent actions.

answering

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 136 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 with the file path 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 136 times in the last week. Week over week that is -18%. 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 6 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.