fds-mcp-server
Click on "Deploy 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., "@fds-mcp-server check simple_test.fds for errors before I run the simulation"
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.
fds-mcp
English · Français
MCP server for
Fire Dynamics Simulator (FDS, NIST). Any MCP
client — Claude, GitHub Copilot in VS Code, Cursor, Gemini CLI, ChatGPT, local models —
can check an .fds file before spending hours of CPU on it, summarise the case,
read the results (_hrr.csv, _devc.csv) and get FDS modelling help. Intended
for fire safety engineers and researchers who use FDS.
Status: alpha. Running FDS from the server (
fds_run_simulation,fds_get_status,fds_stop_simulation) is not available yet: these tools answer "not available".
Tools
Everything is exposed as tools (no client needs resources or prompts); names start with
fds_, choices are enums.
Tool | Purpose |
| Checks an |
| Meshes, cells, cell sizes, duration, fires (HRRPUA × area → HRR), devices by |
|
|
|
|
| Documented placeholders ("not available: FDS is not installed"). The |
Example fds_validate_input summary:
simple_test.fds: OK - 0 error(s), 0 warning(s), 1 info(s)
[info] line 9 &SURF: fire SURF 'BURNER': HRR ~ 160.0 kW (1000 kW/m2 x 0.16 m2), D* = 0.461 m, dx = 0.1 m, D*/dx = 4.6 (4-10: coarse)Related MCP server: CFAST MCP
Install and run
Requirement: uv (it fetches Python ≥ 3.10 if needed).
uvx fds-mcp-server # stdio server (what MCP clients start)
uvx fds-mcp-server --helpThe PyPI distribution is fds-mcp-server (the name fds-mcp belongs to an
unrelated project); the package installs both commands fds-mcp-server and fds-mcp.
Until the first PyPI release, use the repository instead:
uvx --from git+https://github.com/Skitourer/fds-mcp-server fds-mcp-server.
Options: --workspace DIR (only files inside DIR are accessible; also
FDS_MCP_WORKSPACE), --http, --host, --port (see HTTP transport).
Client configuration
Claude Code
claude mcp add fds -- uvx fds-mcp-server
# confined to a project folder:
claude mcp add fds -- uvx fds-mcp-server --workspace /path/to/project
# HTTP server already running:
claude mcp add --transport http fds http://127.0.0.1:8000/mcp --header "Authorization: Bearer <token>"VS Code (GitHub Copilot, agent mode)
.vscode/mcp.json in the project:
{
"servers": {
"fds": {
"type": "stdio",
"command": "uvx",
"args": ["fds-mcp-server", "--workspace", "${workspaceFolder}"]
}
}
}HTTP variant (the token is asked once and stored by VS Code):
{
"inputs": [
{ "type": "promptString", "id": "fds-token", "description": "fds-mcp token", "password": true }
],
"servers": {
"fds": {
"type": "http",
"url": "http://127.0.0.1:8000/mcp",
"headers": { "Authorization": "Bearer ${input:fds-token}" }
}
}
}Cursor
.cursor/mcp.json in the project (or ~/.cursor/mcp.json for all projects):
{
"mcpServers": {
"fds": { "command": "uvx", "args": ["fds-mcp-server"] }
}
}HTTP variant:
{
"mcpServers": {
"fds": {
"url": "http://127.0.0.1:8000/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}Other clients
stdio: command
uvx, arguments["fds-mcp-server"](Claude Desktop, Gemini CLImcpServers, local-model front-ends such as LM Studio…).HTTP: URL
http://<host>:<port>/mcpwith the headerAuthorization: Bearer <token>.Web-hosted assistants (e.g. ChatGPT connectors) can only reach a public HTTPS URL and may not accept a static bearer token: check the client's current documentation before exposing the server.
HTTP transport
# bash
export FDS_MCP_TOKEN="$(python -c 'import secrets; print(secrets.token_urlsafe(32))')"
uvx fds-mcp-server --http --workspace /path/to/cases # http://127.0.0.1:8000/mcp# PowerShell
$env:FDS_MCP_TOKEN = python -c "import secrets; print(secrets.token_urlsafe(32))"
uvx fds-mcp-server --http --workspace C:\FDS\casesSecurity model:
every request needs
Authorization: Bearer <FDS_MCP_TOKEN>(16 characters minimum, compared in constant time); the server refuses to start without it;every path must resolve inside the workspace (default: the current folder);
..and symbolic links pointing outside are refused; responses show paths relative to it;no tool runs a command chosen by the client (the future
fds_run_simulationwill only start the FDS executable configured on the server);the server listens on
127.0.0.1by default, with FastMCP's DNS-rebinding protection; to expose it on a network, put it behind an HTTPS reverse proxy.
Testing with MCP Inspector
MCP Inspector (needs Node.js) lists the tools with their schemas and lets you call them by hand:
npx @modelcontextprotocol/inspector uvx fds-mcp-server # web UI, stdio
npx @modelcontextprotocol/inspector --cli uvx fds-mcp-server --method tools/list
npx @modelcontextprotocol/inspector --cli uvx fds-mcp-server --method tools/call \
--tool-name fds_get_guide --tool-arg topic=mesh_resolutionFor HTTP: start the server with --http, then in the Inspector UI choose transport
"Streamable HTTP", URL http://127.0.0.1:8000/mcp, and enter the token as Bearer token
under "Authentication". From a clone, uv run mcp dev src/fds_mcp/server.py opens the
Inspector on the working copy.
Development
git clone https://github.com/Skitourer/fds-mcp-server.git && cd fds-mcp-server
uv sync
uv run poe check # ruff, format, pyright strict, pytest + coverage (same as CI)Architecture and conventions: AGENTS.md; decisions: docs/adr.
Test data (FDS verification and validation cases, NIST public domain): tests/data/README.md.
New FDS release:
uv run python scripts/extract_namelists.py <fds>/Source FDS-x.y.z.Release: publishing a GitHub release runs
.github/workflows/publish.yml(PyPI trusted publishing).
Roadmap
Install FDS on the Windows PC, run a real test case.
Implement
fds_run_simulation(asynchronous process,job_id, optionalmpiexec, executable fromFDS_EXECUTABLEor thePATH),fds_get_status(readsCHID.out) andfds_stop_simulation(CHID.stop), and validate them on real outputs.
Licence
MIT. Files under tests/data/ come from NIST and keep their own notice
(LICENSE-NIST.md).
Developed with the help of Claude (Anthropic).
Available Tools
7 toolsfds_get_guideFDS modelling guideARead-onlyIdempotent
Get practical help on FDS modelling, as Markdown text.
Args: topic: "workflow" (how to use these tools, in which order), "mesh_resolution" (D*/dx, cell size for a given fire), "best_practices" (set-up checklist), "common_errors" (FDS error messages, causes and fixes) or "outputs" (FDS output files).
Returns:
topic, content (Markdown) and other_topics.
Inputs: topic. Returns: object
fds_get_statusStatus of an FDS simulation (not available yet)ARead-only
Report the progress of a simulation (not available yet).
Planned: state (running, completed, failed, stopped by user), simulated time versus T_END, time step, CFL, ERROR and WARNING lines from CHID.out.
Args: job_id: identifier returned by fds_run_simulation.
Returns:
For now available is false and message explains what to do.
Inputs: job_id (required). Returns: object
fds_read_resultsRead FDS results (hrr and devc CSV)ARead-onlyIdempotent
Read the time series FDS writes to CHID_hrr.csv and CHID_devc.csv.
Without column: per file, each column with unit, min, max, time of max
and final value, plus the first and last preview_rows rows (first 8
columns). With column: that column between t_start and t_end, at
most max_points points (evenly downsampled) and its statistics.
Args:
directory: folder holding the outputs (usually the folder of the .fds
file), absolute or relative to the server workspace.
chid: CHID of the case (&HEAD CHID), without suffix, e.g. "room_fire".
file: "hrr" (heat release rate), "devc" (devices) or "all".
column: exact column name, e.g. "HRR" or a DEVC ID; omit to get the
overview with all column names.
t_start: start of the time window in s (with column).
t_end: end of the time window in s (with column).
preview_rows: rows shown at each end of a file (0 to 50).
max_points: maximum points returned for column (2 to 2000).
Returns:
files (overview) or series (one column); times in s, values in the
unit given for each column.
Inputs: chid (required), directory (required), file, t_end, +4 more. Returns: object
fds_run_simulationRun an FDS simulation (not available yet)A
Start FDS on an input file in the background (not available yet).
Planned: validate the file, start FDS in the file's folder, return a
job_id at once; follow it with fds_get_status.
Args: path: .fds file, absolute or relative to the server workspace. mpi_processes: MPI processes, at most one per mesh. openmp_threads: OpenMP threads per MPI process.
Returns:
For now available is false and message explains what to do.
Inputs: path (required), mpi_processes, openmp_threads. Returns: object
fds_stop_simulationStop an FDS simulation (not available yet)ADestructive
Stop a simulation cleanly by creating CHID.stop (not available yet).
Args: job_id: identifier returned by fds_run_simulation.
Returns:
For now available is false and message explains what to do.
Inputs: job_id (required). Returns: object
fds_summarize_inputSummarize an FDS input fileARead-onlyIdempotent
Describe an FDS input file (.fds): what will be simulated.
Args: path: .fds file, absolute or relative to the server workspace.
Returns:
CHID and title, duration (T_BEGIN, T_END in s), meshes (count, total
cells, cell sizes in m, first 20 meshes), fires (SURF, HRRPUA in kW/m2,
area in m2, estimated peak HRR in kW), defined IDs, geometry counts,
devices by QUANTITY, requested outputs, and a plain-text text.
Inputs: path (required). Returns: object
fds_validate_inputValidate an FDS input fileARead-onlyIdempotent
Check an FDS input file (.fds) for mistakes before running it.
Checks: unknown namelist groups or parameters (FDS 6.11 reference); &HEAD, &TIME with T_END, and &MESH present; OBST, VENT and DEVC inside the meshes; undefined SURF_ID, MATL_ID, PROP_ID, CTRL_ID, DEVC_ID, PART_ID or RAMP references; duplicate IDs; mesh resolution D*/dx of each fire.
Args:
path: .fds file, absolute or relative to the server workspace.
min_level: lowest severity listed in issues ("error", "warning" or
"info"); counts always covers all issues.
Returns:
valid (true when there is no error), counts per level, issues
(level, code, message, line, group) and a plain-text summary.
Fix errors first, then call again. For background on a finding, call
fds_get_guide (topics common_errors, mesh_resolution).
Inputs: path (required), min_level. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct stage of the FDS workflow: documentation (get_guide), pre-run checking (validate_input), description (summarize_input), post-run analysis (read_results), and the execution trio (run/get_status/stop). Validate vs. summarize could look similar at a glance, but the descriptions sharply separate error-checking from descriptive summary, and the job_id-based run/status/stop split is explicit.
Every tool uses the same `fds_` prefix followed by a verb_noun pattern (get_guide, validate_input, summarize_input, read_results, run_simulation, get_status, stop_simulation). The one variation (get_* for retrieval vs. action verbs) is a principled and predictable distinction.
Seven tools is a well-scoped size for a focused simulation-support server, with no redundant entries. However, three of the seven are explicitly unavailable stubs, so the effective working surface is only four tools, which makes the set feel somewhat thinner than the count suggests.
The lifecycle is conceptually well mapped (help, validate, summarize, run, monitor, stop, read results), but the entire execution path — run, status, stop — is unimplemented, leaving a dead end for agents asked to actually launch or monitor a case. Agents can work around this by having the user run FDS externally and then using read_results, but core operations are missing.
Maintenance
Related MCP Connectors
Physics-based validation of simulation results: receipts with per-check verdicts, via MCP.
Read surfaces, alignments, corridors and pipes in Civil 3D 2020–2027 on your PC. Needs Civil 3D MCP.
Read and edit the Revit 2024–2027 model on your PC. Needs the free Revit MCP add-in.
Global CAD/BIM, industrial engineering (FEM, CFD) and property tools via one MCP endpoint.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables AI agents to interact with Nastran FEA models by reading, writing, and analyzing BDF and OP2 files. It provides tools for mesh quality assessment, geometric analysis, and automated report generation for structural engineering workflows.3MIT
- AlicenseAqualityCmaintenanceEnables LLMs to build, inspect, run, and analyze CFAST fire models step by step via tools for compartments, materials, vents, fires, devices, and surface connections, with simulation and result summaries.221MIT

BULC MCPofficial
AlicenseBqualityCmaintenanceEnables AI assistants to drive a locally running desktop fire-simulation app through natural language — opening projects, recognizing drawings, building geometry and meshes, running fire/smoke, evacuation, HVAC smoke-control and sprinkler water-spray hydraulics analyses, and reviewing ASET/RSET results. Ships an ontology, rule set, glossaries and step-by-step playbooks so prompts stay accurate and errors are caught before a run.2491MIT- AlicenseAqualityBmaintenanceEnables MCP clients such as Claude to inspect Archicad projects, find and correct missing door fire ratings with preview and approval safeguards, and measure and price walls with Excel export.9MIT