FreeShip MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
FreeShip MCP connects an AI client to the native FreeShip 26 document service. Read or edit a hull, compare loading and performance, and deliver an FBM model, DXF lines plan and a traceable assessment.
From a design brief to a selected hull
The example brief evaluates two variants of the same synthetic hull. The baseline exceeds the 12.55 kN resistance limit at 8 kn. Moving one amidships control point 50 mm outboard changes the computed resistance from 12.63 to 12.50 kN. The revised hull passes all ten brief checks. The selected hull's B-series match gives 9.17 kn at 130 kW and 200 rpm.
To reproduce it, copy synthetic-hull.fbm into the configured workspace. Give your client the example brief and call run_design_brief with model_path: "synthetic-hull.fbm" and a fresh output_directory, such as workboat-study. The server records the exact brief, candidate FBMs, calculation evidence and the selected hull's native DXF. The brief contains illustrative acceptance limits for preliminary design. Class rules, structural checks and real-vessel validation are separate work.
Related MCP server: Maxsurf MCP
Quick start
Use Windows x64, Python 3.11+ and an installed FreeShip 26 Windows runtime. Point to FreeShipDocumentService.exe inside its installation directory so the service can find its companion executables and Qt libraries.
git clone https://github.com/jiangshirong/FreeShip-MCP.git C:\MCP\FreeShip-MCP
cd C:\MCP\FreeShip-MCP
py -3.11 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements-dev.lock
.\.venv\Scripts\python.exe -m pip install --no-deps --no-build-isolation -e .
New-Item -ItemType Directory -Force C:\HullWork
Copy-Item examples\synthetic-hull.fbm C:\HullWork\Add a local stdio server in your MCP client. Adjust the paths to match your installation.
{
"mcpServers": {
"freeship": {
"command": "C:\\MCP\\FreeShip-MCP\\.venv\\Scripts\\python.exe",
"args": [
"-m", "freeship_mcp.server",
"--workspace", "C:\\HullWork",
"--fs26-service", "C:\\Users\\YourName\\AppData\\Local\\Programs\\FreeShip26Qt\\FreeShipDocumentService.exe"
]
}
}
}Run the same command with --check to verify that the FS26 service starts and list the available tools. Try asking the client to inspect synthetic-hull.fbm and calculate hydrostatics at a draft of 3 m. File paths are scoped to the workspace. Saved artifacts use new names and carry source provenance.
MCP tools
Task | Tools |
Read and verify models |
|
Model and refine a hull |
|
Calculate hydrostatics and stability |
|
Compare performance and match a propeller |
|
Deliver a design study |
|
inspect_model(include_control_net=true) returns the entity IDs and SHA-256 for the current file. Use that hash on edits, then inspect the saved copy before applying further edits. Model coordinates follow the model's units. Loading-book weights are in metric tonnes, coordinates and tank dimensions in metres, and tank fill in percent.
The FS26 backend exposes native van Oortmerssen, Hollenbach and Fung resistance methods and Wageningen B-series propulsion. inspect_performance_inputs lists the solver fields, units and ranges. The design-brief workflow uses Fung at the named load case's upright midpoint draft, within the brief's trim and upright GZ limits.
Development and credits
FS26 integration tests. Set
FREESHIP_MCP_TEST_FS26_SERVICEto the full path of the installed document service, then run.\.venv\Scripts\python.exe -m pytest -q -k "not standalone"after building the legacy test engine. Its instructions and historical verification records are in the development guide and verification notes.Legacy behavior. Existing launches without
--fs26-serviceselect the Lazarus engine. This path requires the legacy engine built from source. The Lazarus branch preserves the previous edition and its setup.License. GPL-3.0-or-later. See NOTICE for FreeShip, FreeShip Plus and dependency attributions. The original examples use synthetic geometry.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
Read surfaces, alignments, corridors and pipes in Civil 3D 2020–2027 on your PC. Needs Civil 3D MCP.
Global CAD/BIM, industrial engineering (FEM, CFD) and property tools via one MCP endpoint.
Read and edit the Revit 2024–2027 model on your PC. Needs the free Revit MCP add-in.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for full AutoCAD automation, AutoCAD LT automation, and headless DXF generation. It provides 8 consolidated tools for drawing, entity, layer, block, annotation, P&ID, view, and system operations via MCP stdio transport.1248MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to inspect models, set supported analysis inputs, and request operations from locally installed Bentley Maxsurf applications (Modeler, Stability, Resistance, Motions, Multiframe) through the Model Context Protocol.8MIT
- AlicenseCqualityBmaintenanceEnables MCP clients to create and edit technical drawings, manage layers and geometry, process GIS/research mapping data, generate previews and layouts, and automate AutoCAD documents on Windows through COM.225ISC
- AlicenseNot gradedqualityCmaintenanceEnables high-performance read/write operations, reconciliation, formula recalculation, pivot refresh, macro execution, and PDF export for spreadsheet workbooks on Windows.MIT