APS MCP Auth Examples
OfficialAPS MCP 身份验证示例
MCP 服务器的参考实现,集成 Autodesk Platform Services,覆盖以下所有组合:
服务器如何向 APS 进行身份验证
2LO- 2-legged OAuth,应用级3LO- 3-legged OAuth,按用户PKCE- 用于公共客户端的 3-legged OAuth,按用户SSA- 安全服务账户,非人类身份
MCP 客户端如何向服务器进行身份验证
完全没有(STDIO)
通过外部身份提供方
通过 OAuth 代理服务
所有基于 HTTP 的示例均面向 2026-07-28 MCP 规范修订版,并基于拆分后的 MCP TypeScript SDK v2(@modelcontextprotocol/{server,express,node})。该规范要求 MCP 服务器充当 OAuth 2.1 的 资源服务器,由专用授权服务器支持;在标识 MCP 客户端时,更倾向于使用 Client ID Metadata Documents (CIMD) 而非 Dynamic Client Registration。
每个示例都提供相同的 MCP 工具,均在 shared/ 中实现一次并在各处复用:list-projects(通过 Data Management API 获取 hubs 和 projects)和 list-contents(获取某个项目顶层的文件夹,或某个具体文件夹的内容)。
目录 | MCP 客户端身份验证 | 演示内容 |
无(STDIO) | 最简单的设置——本地启动的进程,完全没有 MCP 层的身份验证。 | |
外部 IdP(Auth0) | 此服务器只验证令牌;Auth0(或任何符合 OIDC/JWKS 的提供方)仍然是授权服务器。按 IdP 用户缓存的 APS 提供方保存在内存中。 | |
单独的 OAuth 代理服务 | 依赖一个位于 APS 认证之前的 OAuth 代理( | |
(代理本身) | 由 | |
(库) | 五个 APS 身份验证提供方类、两个 MCP 工具,以及上面所有示例复用的辅助函数。 |
所有示例共用的设置
在 https://aps.autodesk.com/myapps 注册一个 APS 应用(如果你会使用任何
3LO示例,请选择 传统 Web 应用(Traditional Web App);如果只使用2LO,只需 Server-to-Server / API-key 风格的应用即可)。对于SSA,还需要另外创建一个 Secure Service Account 并注册其公钥——参见 SSA 指南。在仓库根目录执行
npm install——这是一个 npm workspaces 项目,一条安装命令即可解析shared和所有四个 TypeScript 服务器。复制
.env.example为.env,并为你选择的APS_AUTH_MODE填写适当的值,然后在相应文件夹内用npm start运行任意 TypeScript 示例(或在根目录运行npm run start -w <package-name>)。simple-oauth-proxy是一个单独的 Python/FastMCP 服务——其设置请参阅它自己的 README;只有在尝试aps-mcp-server-remote-proxy时才需要它。
Related MCP server: Devcon MCP Workshop 2026
关于范围的说明
这些是教学示例,优化用于一口气读完。有几处为了简洁刻意做了简化,并已在相关 README 中标注(例如仅保存在内存中、没有水平扩展方案;OAuth 代理示例中,CIMD 获取方式简化且未对 SSRF 做完整加固,等等)。请不要在未阅读这些注意事项的情况下,将安全性相关的部分直接复制到生产环境。
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
- FlicenseAqualityCmaintenanceAn MCP server that exposes Autodesk Platform Services (APS) as tools for AI assistants to interact with the APS Data Management API. It enables users to authenticate and manage hubs, projects, and folders through a standardized interface.272
- FlicenseNot gradedqualityDmaintenanceMCP server integrating Autodesk Platform Services, exposing tools for LLM clients like VS Code Copilot, with OAuth authentication and agentic workflow support.
- FlicenseNot gradedqualityCmaintenanceExample MCP server for Autodesk Platform Services that demonstrates proper OAuth authorization with Auth0 as the first layer and APS 3-legged OAuth as the second layer. Enables querying APS projects and issues through natural language after authenticating via Auth0 and APS.
- AlicenseNot gradedqualityCmaintenanceA complete MCP server implementation demonstrating all protocol features (tools, resources, prompts, sampling, and elicitation) with OAuth authentication, serving as a learning resource and starting template for building MCP servers.MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
Self-hosted federated MCP gateway: one OAuth 2.1 MCP server in front of N apps, user-level scopes.
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/autodesk-platform-services/aps-mcp-auth-examples'
If you have feedback or need assistance with the MCP directory API, please join our Discord server