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