Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. SafeNode MCP Gateway
S
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

SafeNode MCP Gateway

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

Policy proxy for MCP tool calls. A denied call never reaches the downstream server.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "safenode-mcp-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "safenode-mcp-gateway"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

SafeNode MCP Gateway

An MCP proxy that enforces policy on every tool call. The agent cannot route around it.

Terminal
npx safenode-mcp-gateway

Why a proxy

An MCP server that exposes an evaluate_action tool is theatre. The model can choose not to call it, which means it enforces nothing.

This is a proxy. It sits between your MCP client (Claude Desktop, Claude Code, Cursor, any MCP host) and the MCP servers you already use. tools/list passes straight through, so the model sees exactly the tools it saw before. Every tools/call is evaluated against SafeNode first. A denial means the call never reaches the downstream server at all.

Code
Claude Desktop ──► safenode-mcp-gateway ──► filesystem server
                          β”‚                   github server
                          β–Ό                   postgres server
                    SafeNode API
                  allow/warn/review/deny

Your agent needs no code changes. It does not know the gateway is there.

Get an API key β€” free tier, no card Β· Docs Β· Python SDK


Setup

1. Get an API key

Free at safenode.tech. Keys look like sn_....

2. Write a config

safenode-gateway.json β€” take the servers straight out of your existing MCP client config:

config.json
{
  "failMode": "fail_closed",
  "payloadMode": "redacted",
  "logFile": "./safenode-decisions.jsonl",
  "servers": [
    {
      "name": "filesystem",
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/you/projects"]
    }
  ],
  "tools": {
    "read_file": { "failMode": "fail_open" },
    "write_file": { "payloadMode": "metadata_only" }
  }
}

Do not put your API key in this file. Set SAFENODE_API_KEY in the environment β€” it takes precedence over the config, so the file stays safe to commit.

3. See what would be sent, before sending anything

bash
SAFENODE_API_KEY=sn_... npx safenode-mcp-gateway --dry-run

Prints the exact JSON body that an evaluation would POST. No network call. This is the fastest way to satisfy yourself about what leaves your machine.

4. Point your MCP client at the gateway

Claude Desktop β€” claude_desktop_config.json:

config.json
{
  "mcpServers": {
    "safenode": {
      "command": "npx",
      "args": ["-y", "safenode-mcp-gateway", "--config", "/absolute/path/to/safenode-gateway.json"],
      "env": { "SAFENODE_API_KEY": "sn_..." }
    }
  }
}

Claude Code β€” .mcp.json in your project:

config.json
{
  "mcpServers": {
    "safenode": {
      "command": "npx",
      "args": ["-y", "safenode-mcp-gateway", "--config", "./safenode-gateway.json"],
      "env": { "SAFENODE_API_KEY": "sn_..." }
    }
  }
}

Cursor β€” ~/.cursor/mcp.json, same shape as Claude Desktop.

Replace your existing server entries with this one. The gateway spawns them itself, so listing them in both places would run each server twice.


What each decision does

DecisionBehaviour
allowForwarded. The downstream result is returned unchanged.
warnForwarded, with a [SafeNode warning] line prepended so the model and the human see it.
reviewNot forwarded. Returns a message saying approval is needed.
denyNot forwarded. Returns the human-readable reasons and the trace_id.

Denials come back as MCP tool errors, not transport failures, so the model sees why and can try something else instead of the host surfacing an opaque crash.

Fail behaviour

failMode decides what happens when SafeNode itself is unreachable.

fail_closed (default)Block the call.
fail_openForward it, unevaluated.
raiseCrash the gateway.

The gateway defaults to fail_closed, unlike the SafeNode SDKs, which default to fail_open. That difference is deliberate. An SDK wraps a developer's own code, where taking production down during a SafeNode outage loses the user forever. The gateway fronts arbitrary MCP tools it knows nothing about β€” filesystem writes, shell commands, payments β€” and silently letting all of that through the moment SafeNode is unreachable defeats the point of installing it.

Loosen it per tool for the read-only ones:

json
"tools": {
  "read_file":   { "failMode": "fail_open" },
  "list_files":  { "failMode": "fail_open" }
}

Degraded decisions are logged to stderr and marked "degraded": true with a null traceId in the decision log, so they can never be counted as real policy decisions.

What data leaves your machine

For every tool call, the gateway sends: the tool name, the downstream server name, a session id, any static context from your config, and the tool arguments as the payload.

payloadMode controls the arguments:

fullSent verbatim.
redacted (default)Scrubbed client-side first.
metadata_onlyNo values at all β€” key names and hashes only.

Redaction covers emails, Luhn-validated credit cards, US SSNs, provider API key prefixes (sk-, ghp_, xoxb-, AKIA, AIza), bearer tokens, and PEM private key blocks. Values become [REDACTED:<type>].

Why redaction counts are always sent

Alongside the redacted payload, the gateway sends counts of what it removed:

json
"safenode_redactions": { "email": 2, "credit_card": 1 }

