hermes-architectural-mcp
Hermes Architectural MCP
一个开源、以 Docker 为先的 MCP 服务,可将现有建筑平面图转换为经过尺寸验证的毫米几何体、IFC 模型,以及为 Hermes Studio 生成一致的 CPU 渲染视图。
它保证什么
该服务将视觉解读与确定性几何体分离。在其明确的 PlanSpec 通过边界、预期面积、包含关系和重叠检查之前,它不会导出 IFC 或渲染项目。
PDF 尺寸仅被视为候选值。精确几何体必须以毫米表示并通过验证。这可以防止 100 m2 的平面图被呈现为视觉上放大但尺寸上缺乏依据的设计。
功能
检查矢量或栅格 PDF 平面图并渲染审查预览;
检测尺寸文本候选值,但不自动信任它们;
验证场地边界、空间、总面积、包含关系和重叠;
使用 IfcOpenShell 将验证过的墙体导出为 IFC;
构建一个 Blender 模型并在 CPU 上渲染可重复的室内/室外视图;
持久化源文件、报告、IFC、
.blend和 PNG 输出;通过
/mcp上的 MCP Streamable HTTP 公开工具。
这是一个早期工程版本。它不能替代持证专业人士进行的建筑、结构、生命安全、无障碍或当地规范审查。
使用 Dockhand 部署
提供的 compose.yaml 加入名为 proxy 的现有外部 Docker 网络,并且不发布主机端口。
使用
compose.yaml创建或更新 Dockhand 堆栈。确认
proxy网络已存在。部署该堆栈。
从
proxy上的另一个容器验证:
curl http://architectural-mcp:8000/health在 Hermes Studio 中,添加一个 HTTP MCP 服务器,配置为:
http://architectural-mcp:8000/mcp将
hermes-skill/SKILL.md作为 Hermes 技能导入。
容器将项目存储在命名卷 architectural_projects 中。
内部 PDF 上传
MCP 工具接受 base64 PDF,但本地文件通过内部 Docker 网络上载效率更高:
curl --fail --silent --show-error \
-H 'Content-Type: application/pdf' \
--data-binary '@/workspace/plan.pdf' \
'http://architectural-mcp:8000/api/projects/my-project/plan-pdf'所提供的堆栈中未向主机发布任何上传路由。
开发
uv sync --extra dev
uv run ruff check src tests
uv run pytest -q
docker build -t hermes-architectural-mcp:local .MCP 工具
service_infoanalyze_plan_pdfcreate_or_update_planvalidate_projectexport_project_ifcrender_project_viewslist_project_outputs
有关 PlanSpec 的结构,请参阅 examples/restaurant-100m2.json。
容器发布
推送到 main 会运行测试并将 linux/amd64 镜像发布到:
ghcr.io/twuijri/hermes-architectural-mcp:latest许可证
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 Connectors
Construction takeoff and estimating for AI agents. Measure a drawing PDF, export a priced estimate.
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
PDF accessibility checks (veraPDF PDF/UA-1), auto-fix and Markdown conversion. EU-hosted.
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/twuijri/hermes-architectural-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server