
autodesk-platform-services/aps-aecdm-mcp-dotnet 是从 https://github.com/autodesk-platform-services/aps-aecdm-mcp-dotnet. 导入的 MCP 服务器候选
概览
autodesk-platform-services/aps-aecdm-mcp-dotnet 是从 https://github.com/autodesk-platform-services/aps-aecdm-mcp-dotnet. 导入的 MCP 服务器候选
概述(AI 翻译)
.NET MCP 服务器连接 Claude Desktop、AEC 数据模型 API 和查看器。
引言
这个样本最初是对新Model Context Protocol的实验,作为我们Autodesk Platform Accelerators中的一个挑战。特别感谢Mirco Bianchini带来这一挑战并为本仓库中呈现的解决方案做出贡献。
先修条件
要实现这一点,你需要:
- 下载并安装 Claude 桌面版
- 克隆或下载此仓库
- 建设这个项目
- 在 Claude 配置文件(开发者资源)中添加对 .csproj 的引用
演示视频在此
它是如何运作的
本示例使用 ModelContextProtocol .NET SDK 创建了一个 MCP 服务器。
在这个范围内,我们向服务器增加了4个主要工具:
- GetToken,获取用于APS API请求的PKCE令牌。
- GetHubs 用于使用 AEC 数据模型 API 检索集线器
- GetProjects 用于使用 AEC 数据模型 API 检索项目
- GetElementGroupsByProject 使用 AEC 数据模型 API 检索 ElementGroups
- GetElementsByElementGroupWithCategoryFilter 使用类别过滤器从一个 ElementGroup 检索元素。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
aps-aecdm-mcp-dotnet
.NET MCP Server to connect with Claude Desktop, AEC Data Model API and the Viewer.
Introduction
This sample started as an experiment with the new Model Context Protocol brought as a challenge during one of our Autodesk Platform Accelerators. Special thanks to Mirco Bianchini for bringing this challenge and contributing to get to the solutions presented in this repo.
Prerequisites
To make this work, you’ll need to:
- Download and Install Claude Desktop
- Clone or download this repo
- Build this project
- Add a reference to the .csproj in the Claude configuration file (developers resource)
DEMO VIDEO HERE
How it works
This sample creates an MCP server using the ModelContextProtocol .NET SDK.
In this scope we added 4 main tools to our server:
- GetToken to obtain a PKCE token that is used in the APS API requests.
- GetHubs to retrieve the hubs using the AEC Data Model API
- GetProjects to retrieve the projects using the AEC Data Model API
- GetElementGroupsByProject to retrieve the ElementGroups using the AEC Data Model API
- GetElementsByElementGroupWithCategoryFilter to retrieve the elements from one ElementGroup using a category filter.
- RenderModel to render one design with the Viewer
- HighLightElements to highlight elements in the Viewer.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"aecdm": {
"command": "dotnet",
"args": [
"run",
"--project",
"C:\\Users\\...mcp-server-aecdm.csproj",
"--no-build"
]
}
}
}