This is load-bearing. SafeNode's server-side sensitive_data rule matches patterns against payload values. If the gateway scrubbed those values and said nothing, a policy of "deny any action containing a card number" would silently start passing β€” the client-side privacy feature would have disabled the server-side security control. Reporting counts closes that: policy can act on the presence of a card number without ever receiving one.

If you use sensitive_data with patterns, pair it with a redaction_metadata rule.

These counts are self-reported. They raise the floor for an honest client; they are not a defence against a hostile one.

No telemetry

The gateway talks to exactly two things: the downstream MCP servers you configured, and the SafeNode API. No analytics, no phone-home, no postinstall scripts.

Local decision log

Set logFile to get a JSONL record of every decision, independent of the server-side audit trail β€” so you still have evidence of what your agent tried to do when the network was down:

config.json
{"timestamp":"2026-08-08T04:12:09.412Z","server":"filesystem","tool":"write_file","decision":"deny","degraded":false,"traceId":"9f1c…","reasons":["Path is outside the approved workspace."],"forwarded":false,"durationMs":143,"sessionId":"a3f1…"}

Configuration reference

KeyDefaultMeaning
apiKeyβ€”Prefer SAFENODE_API_KEY in the environment
baseUrlhttps://safenode.techFor staging
failModefail_closedfail_closed | fail_open | raise
payloadModeredactedfull | redacted | metadata_only
timeoutMs5000Evaluation request budget
logFilenullJSONL decision log path
prefixToolsfalseForce <server>__<tool> naming
servers[]requiredDownstream MCP servers
tools{}{}Per-tool overrides
context{}{}Static context on every evaluation

failMode, payloadMode and context can be set globally, per server, or per tool. Most specific wins.

tools.<name>.bypass: true skips evaluation entirely for one tool. It does what it says β€” the call is forwarded with no policy check at all.

Tool name collisions

If two downstream servers export the same tool name, the gateway prefixes every tool with <server>__ and logs a warning. Silently picking a winner would apply one server's policy to another server's tool, which is a security bug rather than a cosmetic one.

What this is not

  • Not a sandbox. It decides whether a call is forwarded. It does not contain the downstream server, restrict syscalls, or limit what that server can do once the call reaches it.
  • Not a prompt-injection detector. It evaluates the action, not the reasoning that produced it. If your agent has been talked into deleting a table, this can stop the delete β€” it will not tell you the agent was manipulated.
  • Not offline. Every tool call costs a round trip to the SafeNode API. There is no local policy evaluation.
  • Not a substitute for scoping the underlying servers. Still pass a filesystem server the narrowest root directory that works.
  • Not free of side effects. Every evaluation is recorded server-side and counts against your monthly quota.

Latency

Each gated tool call adds one round trip to the SafeNode API, with a 5000ms budget by default. Bypassed tools add nothing.

A measured p99 for the evaluate endpoint is not published yet, because it has not been measured under realistic load. When it has been, it will go here and in the docs rather than being estimated.

Docker

Terminal
docker build -t safenode-mcp-gateway .

Running it with no arguments starts against a bundled demo config that proxies an included echo server, so you can see the proxy work without any setup:

Terminal
docker run -i --rm safenode-mcp-gateway

The demo key is a placeholder, so tools/list passes through while any real tool call is denied by the fail_closed policy. For real use, mount your own config and supply a key:

Terminal
docker run -i --rm \
  -e SAFENODE_API_KEY=sn_... \
  -v /path/to/safenode-gateway.json:/app/config.json \
  safenode-mcp-gateway --config /app/config.json

-i is required. MCP speaks JSON-RPC over stdio, so without stdin attached the gateway has nothing to talk to.

Requirements

Node 18+. One runtime dependency: @modelcontextprotocol/sdk.

Contributing

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’
  • Labelhead Artist Momentum logoLabelhead Artist Momentum

    Trending hip-hop artist momentum scores across four cultural dimensions.

    πŸ’» Developer Tools0 views
    Compare vs Labelhead Artist Momentum β†’
  • MCP Anything logoMCP Anything

    Meta-MCP gateway: search, inspect and call any MCP server from the public registries.

    πŸ’» Developer Tools0 views
    Compare vs MCP Anything β†’
  • Trust Oracle logoTrust Oracle

    Independent A-F trust grade for any MCP server, watched for drift. Free, never for sale.

    πŸ’» Developer Tools1 views
    Compare vs Trust Oracle β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about SafeNode MCP Gateway

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "safenode-mcp-gateway": { "command": "npx", "args": ["-y", "SafeNode MCP Gateway"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSafeNode MCP Gateway AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/safenode-mcp-gateway?style=directory)](https://allmcps.com/mcp/safenode-mcp-gateway)
HTML Embed
<a href="https://allmcps.com/mcp/safenode-mcp-gateway"><img src="https://allmcps.com/api/badge/safenode-mcp-gateway?style=directory" alt="SafeNode MCP Gateway on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to SafeNode MCP Gateway β†’Install in Claude DesktopInstall in CursorInstall in VS Code