Skip to main content
Glama
khandrew1

mcp-use-aps-example

by khandrew1

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 を使用できます。

  1. メッセージを指定して issue_aps_demo_grant を呼び出します。

  2. その構造化された結果を vault_echo にコピーします。

  3. vault_echo を実行します。APS ミドルウェアは、ディスパッチ前に署名、ターゲット、引数ハッシュ、有効期限、スコープ、リプレイ状態を検証します。

  4. 同じリクエストをもう一度実行すると、アップストリームが呼び出される前にリプレイが拒否されるのを確認できます。

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 の一部ではありません。

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    B
    quality
    A
    maintenance
    This 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.
    15
    62
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Security-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 hierarchical
    21
    12
    Apache 2.0
  • F
    license
    Not graded
    quality
    C
    maintenance
    A 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.

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

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