robot-structural-mcp
Provides tools for interacting with Autodesk Robot Structural Analysis Professional, enabling reading of model data (nodes, bars, panels, sections, materials, supports), load cases and combinations, running calculations, and retrieving analysis results such as bar forces, node displacements, and reactions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@robot-structural-mcpShow me the extreme bar forces for all members."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
robot-structural-mcp
MCP server cho Autodesk Robot Structural Analysis Professional. Cho phép trợ lý AI đọc mô hình và kết quả phân tích trực tiếp từ phiên Robot đang mở.
Khác với Revit, Robot không cần add-in: Robot.Application là COM server ngoài
process, nên chỉ cần cài Python là chạy. Không phải build DLL, không cần quyền admin.
Yêu cầu
Windows + Autodesk Robot Structural Analysis Professional (kiểm thử trên bản 2027)
Python 3.11+ và uv
Robot đang chạy và đã mở một mô hình — server gắn vào instance đang chạy qua
GetActiveObject, nó không tự khởi động Robot
Related MCP server: Revit MCP Server
Cài đặt
git clone https://github.com/<user>/robot-structural-mcp.git
cd robot-structural-mcp
.\install.ps1install.ps1 tạo virtualenv, cài phụ thuộc và ghi cấu hình MCP vào ~/.claude.json.
Khởi động lại Claude sau khi cài.
Cấu hình thủ công nếu muốn:
{
"mcpServers": {
"robot": {
"type": "stdio",
"command": "<repo>\\.venv\\Scripts\\python.exe",
"args": ["-m", "robot_mcp"],
"env": { "ROBOT_MCP_MAX_ITEMS": "200" }
}
}
}An toàn: mặc định chỉ-đọc
Server không sửa mô hình trừ khi bạn cho phép rõ ràng. Các tool ghi
(robot_save, robot_open_model) sẽ từ chối cho tới khi đặt:
ROBOT_MCP_ALLOW_WRITE=1robot_run_calculation không nằm dưới cờ này vì nó không sửa mô hình, nhưng nó ghi đè
kết quả và chạy lâu, nên bắt buộc truyền confirm=true.
Đơn vị — đọc kỹ phần này
RobotOM luôn trả về đơn vị SI (m, N, N·m, Pa, rad) bất kể giao diện Robot đang hiển thị gì. Lấy thẳng số đó rồi coi như đơn vị trên màn hình là cách sai hệ số 1000 mà nhìn vẫn hợp lý — nguy hiểm nhất trong tính toán kết cấu.
Vì vậy mọi kết quả trả về đều kèm khối units tường minh, và được quy đổi qua
robot_mcp/units.py. Mặc định: kN, kNm, m, mm (chuyển vị), MPa.
Đổi bằng tool robot_units hoặc biến môi trường ROBOT_MCP_UNIT_FORCE,
ROBOT_MCP_UNIT_MOMENT, ROBOT_MCP_UNIT_LENGTH, ROBOT_MCP_UNIT_DISPLACEMENT,
ROBOT_MCP_UNIT_STRESS.
Tools
Kết nối & dự án
Tool | Việc |
| Kiểm tra kết nối, tên/đường dẫn mô hình, số lượng đối tượng, kết quả đã có chưa |
| Xem/đổi đơn vị đầu ra |
| Lưu mô hình — WRITE |
| Mở file .rtd khác — WRITE |
Mô hình
Tool | Việc |
| Tổng quan: số lượng, bounding box, danh sách tiết diện/vật liệu/gối |
| Nút và toạ độ |
| Thanh: nút đầu/cuối, chiều dài, tiết diện, vật liệu, release |
| Tấm |
| Nhãn tiết diện / vật liệu |
| Nhãn gối, release và đối tượng mang nhãn |
Tải trọng
Tool | Việc |
| Toàn bộ trường hợp tải và tổ hợp |
| Chỉ tổ hợp, kèm case thành phần và hệ số |
| Các bản ghi tải trong một case |
Phân tích
Tool | Việc |
| Kết quả đã sẵn sàng chưa, trạng thái lần tính cuối |
| Chạy phân tích (cần |
Kết quả
Tool | Việc |
| Nội lực dọc thanh (FX/FY/FZ, MX/MY/MZ) theo vị trí tương đối 0–1 |
| Bao nội lực min/max từng thành phần, kèm vị trí xảy ra |
| Chuyển vị và góc xoay |
| Phản lực gối — đầu vào cho thiết kế móng |
Phát triển
Tool | Việc |
| Duyệt chỉ-đọc cây đối tượng RobotOM để tìm API chưa được bọc |
Chọn đối tượng
Các tool nhận selection theo cú pháp gốc của Robot: "1 3 5to9", "all",
"1to100by2". Bỏ trống thì lấy tất cả. Nhờ vậy truy vấn bám sát thói quen dùng Robot
thay vì phải liệt kê số hiệu.
Phân trang
Mô hình vài chục nghìn phần tử sẽ làm vỡ context nếu đọc hết một lần. Mọi tool liệt kê
đều có limit/offset và bị chặn trên bởi ROBOT_MCP_MAX_ITEMS (mặc định 200).
Kết quả trả về luôn có cờ truncated.
Ghi chú thiết kế
Một thread STA duy nhất. Robot chỉ trả lời trên thread đã khởi tạo COM apartment, còn MCP runtime gọi tool trên thread bất kỳ. Toàn bộ lời gọi được dồn qua
_Workertrongcom.py.Hằng số lấy từ type library, không viết theo trí nhớ.
I_OT_BAR=1,I_LT_BAR_SECTION=3… được đọc trực tiếp từrobotom.tlbbằngmakepy. Sai một hằng số ở đây là số liệu sai âm thầm.Kết quả kiểm tra trước khi đọc. Mọi tool kết quả kiểm
Results.Availabletrước, nếu chưa tính thì báo lỗi rõ ràng thay vì trả số cũ.Tắt cửa sổ tiến trình trước khi
Calculate()— hộp thoại modal của Robot sẽ chặn toàn bộ COM nếu để bật.
Lộ trình
Giai đoạn 2 (cầu nối thiết kế): export_bar_forces_table, get_design_envelope,
export_reactions_table, get_required_reinforcement, get_steel_design_results.
Giai đoạn 3 (dựng mô hình): tạo/sửa nút, thanh, tấm, gối, tải, tổ hợp.
Giấy phép
MIT
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
- AlicenseAqualityFmaintenanceAllows AI to interact with Autodesk Revit via the MCP protocol, enabling retrieval of project data and automation of tasks like creating, modifying, and deleting elements.1332447MIT
- AlicenseBquality-maintenanceAllows AI assistants to interact with Autodesk Revit through the MCP protocol, enabling the AI to create, modify, and delete elements in Revit projects.15321
- Alicense-qualityAmaintenanceMCP server for Autodesk Revit (BIM) with 705+ API endpoints. Enables AI agents to create walls, place doors/windows, generate sheets, manage views, and produce construction documents via the Model Context Protocol. Uses named pipes for zero-crash Revit integration.22MIT
- Flicense-qualityCmaintenanceNode.js MCP server enabling AI assistants to interact with Autodesk Revit for model operations, data queries, and sketch-to-building generation via LLM.231
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
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/TranTriLuc/robot-structural-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server