IfcSAFE
MCP server that enables LLM agents to talk with IFC (Industry Foundation Classes) files
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
An MCP server that enables LLM agents to talk with IFC (Industry Foundation Classes) files
Star History
[](https://www.star-history.com/#smartaec/ifcMCP&Date)
related packages
- ifcopenshell
- FastMCP
supported tools
- get_entities
- getnamedpropertyofentities
- getentityproperties
- getentitylocation
- getentitiesin_spatial
- getopeningson_wall
- getspaceboundaries
how to use it
- clone this repo
- install packages needed: ifcopenshell, FastMCP
- start command line interface in folder
ifcMCP, and run the commandpython server.py - open your favorite LLM tools and setup MCP server with the following configuration:
{
"mcpServers": {
"ifcMCP-server": {
"name": "ifcMCP",
"type": "streamableHttp",
"description": "A simple MCP server to handle ifc files",
"isActive": true,
"tags": [],
"baseUrl": "http://127.0.0.1:8000/mcp"
}
}
}contributors
Jia-Rui Lin (lin611#tsinghua.edu.cn)
Department of Civil Engineering, Tsinghua University
Key Laboratory of Digital Construction and Digital Twin led by Prof. Peng Pan
cite us
@article{JRLin2506,
author = {Jia-Rui Lin and Peng Pan},
title = {ifcMCP: Enabling LLM agents to talk with IFC files},
year = {2025}
}640c12f58e75OBSERVED · 2026-10-08Exposed tools (8)
8 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_entities | read | |
get_entities_in_spatial | read | |
get_entity_location | read | |
get_entity_properties | read | |
get_named_property_of_entities | read | |
get_openings_on_wall | read | |
get_space_boundaries | read | |
greet | read | return f |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (2)
"baseUrl": "http://127.0.0.1:8000/mcp"
250608_ifcMCP_demo_acc.gif
Gates applied: no_behavioural_pass.
640c12f58e75full audit observations/trust-audit/mcp-server/smartaec__ifc.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 640c12f58e75 | SAFE | B | 89 | first audit |
Questions
What is the Ifc MCP server?
MCP server that enables LLM agents to talk with IFC (Industry Foundation Classes) files
What tools does Ifc expose?
8 in total: 8 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Ifc safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Ifc need?
No credential environment variables were found in its source, so it appears to need none.
How does Ifc run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts.
How current is this page?
The grade is for one exact copy of the source (640c12f58e75), read on 2026-10-08. The repository is watched and re-audited when it changes.