Fme
БесплатноНе проверенUniversal, secure, extensible Model Context Protocol (MCP) server for Safe Software FME 2018.0 - 2026+, FME Form, FME Flow, and spatial data engineering.
Описание
Universal, secure, extensible Model Context Protocol (MCP) server for Safe Software FME 2018.0 - 2026+, FME Form, FME Flow, and spatial data engineering.
README
FME MCP
Universal, secure, production-grade Model Context Protocol (MCP) server for Safe Software FME (2018.0 – 2026+), FME Form, FME Flow, and spatial data engineering.
Usable by any standard MCP client: Claude Desktop, Claude Code, Cursor, VS Code, Antigravity, Windsurf, LangChain, and OpenAI Agents SDK.
🌟 Overview
Safe Software introduced native Model Context Protocol (MCP) support in FME 2026 (safe.mcp / MCPCaller in 2026.1 and native Flow MCP Server in 2026.2). However, many teams run on FME 2018.0 through 2025, which previously lacked any way to connect LLMs and AI agents with their spatial data pipelines.
FME MCP (fme-mcp) bridges this gap:
- Works with All FME Releases (2018.0 to 2026+): Works locally with FME Form (
fme.exeandfmeobjectsbindings) and remotely with FME Flow REST APIs (v3 & v4). - Dynamic Workspace Tools: Discovers
.fmwworkspaces, extracts published parameters, and exposes them as typed MCP tools for your AI assistant. - Desktop Interactivity: Live environment diagnostics, XML canvas topology inspection, detached GUI launching (
FME Workbench,FME Data Inspector), and dataset feature previews. - Security by Default: Directory sandboxing (
PathGuard), shell command guards (CommandGuard), network filtering (SSRF Guard), and automatic PII/credential redaction. - Outbound MCP Federation: Acts as both an MCP server and client, allowing multi-server tool chaining.
- Geospatial Utilities: Built-in coordinate reprojection, buffering, geometry validation, dataset profiling, and data contracts.
🏛️ System Architecture
flowchart TB
subgraph Clients["MCP Clients (LLMs & Agents)"]
C1["Claude Desktop / Claude Code"]
C2["Antigravity / Cursor / VS Code"]
C3["AI Agents SDK / LangChain"]
end
subgraph CoreServer["FME MCP Server"]
subgraph Transports["Transports"]
T1["Standard I/O (stdio)"]
T2["Streamable HTTP / SSE"]
end
subgraph Security["Security & Governance Layer"]
S1["PathGuard (Directory Sandboxing)"]
S2["CommandGuard (Subprocess Guard)"]
S3["SSRF Guard (Network Allowlist)"]
S4["RedactionEngine (Secret & PII Scrubbing)"]
S5["RBAC & ABAC Policy Engine"]
S6["Tamper-Evident Audit Chain"]
end
subgraph Engine["FME Abstraction Engine"]
E1["FME Form Local Runner (fme.exe & fmeobjects)"]
E2["FME Flow REST Client (v3/v4)"]
E3["Parameter Mapper & Schema Inferer"]
E4["Log Streamer & Diagnostic Parser"]
end
subgraph Tools["Tools Registry (240+ Capabilities)"]
TL1["Workspaces & Jobs"]
TL2["Spatial & GIS (Vector, Raster, CAD/BIM)"]
TL3["Data Engineering & Profiling"]
TL4["Quality & Data Contracts"]
TL5["Catalogue & Lineage"]
TL6["MCP Federation (MCPCaller Client)"]
end
end
subgraph Targets["Target Infrastructure"]
FME_Form["Local FME Form Engine (2018.0 - 2026+)"]
FME_Flow["Enterprise FME Flow Server"]
Ext_MCP["Remote Federated MCP Servers"]
end
Clients --> Transports
Transports --> Security
Security --> Engine
Engine --> Tools
Engine --> FME_Form
Engine --> FME_Flow
Tools --> Ext_MCP
⚡ 1-Command Universal Installation (Recommended)
Get up and running immediately with FME MCP — ZERO dependencies (no Python, no uv, and no uvx needed)!
The universal installer automatically discovers your local FME Form installation, hooks into its native engine runtime or fetches the pre-built standalone binary, and automatically configures Claude Desktop, Cursor, Antigravity, VS Code, and Windsurf:
Windows (PowerShell)
irm https://raw.githubusercontent.com/mwjouini/fme-mcp/main/scripts/install.ps1 | iex
Linux / macOS (Bash)
curl -fsSL https://raw.githubusercontent.com/mwjouini/fme-mcp/main/scripts/install.sh | bash
✨ Key Highlights of the 1-Command Installer:
- Zero External Dependencies: Operates out-of-the-box on standard systems without requiring Python, uv, or build tools.
- Native FME Form Engine Detection: Seamlessly detects FME Form (2018.0 through 2026+) via Windows Registry, environment variables (
FME_HOME,FME_DIR), standard directories (C:\Program Files\FME,/opt/fme), and systemPATH.- Auto-Configures AI Clients: Instantly detects and writes ready-to-run MCP configurations for Claude Desktop, Cursor, Antigravity, VS Code, and Windsurf.
- Instant Health Verification: Automatically runs
fme-mcp doctorto verify licenses, engine bindings, and spatial tools.
📦 Alternative Installation Options
Option A: Standalone Executable (GitHub Releases)
Download pre-compiled self-contained single-file binaries (fme-mcp.exe for Windows, fme-mcp for Linux) directly from GitHub Releases with no installation or Python required.
Option B: Run with uvx (For Python / uv Developers)
uvx fme-mcp serve --transport stdio
Option C: Standard pip Installation
pip install fme-mcp
fme-mcp doctor
fme-mcp serve --transport stdio
🔌 MCP Client Configurations
[!TIP] Automatic Setup Available: If you ran the 1-Command Universal Installation, your MCP clients (Claude Desktop, Cursor, Antigravity, VS Code, Windsurf) have already been auto-detected and configured! The manual configurations below are provided for custom setups or reference.
1. Claude Desktop
Add this to %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
Option A — With uvx (If uv is installed):
{
"mcpServers": {
"fme-mcp": {
"command": "uvx",
"args": ["fme-mcp", "serve", "--transport", "stdio"]
}
}
}
Option B — With Python (py on Windows after py -m pip install fme-mcp):
{
"mcpServers": {
"fme-mcp": {
"command": "py",
"args": ["-m", "fme_mcp.cli.main", "serve", "--transport", "stdio"]
}
}
}
Option C — Standalone FME Form Engine (Uses FME's embedded Python runtime):
{
"mcpServers": {
"fme-mcp": {
"command": "C:\\Program Files\\FME\\fme.exe",
"args": ["python", "-m", "fme_mcp.cli.main", "serve", "--transport", "stdio"]
}
}
}
2. Antigravity / Cursor / VS Code
Add to your client's MCP configuration settings:
{
"mcpServers": {
"fme-mcp": {
"command": "fme-mcp",
"args": ["serve", "--transport", "stdio"]
}
}
}
3. Streamable HTTP / Docker Deployment
docker run -d --name fme-mcp \
-p 8000:8000 \
-e FME_FLOW_URL="https://fme-flow.your-org.com" \
-e FME_FLOW_TOKEN="your-fme-flow-api-token" \
ghcr.io/mwjouini/fme-mcp:latest
4. FME Workbench Desktop Live Hook
To allow FME Workbench to report live translation events (status, duration, features read/written) directly to your AI agent:
- Open FME Workbench: Navigator -> Workspace Parameters -> Scripting.
- Paste examples/fme-workbench/startup_script.py into Startup Python Script.
- Paste examples/fme-workbench/shutdown_script.py into Shutdown Python Script.
- Read the full FME Desktop Integration Guide.
🧰 Highlighted Tools Catalogue
| Domain | Key Tools | Description |
|---|---|---|
| Desktop Interactivity | fme_diagnose, fme_inspect_canvas, fme_open_in_workbench, fme_open_in_inspector, fme_preview_dataset |
Live environment diagnosis, XML canvas graph parsing, detached GUI launching, and instant dataset feature preview. |
| Workspaces | fme_discover_workspaces, fme_get_workspace, fme_run_workspace, fme_compare_workspaces, fme_audit_performance, fme_export_markdown_docs |
Crawls directories, extracts published parameters, audits performance bottlenecks, exports markdown documentation, and executes .fmw workspaces. |
| Spatial Analysis | gis_reproject, gis_buffer, gis_validate_geometry, gis_intersection, gis_difference, gis_simplify, gis_bounding_box |
High-precision CRS conversion (EPSG:4326 to 2154 / 3857), spatial boolean operations (intersection/difference), polygon simplification, bounding box extraction, circular buffering, and polygon validation. |
| Data Engineering | data_read_metadata, data_profile |
Column analysis, null counts, distinct value distribution, and format inspection. |
| Data Quality | quality_score_dataset, quality_generate_data_contract |
Computes completeness scores and generates standard Data Contract YAML. |
| Catalogue | catalog_register_asset, catalog_search_assets, catalog_get_lineage |
Registers datasets, performs semantic search, and maps upstream/downstream dependencies. |
| Orchestration | workflow_create, workflow_get, workflow_run |
Constructs multi-step execution DAGs combining FME, validation checks, and scripts. |
| MCP Federation | mcp_register_server, mcp_list_servers |
Connects external MCP servers to chain tools and fan-out requests. |
| Governance | gov_get_tenant_config, gov_redact_pii, gov_classify_dataset |
Enforces GDPR/UK-GDPR data classification and automated PII scrubbing. |
| Diagnostics | fme_info, fme_list_transformers, fme_list_packages, fme_execute_python |
Queries build/licensing, searches 500+ transformers, and runs in-engine Python. |
🛡️ Enterprise Security Model
FME MCP is engineered with a strict Default-Deny security posture:
- PathGuard: Enforces canonical path resolution (
os.path.realpath) and verifies containment withinFME_ALLOWED_DIRS. Traversal escapes (..) and null bytes are rejected. - CommandGuard: Zero shell invocations (
shell=False). Executable names and arguments are validated against an authorised binary whitelist, blocking metacharacter injection (|,;,&,$). - SSRF Guard: Pre-resolves outbound DNS hostnames and prevents calls to loopback (
127.0.0.1), private networks (10.0.0.0/8,192.168.0.0/16), and cloud metadata APIs (169.254.169.254). - RedactionEngine: Real-time scrubbing of Bearer tokens, API credentials, email addresses, and payment card numbers before output delivery.
- Role-Based Access Control (RBAC): Enforces role permissions (
platform_admin,workspace_operator,spatial_analyst,auditor,read_only).
📊 FME Version Compatibility
FME MCP is compatible with all versions of Safe Software FME from 2018.0 through 2026+:
| FME Version | Compatibility | FME Form (Desktop) | FME Flow (Server) | How it works |
|---|---|---|---|---|
| FME 2026+ | Full | ✅ Yes | ✅ Yes | Works alongside native FME 2026 MCP endpoints, adding stdio desktop transport and security controls. |
| FME 2025.x | Full | ✅ Yes | ✅ Yes | Direct fme.exe execution, in-memory fmeobjects bindings, canvas XML topology parsing, FME Flow REST v3. |
| FME 2021 – 2024 | Full | ✅ Yes | ✅ Yes | Identical .fmw XML canvas schema, CLI commands, and FME Flow REST v3 API. |
| FME 2018 – 2020 | Full | ✅ Yes | ✅ Yes | Full support for FME Server REST API v3 (introduced in 2018.0) and local workspace execution. |
| FME 2015 – 2017 | Partial | ⚠️ CLI Only | ❌ Legacy REST v2 | Command-line fme.exe workspace runner supported; REST API v2 deprecated. |
💻 CLI Usage
# Verify environment and FME installation
fme-mcp doctor
# Inspect a workspace file
fme-mcp inspect path/to/workspace.fmw
# Launch stdio server for desktop clients
fme-mcp serve --transport stdio
# Launch Streamable HTTP server
fme-mcp serve --transport streamable-http --host 0.0.0.0 --port 8000
🤝 Contributing
Contributions are welcomed under our Contributing Guide and Code of Conduct.
📄 Licence
Licensed under the Apache License 2.0. See LICENSE for details. Copyright © 2026 Mohamed Wael JOUINI and Contributors.
Установить Fme в Claude Desktop, Claude Code, Cursor
unyly install fmeСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add fme -- uvx fme-mcpПошаговые гайды: как установить Fme
FAQ
Fme MCP бесплатный?
Да, Fme MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Fme?
Нет, Fme работает без API-ключей и переменных окружения.
Fme — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Fme в Claude Desktop, Claude Code или Cursor?
Открой Fme на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
автор: S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
Mcp
ModelContextProtocol server for enhancing JSON Resumes
автор: mcpflow.ioVault
Bitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write
автор: agbergsmannAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiCompare Fme with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
