mcp-use-aps-example
mcp-use + APS 認可の例
このスタンドアロンの例では、Agent Passport System の aps-mcp-1 プロファイルを、既存の mcp-use TypeScript ミドルウェアシームの背後に配置します。ゲートウェイは vault_echo ツールをプロキシし、next() がアップストリームサーバーに到達する前に、署名付きの一回限りの認可エンベロープを検証します。
実行
npm install
npm test
npm run dev表示された URL を開くと、組み込みの mcp-use Inspector を使用できます。
メッセージを指定して
issue_aps_demo_grantを呼び出します。その構造化された結果を
vault_echoにコピーします。vault_echoを実行します。APS ミドルウェアは、ディスパッチ前に署名、ターゲット、引数ハッシュ、有効期限、スコープ、リプレイ状態を検証します。同じリクエストをもう一度実行すると、アップストリームが呼び出される前にリプレイが拒否されるのを確認できます。
Related MCP server: SINT Protocol
Inspector 互換性
APS MCP プロファイルは通常、そのエンベロープを次の場所に格納します:
tools/call.params._meta["org.agent-passport/authorization"]現在の Inspector フォームでは、呼び出しごとの任意の _meta を公開できません。インタラクティブなデモンストレーション専用として、このリポジトリは同一のエンベロープを apsAuthorization ツール引数として受け取り、ミドルウェア内で名前空間付きの _meta エントリに移動し、転送前にそれを削除します。本番の MCP クライアントは _meta を直接送信する必要があります。
この localhost デモでは、トランスポート認証はすでに確立されているものとして扱います。本番コードでは OAuth を構成し、検証済みのトランスポートコンテキスト(ctx.auth)からその事実を導出する必要があります。
APS は独立したサードパーティのプロジェクトであり、MCP や mcp-use の一部ではありません。
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
- AlicenseBqualityAmaintenanceThis server acts as a Portal (zero-trust Policy Enforcement Point) for AI agents. Every tool call is attested, measured against a sealed cryptographic reference, and logged to a tamper-evident continuity chain with signed receipts.1562MIT
- AlicenseAqualityAmaintenanceSecurity-enforcing MCP proxy that sits between an AI agent and any number of downstream MCP servers, intercepting every tool call through a capability-token policy gateway that can allow, deny, or escalate to human approval before the call reaches any real tool. It also exposes built-in operator tools for approval workflows, audit trail queries, token management, voice/HUD output, and hierarchical2112Apache 2.0
- FlicenseNot gradedqualityCmaintenanceA production-ready MCP server that authenticates agents via OAuth 2.1 Bearer tokens, validates JWTs with JWKS, enforces tool-level scopes and roles, and logs the full delegation chain.
- AlicenseNot gradedqualityCmaintenanceAuthenticating reverse proxy for MCP servers providing credential isolation, OAuth2 token management, and composite tool aggregation.BSD Zero Clause
Related MCP Connectors
Issue Agent Passports and verify agent authority before value moves. Signed verification records.
Preflight, approve, and prove consequential agent actions with signed evidence and x402 tools.
Hash-chained HMAC-signed audit log MCP for A2A (agent-to-agent) calls. Every tool-call, agent-ha...
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/khandrew1/mcp-use-aps-example'
If you have feedback or need assistance with the MCP directory API, please join our Discord server