
gatekit-ai/gatekit
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
gatekit-ai/gatekit は https://github.com/gatekit-ai/gatekit. からインポートされた MCP サーバーの候補です
概要
gatekit-ai/gatekit は https://github.com/gatekit-ai/gatekit. からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
ハッキング可能なMCPゲートウェイ。
Gatekit は、LLM と MCP ツール間のトラフィックを制御するモデルコンテキストプロトコルゲートウェイです。これにより、視認性、セキュリティ、制御が向上します。
ツール管理、コンテンツセキュリティ、監査ロギング、トークン使用トラッキング用のプラグインで出荷します。 ローカル stdio サーバーとリモート HTTP/SSE サーバーの両方をサポートします。
カスタム行動が必要ですか? プラグインで拡張する、フォークではなく。 あなたのカスタマイズは別々にとどまるので、競合をマージすることなくGatekitの更新を得ることができます。
組み込みプラグインのハンドル:
- ツール管理 — クリーナーのコンテキストとより良い発見のための説明の名前を変更し、変更したいツールだけを公開します -コンテンツセキュリティ - マシンを離れる前にPIIと秘密をキャッチし、基本的なプロンプト注入攻撃(正規)から防御します。 -Audit logging — デバッグの失敗、追跡の使用法、点検の完全な要求および応答ボディ
- トークン使用トラッキング — CSVエクスポートでサーバーとツールごとのトークン消費量を推定 -Stdioサーバーサンドボックス — ローカルMCPサーバーがOSネイティブの分離(macOS Seatbelt、Linux Bubblewrap)を使用してマシンでアクセスできるもの制限
Gatekit設定エディタ(ターミナルUI)
クイックスタート
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Gatekit
A hackable MCP gateway.
Gatekit is a Model Context Protocol gateway that controls traffic between your LLM and MCP tools for better visibility, security, and control.
It ships with plugins for tool management, content security, audit logging, and token usage tracking. Supports both local stdio servers and remote HTTP/SSE servers.
Need custom behavior? Extend with plugins, not forks. Your customizations stay separate, so you can keep getting Gatekit updates without merge conflicts.
Built-in plugins handle:
- Tool management — expose only the tools you want, rename and modify descriptions for cleaner context and better discoverability
- Content security — catch PII and secrets before they leave your machine, defend against basic prompt injection attacks (regex-based)
- Audit logging — debug failures, track usage, inspect full request and response bodies
- Token usage tracking — estimate token consumption per server and tool, with CSV export
- Stdio server sandboxing — restrict what local MCP servers can access on your machine using OS-native isolation (macOS Seatbelt, Linux bubblewrap)
Gatekit configuration editor (Terminal UI)
Quick Start
Installation
# With uv (recommended)
uv tool install gatekit
# With pipx
pipx install gatekit
# With pip (in a virtual environment)
pip install gatekit
Requires Python 3.10+. Works on macOS, Linux, and Windows.
Usage
gatekit
Guided Setup
The TUI includes a guided setup wizard that:
- Auto-detects MCP clients on your system (Claude Desktop, Codex, Claude Code, Cursor, Windsurf)
- Discovers all configured MCP servers from each client
- Generates a complete Gatekit configuration
- Provides client-specific setup instructions with copy buttons
- Creates restore scripts in case you want to revert
Manual Configuration
For MCP clients not detected by Guided Setup, configure Gatekit as an MCP server with command and args:
{
"servers": {
"gatekit": {
"command": "gatekit-gateway",
"args": ["--config", "/absolute/path/to/gatekit.yaml"]
}
}
}
Example for VS Code (.vscode/mcp.json):
{
"servers": {
"gatekit": {
"command": "gatekit-gateway",
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →