mcp-use-aps-example
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-use + APS authorization example
This standalone example puts the Agent Passport System aps-mcp-1 profile behind the existing mcp-use TypeScript middleware seam. A gateway proxies a vault_echo tool and verifies a signed, one-use authorization envelope before next() can reach the upstream server.
Run
npm install
npm test
npm run devOpen the printed URL to use the built-in mcp-use Inspector.
Call
issue_aps_demo_grantwith a message.Copy its structured result into
vault_echo.Run
vault_echo; the APS middleware verifies the signature, target, argument hash, expiry, scope, and replay state before dispatch.Run the same request again to see replay rejection before the upstream is called.
Related MCP server: MCP Agent Platform MVP
Inspector compatibility
The APS MCP profile normally carries its envelope at:
tools/call.params._meta["org.agent-passport/authorization"]The current Inspector form does not expose arbitrary per-call _meta. For interactive demonstration only, this repo accepts the identical envelope as the apsAuthorization tool argument, moves it into the namespaced _meta entry inside middleware, and removes it before forwarding. A production MCP client should send _meta directly.
This localhost demo also treats transport authentication as already established. Production code must configure OAuth and derive that fact from verified transport context (ctx.auth).
APS is an independent third-party project and is not part of MCP or mcp-use.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Issue Agent Passports and verify agent authority before value moves. Signed verification records.
Authorize AI agent tool calls before they run: policy-as-code, human approval, signed receipts.
License checks, signed rights proof, keyless pre-call checks for MCP servers, and the agent store
Host any HTTP API as MCP tools with a tamper-evident cross-agent settlement ledger.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceDemonstrates the AgentCore Gateway 3-Legged OAuth flow with Auth0, exposing whoami and echo tools for end-to-end authorization code testing.-
- FlicenseNot gradedqualityBmaintenanceEnables governed MCP agent tool invocation with policy-based authorization, short-lived credentials, and audited access control.-
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to connect once to self-hosted, user-owned upstream accounts and then discover and invoke granted tools through a single authenticated endpoint. Each client receives its own key with deny-by-default tool grants, while sensitive calls require durable human approval and credentials stay encrypted and never forwarded upstream.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceProxy for any MCP server that lets read tools pass straight through while turning every write tool into a pending card the agent cannot release on its own. Only signed evidence from the user's paired device — a tap on the approval page or their own transcribed voice — actually executes the action, with one-time nonces, expiry, replay checks and receipts.MIT