external-ai-ecosystem-gateway
外部AIエコシステムゲートウェイ
MCP互換アシスタントクライアントに権限スコープ付きツールを公開しつつ、Slackなどの外部システムへのアクセスを仲介する、セキュリティ重視のPythonゲートウェイです。テナント分離、委任認可、機密性の高い書き込みに対する人間の確認、冪等実行、署名付きWebhook検証、失効対応の付与ストレージ、ハッシュチェーン監査証跡を実証します。
これはポートフォリオ/参考実装であり、本番用のアイデンティティプロバイダではありません。ヘッダーベースの開発用認証アダプタは、デプロイ前に
docs/security.mdに記載されているOIDC検証ミドルウェアに置き換える必要があります。
アーキテクチャ
Assistant / Slack client
|
v
FastAPI edge + auth adapter
|
v
Policy + tenant boundary ----> confirmation tokens
|
v
Sandboxed tool registry -----> Slack / OpenAI / Claude adapters
|
+--------------------> idempotency store
+--------------------> append-only hash-chained audit logRelated MCP server: Nervora
クイックスタート
python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
uvicorn ecosystem_gateway.app:app --reloadツール一覧:
curl localhost:8000/mcp/tools \
-H 'X-Subject: user-1' -H 'X-Tenant-Id: tenant-a' -H 'X-Roles: operator'pytestでテストスイートを実行します。Slackトークンが設定されていない場合、コネクタは安全なサンドボックスモードで動作し、発行する予定のリクエストを返します。
セキュリティ特性
すべてのプリンシパルと冪等性キーはテナント名前空間に分離されます。
ツールポリシーは、最小権限ロールと委任スコープを組み合わせます。
権限性の高い書き込みには、サブジェクト、テナント、ツール、引数にバインドされた短命トークンが必要です。
Webhook署名は定数時間比較を使用し、古いリクエストを拒否します。
監査レコードはSHA-256チェーンを形成し、削除や改変を検出可能にします。
OAuth付与は失効をサポートし、ツール結果を通じてリフレッシュトークンを公開することはありません。
本番の堅牢化チェックリストと脅威モデルについては、docs/security.mdを参照してください。
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to discover and execute tools via a secure MCP server with JWT authentication, RBAC, rate limiting, and audit logging.1MIT
- AlicenseNot gradedqualityCmaintenanceA secure MCP gateway for enterprise AI tool execution, enabling governed invocation of business tools with authentication, RBAC, audit logging, PII redaction, and async processing.Apache 2.0
- FlicenseNot gradedqualityCmaintenanceA single MCP server that exposes safe, permission-checked tools for AI assistants to reach file systems, databases, APIs, Git, cloud services, and business applications.

AgentsGateofficial
AlicenseNot gradedqualityAmaintenanceEnables AI agents to securely call MCP tools with risk scoring, checkpoints, rollback, and approval workflows.134MIT
Related MCP Connectors
Runtime permission, approval, and audit layer for AI agent tool execution.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Phone, SMS & email for AI agents — one remote MCP endpoint, OAuth login, zero install.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/navadiashrey/external-ai-ecosystem-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server