HOOPS AI MCP Server
Bridges Claude Desktop to the HOOPS AI WebAPI, enabling 3D CAD analysis and interactive model operations through natural language.
README
HOOPS AI MCP Server
An MCP (Model Context Protocol) server that bridges Claude Desktop to the HOOPS AI WebAPI.
With this server registered in Claude Desktop, users can perform 3D CAD analysis through natural language — no code required.
See the root README for an overview of the full platform.
Prerequisites
- uv installed on the Claude Desktop machine (Claude Desktop uses
uvto launch the MCP server process) - The WebAPI server running and accessible (default:
http://127.0.0.1:8000)
→ See webapi/README.md for setup instructions
Setup
Register the MCP server in Claude Desktop
- Open Claude Desktop
- Go to Settings → Developer → Edit Config
- This opens
claude_desktop_config.json. Add the following entry undermcpServers:
{
"mcpServers": {
"hoops-ai": {
"command": "uv",
"args": [
"run",
"--directory",
"C:\\path\\to\\HOOPS_AI-MCP\\mcp_server",
"server.py"
]
}
}
}
Replace
C:\\path\\to\\HOOPS_AI-MCPwith the actual path where you cloned this repository.
Troubleshooting —
uvnot found: Claude Desktop launches with a limited PATH and may fail to finduveven if it works in your terminal.
If the MCP server does not appear in Claude Desktop, use the full path touv.exeinstead of"uv":where.exe uv # find the full path, e.g. C:\Users\<you>\.local\bin\uv.exeThen update
"command"in the config:"command": "C:\\Users\\<you>\\.local\\bin\\uv.exe"
Same machine (default):
No additional configuration is needed.
The MCP server defaults to http://127.0.0.1:8000, so if the WebAPI server is running on the same machine, the basic config above works as-is.
When the WebAPI server is on a different machine (client-server setup):
Add "env": {"HOOPS_WEBAPI_URL": "..."} to the config — no system environment variable is needed.
Claude Desktop passes this value to the MCP server process automatically:
{
"mcpServers": {
"hoops-ai": {
"command": "uv",
"args": [
"run",
"--directory",
"C:\\path\\to\\HOOPS_AI-MCP\\mcp_server",
"server.py"
],
"env": {
"HOOPS_WEBAPI_URL": "http://192.168.0.6:8000"
}
}
}
}
Replace
192.168.0.6with the actual IP address of the machine running the WebAPI server.
This is the only configuration change needed on the client machine.
- Save the file and restart Claude Desktop.
Available MCP Tools
Claude Desktop can call these 12 tools using natural language:
| Tool | Description |
|---|---|
upload_cad_model |
Upload a local CAD file to the server. Returns file_id, filename, and already_existed. Pass file_id to other tools to avoid re-uploading. |
open_cad_viewer |
Open a CAD file in the interactive 3D browser viewer. Returns viewer_url and image_url (PNG preview). |
terminate_CAD_viewer |
Terminate the last active viewer, or all viewers (terminate_all=True). |
get_brep_adjacency_graph |
Build a face adjacency graph from a CAD file. Returns graph data (nodes, edges, counts) and image_url (PNG visualization URL). |
get_brep_attributes |
Extract face and edge attributes (types, areas, lengths, dihedral angles, etc.) from a CAD file. |
get_MFR_table_of_contents |
Get a summary of the Manufacturing Feature Recognition (MFR) dataset. |
get_MFR_labels_description |
List all MFR label IDs, feature names, and descriptions. |
search_MFR_files |
Find CAD files in the MFR dataset that contain a given manufacturing feature. |
get_MFR_file_thumbnail |
Return the URL of the thumbnail PNG for a given dataset file ID. |
run_MFR_inference |
Run MFR inference on a CAD file. Launches the viewer and returns predictions, probabilities, viewer_url, and image_url (PNG preview). |
search_similar_shapes |
Find the top-k most similar parts using HOOPS Embeddings and a FAISS index. Returns match IDs, similarity scores, and image_url (result grid image URL). |
get_similar_part_image |
Return the URL of the pre-generated PNG thumbnail for a part filename returned by search_similar_shapes. |
Example Usage in Claude Desktop
Once the MCP server is registered and the WebAPI server is running, you can chat with Claude:
What HOOPS AI tools are available?
"C:\temp\helloworld.stp" — please display this 3D CAD file.
"C:\temp\Flange287.stp" — show this model and give me its B-Rep information.
Tell me about the manufacturing feature recognition dataset.
"C:\temp\nist_ftc_06_asme1_rd_sw1802.SLDPRT" — run manufacturing feature recognition and colorize by feature type.
"C:\temp\idler_sprocket.step" — search for similar parts to this component.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。