World Monitor
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.
Policy proxy for MCP tool calls. A denied call never reaches the downstream server.
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 0/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 7/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 7/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
SafeNode MCP Gateway をインストールして。https://mcp.popnx.com/i/sp3ak-safenode-mcp-gateway.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
SafeNode MCP Gateway のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server SafeNode MCP Gateway を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "safenode-gateway": { "command": "npx", "args": [ "-y", "safenode-mcp-gateway" ], "env": { "SAFENODE_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) SAFENODE_API_KEY は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、SafeNode MCP Gateway のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
SettingsDeveloperEdit Config
{
"mcpServers": {
"safenode-gateway": {
"command": "npx",
"args": [
"-y",
"safenode-mcp-gateway"
],
"env": {
"SAFENODE_API_KEY": "your-value"
}
}
}
}キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
SafeNode MCP Gateway を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が SafeNode MCP Gateway を使っていると言うか、回答に SafeNode MCP Gateway のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
SAFENODE_BASE_URL SafeNode API のベース URL を上書きします。デフォルトは https://safenode.tech です。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ SafeNode MCP Gateway につなげません
SafeNode MCP Gateway はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
A · SafeNode MCP Gateway につなげるアプリを使う
B · その他 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
Claude Code につなげますが、先に準備が必要です
SafeNode MCP Gateway のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server SafeNode MCP Gateway を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user safenode-gateway --env SAFENODE_API_KEY=your-value -- npx -y safenode-mcp-gateway 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) SAFENODE_API_KEY は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、SafeNode MCP Gateway のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --scope user safenode-gateway --env SAFENODE_API_KEY=your-value -- npx -y safenode-mcp-gatewayEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
SafeNode MCP Gateway が一覧にあり、接続済みと表示されれば OK です
SafeNode MCP Gateway を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が SafeNode MCP Gateway を使っていると言うか、回答に SafeNode MCP Gateway のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
SAFENODE_BASE_URL SafeNode API のベース URL を上書きします。デフォルトは https://safenode.tech です。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
SafeNode MCP Gateway のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server SafeNode MCP Gateway を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "safenode-gateway": { "command": "npx", "args": [ "-y", "safenode-mcp-gateway" ], "env": { "SAFENODE_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) SAFENODE_API_KEY は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、SafeNode MCP Gateway のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
SafeNode MCP Gateway の設定で SAFENODE_API_KEY が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
SafeNode MCP Gateway を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が SafeNode MCP Gateway を使っていると言うか、回答に SafeNode MCP Gateway のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
SAFENODE_BASE_URL SafeNode API のベース URL を上書きします。デフォルトは https://safenode.tech です。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
SafeNode MCP Gateway のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server SafeNode MCP Gateway を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "safenode-gateway": { "type": "stdio", "command": "npx", "args": [ "-y", "safenode-mcp-gateway" ], "env": { "SAFENODE_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) SAFENODE_API_KEY は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、SafeNode MCP Gateway のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
SafeNode MCP Gateway の設定で SAFENODE_API_KEY が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
SafeNode MCP Gateway を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が SafeNode MCP Gateway を使っていると言うか、回答に SafeNode MCP Gateway のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
SAFENODE_BASE_URL SafeNode API のベース URL を上書きします。デフォルトは https://safenode.tech です。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
Claude Code
claude mcp add --scope user safenode-gateway --env SAFENODE_API_KEY=your-value -- npx -y safenode-mcp-gatewayClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"safenode-gateway": {
"command": "npx",
"args": [
"-y",
"safenode-mcp-gateway"
],
"env": {
"SAFENODE_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"safenode-gateway": {
"command": "npx",
"args": [
"-y",
"safenode-mcp-gateway"
],
"env": {
"SAFENODE_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"safenode-gateway": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"safenode-mcp-gateway"
],
"env": {
"SAFENODE_API_KEY": "your-value"
}
}
}
}SAFENODE_API_KEY 秘密 必須 envSAFENODE_BASE_URL env説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
npm: safenode-mcp-gatewayこのサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント sp3ak で確認済みです
コードの最終更新:32 日前
MITを使用
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
OSV.dev に safenode-mcp-gateway@0.1.2 の登録はありません
このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月16日
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/sp3ak-safenode-mcp-gateway)質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:SAFENODE_API_KEY
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は32 日前、最新バージョン(0.1.2)がレジストリに届いたのは3 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.
Manage monitors, status pages, incidents and maintenances in your openstatus workspace.
Validate oh-my-posh configurations and segment snippets against the official schema.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
| これ SafeNode MCP Gateway | World Monitor | openstatus | Oh My Posh Validator | Strata | Jitsu | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 |
| キーが必要 | はい | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 4/4 | 4/4 | 1/4 | 4/4 |
| ライセンス | MIT | AGPL-3.0 | AGPL-3.0 | MIT | Apache-2.0 | MIT |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
An MCP proxy that enforces policy on every tool call. The agent cannot route around it.
npx safenode-mcp-gateway
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.
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
Free at safenode.tech. Keys look like sn_....
safenode-gateway.json — take the servers straight out of your existing MCP client config:
{
"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.
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.
Claude Desktop — claude_desktop_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:
{
"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.
| Decision | Behaviour |
|---|---|
allow | Forwarded. The downstream result is returned unchanged. |
warn | Forwarded, with a [SafeNode warning] line prepended so the model *and* the human see it. |
review | Not forwarded. Returns a message saying approval is needed. |
deny | Not 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.
failMode decides what happens when SafeNode itself is unreachable.
fail_closed (default) | Block the call. |
fail_open | Forward it, unevaluated. |
raise | Crash 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:
"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.
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:
full | Sent verbatim. |
redacted (default) | Scrubbed client-side first. |
metadata_only | No 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: ].
Alongside the redacted payload, the gateway sends counts of what it removed:
"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.
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.
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:
{"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…"}
| Key | Default | Meaning | ||
|---|---|---|---|---|
apiKey | — | Prefer SAFENODE_API_KEY in the environment | ||
baseUrl | https://safenode.tech | For staging | ||
failMode | fail_closed | fail_closed \ | fail_open \ | raise |
payloadMode | redacted | full \ | redacted \ | metadata_only |
timeoutMs | 5000 | Evaluation request budget | ||
logFile | null | JSONL decision log path | ||
prefixTools | false | Force __ naming | ||
servers[] | required | Downstream 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. .bypass: true skips evaluation entirely for one tool. It does what it says — the call is forwarded with no policy check at all.
If two downstream servers export the same tool name, the gateway prefixes every tool with __ 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.
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 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:
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:
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.
SKILL.md teaches an agent to set the gateway up for you, moving your existing servers behind it, and how to behave when a call is blocked or held for review. Copy it into a folder in your agent's skills directory (for Claude Code, ~/.claude/skills/safenode-mcp-gateway/). The policy-authoring companion is in skill/safenode-policies/.
Node 18+. One runtime dependency: @modelcontextprotocol/sdk.
See CONTRIBUTING.md. Bug reports about enforcement gaps — anything that reaches a downstream server when it should have been blocked — are the most valuable thing you can file.
See SECURITY.md. Please do not open public issues for vulnerabilities.
MIT. See LICENSE.