HullForge MCP Connector

HullForge MCP Connector

An MCP server that enables Claude to drive a running Unreal Engine 5 editor, managing communication between the editor plugin and the LLM client through stdio transport with session discovery, idempotent operations, and honest failure reporting.

Category
访问服务器

README

HullForge MCP connector

The MCP server half of HullForge, which lets Claude drive a running Unreal Engine 5 editor.

MIT licensed. This repository is the connector only.

What this is, and what it is not

HullForge is two programs.

This repository The connector. Speaks MCP to Claude over stdio, and a length-prefixed JSON protocol to the editor over loopback. MIT licensed.
The editor plugin A separate, proprietary Unreal Engine plugin that holds every tool and does all the work. Licensed under its own EULA and distributed via Fab. Not in this repository.

The connector contains no Unreal Engine logic. It is transport, framing, session discovery, and the MCP surface. On its own it does nothing useful: with no editor running it exposes exactly one tool, which tells you no editor is running.

Why it is a separate process

Embedding an MCP server directly in the C++ plugin would be one program instead of two, which sounds simpler. It is not.

The MCP surface changes far more often than the engine bindings. Splitting them means the protocol layer can be rebuilt in seconds without recompiling a C++ module and restarting the editor.

The editor's game thread is precious. Everything touching a UObject must run on it, and anything slow there freezes the editor. Keeping protocol, framing, retries and transport outside means only the actual work is marshalled onto that thread.

Crash isolation. A fault in protocol handling takes down a small external process, not an editor with unsaved work in it.

How it finds an editor

Nothing is configured. Each running editor advertises itself in a user-global registry:

%LOCALAPPDATA%/HullForge/sessions/<project>-<pid>.json

Each entry holds a port, a per-session token, the project name and path, and a process id. The connector scans that directory, filters by whether the process is actually alive, and prefers the editor it is already connected to so a second editor opening does not silently move the target mid-conversation.

It declares the MCP listChanged capability and watches that registry, so tools appear when an editor opens and disappear when it closes, without restarting the client. That matters because MCP servers are launched by the client: a connector that starts before the editor would otherwise report an empty tool list forever, since the client has no reason to ask again.

One tool, hf_bridge_status, is implemented here rather than in the editor. It is therefore always available, so "no tools" is never a silent state.

Reliability

Two things in here exist because the alternative loses work.

Idempotency. Every mutating call carries an operation_id. The connector generates one per call and reuses it on transport retry, so a dropped connection cannot apply the same change twice. The editor recognises a repeated id and returns the original result.

Honest failure states. A call that definitely failed and a call whose outcome is unknown are different answers and are reported differently. "Unknown" means the connector stopped waiting, not that nothing happened, and the caller is told to verify before retrying.

Development

Requires Python 3.13 and uv.

uv sync
uv run pytest                       # unit tests, no editor needed
uv run pytest -m integration        # needs a running editor with the plugin

Building the distributable binary:

.\Build-Sidecar.ps1                 # Nuitka, for release
.\Build-Sidecar.ps1 -Fast           # PyInstaller, local iteration only

Build-Sidecar.ps1 explains why release builds use Nuitka rather than PyInstaller, and re-runs a leak audit after every build rather than assuming the result.

Installing

Most people should not build this. Install the packaged .mcpb bundle, which contains a compiled binary and needs no Python.

In Claude Desktop: Settings > Extensions > Advanced settings > Extension Developer > Install Extension...

Double-clicking the .mcpb also works where the OS has an association registered for it, but the menu above is reliable everywhere.

Full instructions: jigwright.com/hullforge/docs

Privacy

The connector collects nothing, transmits nothing, and contacts no server. All communication is over loopback. Full policy: jigwright.com/privacy.

Support

Licence

MIT, see LICENSE. This applies to the connector in this repository only. The HullForge editor plugin is a separate proprietary product under its own terms.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选