VERA MCP Server
Enables AI clients like Claude Code, Cursor, or VS Code to drive the Unreal Editor: execute Python, capture screenshots, tail logs, check status, and run VERA commands.
README
<div align="center">

VERA — Virtual Engine Reasoning Agent
An AI co-pilot that lives inside the Unreal Editor. Chat with an LLM that inspects your level, runs editor tools, sees the viewport, and verifies its own work — powered by the brain you choose (cloud or fully local).
</div>
Why did we build it? Because pasting LLM snippets into Unreal and praying isn't a workflow — and because the Auto-Fixer turned out cheaper than a new keyboard. 🧱⌨️
<div align="center"> <img src="docs/images/animated_vera_logo.gif" alt="VERA in Action" /> </div>
Table of contents
- Why VERA
- Features
- The brain — bring your own LLM
- How it works
- Built-in tools
- Plugins
- MCP — drive the editor from your IDE
- Install
- Configuration
- Usage
- Architecture
- Contributing
- FAQ
- Support — The Co-Pilot Pact
- License
Why VERA
Most "AI for Unreal" tools are a chat box that hands you a snippet to paste. VERA is an agent: you ask in plain language, and it plans, calls the tools it needs, looks at the result, and fixes things if something fails — inside your editor.
- Your brain, your rules. OpenAI, Anthropic, Gemini, or any local
OpenAI-compatible server. Run it 100% offline with a local model, or reach for a
frontier model when you want more power. Keys live in your
.envand never leave your machine. - It actually sees. VERA renders the viewport (via
SceneCapture2D, even with the editor minimized) and reasons over the image — to inspect an actor, judge an animation, or critique a composition. - It acts safely. Read-only tools run freely; anything destructive asks for your approval first. A Read mode lets it look without touching anything.
- It's extensible. Capabilities ship as opt-in plugins — a folder with
tools/and aSKILL.md. Write your own in minutes. - It's free & open. MIT licensed, no studio, no lock-in.
Features
| 🧠 Multi-provider brain | OpenAI · Anthropic · Gemini · any local OpenAI-compatible server (LM Studio, Ollama, llama.cpp, vLLM). Switch provider/model per tab, mid-conversation. |
| 🛰️ Agentic tool loop | Plans → calls tools → observes → self-corrects → verifies. Not a one-shot snippet generator. |
| 👁️ Multimodal vision | Captures the viewport / individual actors and feeds the image to the model. Paste, drag, or copy images into the chat too. |
| 🎞️ Animation pipeline | Build an IK rig, set up a retargeter, batch-retarget animations, play/scrub them, and visually verify — all from chat. |
| 🧩 Plugin system | Drop-in tools/ + SKILL.md. Toggle per plugin. Per-plugin pip deps installed on demand. |
| 🔌 MCP server | Expose the editor to Claude Code (or any MCP client): exec Python, screenshot, tail logs, status, run a VERA command. |
| 🛡️ Safety modes | Ask (confirm destructive actions) · Auto (autopilot) · Read (inspect only). |
| 💬 Polished chat UI | Tabs, markdown + syntax highlighting, inline screenshots, slash-command menu, live tool narration, stop button, conversation windowing. |
| ⚙️ Turnkey setup | First launch auto-installs its Python deps. Configure providers, local URL, and request timeout right in the panel. |
| 🖥️ Cross-platform | Windows, macOS, Linux. No hardcoded paths. |
The brain — bring your own LLM
VERA speaks the OpenAI /v1 standard, so it works with essentially any backend:
| Provider | What you need |
|---|---|
| OpenAI | OPENAI_API_KEY |
| Anthropic | ANTHROPIC_API_KEY |
| Gemini | GEMINI_API_KEY (Google's OpenAI-compatible endpoint) |
| Local | VERA_LOCAL_BASE_URL → your server's /v1 URL (LM Studio :1234, Ollama :11434, llama.cpp, vLLM…) — no key, no cloud, no cost |
💡 VERA is an agent, so the model needs solid tool-calling. For local, use a 30B+ coder model (e.g. Qwen2.5/3-Coder-32B); small models ramble. The first request to a cold local server loads the model — which can take minutes — so the request timeout is configurable right in Setup.
How it works
You ──▶ VERA chat (Qt/WebEngine UI inside the editor)
│ command + selected provider/model/mode
▼
AgentLoop ─────────────────────────────────────┐
│ 1. ask the LLM (your provider) for a plan │
│ 2. LLM requests a tool │ repeat until done
│ 3. run the tool (gate if destructive) ────┤
│ 4. feed the result back to the LLM │
└─▶ 5. final answer ─────────────────────────┘
│
▼
Unreal Editor (Python bridge → the `unreal` API)
Every turn streams to the UI: you see the plan, each tool call, and the result as it happens — and you can Stop at any point.
Built-in tools
The agent ships with a core toolset (read-only tools need no approval; ✋ = gated):
| Tool | What it does |
|---|---|
inspect_level |
Read the open level: actor counts, classes, lights, static meshes. |
inspect_actor_animability |
Check whether an actor has a skeleton and can be animated. |
capture_actor |
Render an actor/viewport to an image so VERA can see it (works minimized). |
animate_actor |
Apply or scrub an animation on a skeletal actor. ✋ |
ensure_ik_rig |
Create/ensure an IK Rig for a skeleton. ✋ |
ensure_retargeter |
Create/ensure an IK Retargeter between skeletons. ✋ |
retarget_animations |
Batch-retarget animations between skeletons. ✋ |
run_ue_python |
Run arbitrary Python against the unreal API — the universal escape hatch. ✋ (asks every call) |
Chained together, the animation tools are a full rig → retarget → animate → visually verify pipeline, driven entirely from chat.
Plugins
<div align="center">

</div>
Capabilities ship as opt-in plugins so the core stays lean — you enable only what you want, and a plugin's pip dependencies are pulled in on demand. All plugins below are bundled and included 100% for free out of the box:
| Plugin | What it adds |
|---|---|
| Blueprint Forge | Create Actor Blueprints via the Graph API (components, compile, save) — no clicking. |
| Computer Use | Last-resort screen control for editor UI that has no Python API (click and capture). |
| Local IQ | Raises a small local model's effective IQ with proven, reusable recipes. |
| Memory | Persistent memory across conversations — facts, conventions, decisions. |
| Mobile / Performance Doctor | Audits materials and mobile-compat issues; profiles the level. |
| Project Intelligence | Read-only analysis of the on-disk project: engine, plugins, assets. |
| Project Playbook | Loads this project's conventions, decisions and known traps into context. |
| Scene Vibe | Instantly sets the cinematic MOOD of the open level (cyberpunk, noir, aztec, etc.). |
| Source Control | Git source control for VERA: inspect diffs and create gated commits safely. |
Write your own plugin
VERA_Plugins/my-plugin/
├── plugin.json # {"name","version","enabled", optional "deps":[...]}
├── tools/*.py # Tool subclasses (name, description, input_schema, execute)
└── SKILL.md # when/how VERA should use it (injected into the system prompt)
A minimal tool:
from vera.agent.tool import Tool, ToolResult
class HelloTool(Tool):
name = "say_hello"
description = "Say hello. Use when the user greets VERA."
input_schema = {"type": "object", "properties": {"to": {"type": "string"}}}
def execute(self, args, ctx):
return ToolResult(f"Hello, {args.get('to', 'world')}!")
Drop the folder in VERA_Plugins/, toggle it on in the Plugins tab — done.
MCP — drive the editor from your IDE
VERA ships an MCP server, so the AI in your favorite IDE or agent can drive your Unreal editor — write Python into it, read the log, screenshot the viewport, or run a full VERA command — without leaving your editor.
Drop this into your MCP client's config (e.g. .mcp.json):
{
"mcpServers": {
"vera-ue": {
"command": "python",
"args": ["-m", "vera.tools.mcp_server"],
"env": {
"PYTHONPATH": "C:/path/to/VERA",
"VERA_UE_PROJECT_DIR": "C:/path/to/YourProject"
}
}
}
}
PYTHONPATHmust point at the VERA repo root (the folder containing thevera/package), sopython -m vera.tools.mcp_servercan find it. Some clients (e.g. Claude Code) launch the server from the project root and work without it, but most run from a different working directory — if you seeModuleNotFoundError: No module named 'vera', this is the fix. You can also pointcommandat a specific interpreter (e.g. a fullpython.exepath).
Works with any MCP-capable client — Claude Code, Cursor, VS Code (Cline / Continue / Copilot), JetBrains Rider (AI Assistant), Windsurf, Zed, and more:
| MCP tool | Purpose |
|---|---|
ue_exec |
Execute Python in the editor and get the output back. |
ue_screenshot |
Capture the viewport. |
ue_log |
Tail the Unreal output log. |
ue_status |
Check the bridge/editor status. |
vera_command |
Run a full natural-language VERA command (the agent pipeline). |
Install
From source (developers)
git clone https://github.com/ezesubu/VERA.git
cd VERA
python PackageVERA.py
- Copy the assembled
Plugin/folder into your own Unreal Engine project'sPlugins/VERA/directory. - Enable Unreal's Python Editor Script Plugin.
- Open VERA from the editor toolbar. On first launch it auto-installs its Python dependencies (one time) — no console magic.
- In Setup ⚙, pick a provider and paste a key (or a local server URL), then chat.
Build the distributable plugin (UE 5.7)
python PackageVERA.py # assemble from source + bundle deps + RunUAT + zip → Packaged/
The output is a compiled, drag-and-drop plugin ready for the Epic Games Launcher / Fab. Want another engine version? Clone and build it yourself — the pipeline targets the latest UE.
Requirements
- Unreal Engine 5.7 (latest)
- The Python Editor Script Plugin (bundled with UE)
- Internet access only if you use a cloud provider (local models run fully offline)
Configuration
VERA reads a .env at the repo root (and the Setup panel writes to it for you):
| Variable | Meaning |
|---|---|
OPENAI_API_KEY / ANTHROPIC_API_KEY / GEMINI_API_KEY |
Cloud provider keys |
VERA_LOCAL_BASE_URL |
Local server /v1 URL (e.g. http://localhost:1234/v1) |
VERA_LLM_TIMEOUT_S |
Request timeout in seconds (raise it for slow cold starts) |
VERA_PLUGINS_DIR |
Override the plugins directory |
VERA_AUTO_APPROVE |
Skip the destructive-action gate (autopilot/testing) |
🔒 Keys are saved to your
.envand never sent back to the frontend.
Usage
Open the VERA panel and just ask. A few things to try:
- "How many actors are in this level, and how many are lights?"
- "Create a
BP_SpikeTrapBlueprint with a static mesh and a box collision." - "Retarget these animations from the UE4 mannequin to my character, then show me the idle."
- "Audit this level for mobile performance issues."
- "Set a horror vibe on the scene for a screenshot."
- "Remember that this project uses the
SM_prefix for static meshes."
Switch Ask / Auto / Read in the composer to control how much freedom VERA has.
Architecture
┌─────────────────────────── Unreal Editor ───────────────────────────┐
│ │
│ VERA panel (Qt WebEngine UI) ◀──┐ │
│ │ command │ events (stream) │
│ ▼ │ │
│ vera_server ──▶ AgentLoop ──▶ tools ──▶ Python bridge ──▶ unreal│
│ │ │ │
│ │ └─ plugins (VERA_Plugins/*) │
│ ▼ │
│ MCP server ◀── Claude Code / other MCP clients │
└──────────────────────────────────────────────────────────────────────┘
▲
└─ LLM provider (OpenAI / Anthropic / Gemini / local)
vera/agent/— the AgentLoop, tool registry, sessions, the multi-provider client.vera/llm/— the OpenAI-compatible adapter (duck-types the Anthropic surface).vera/tools/— the MCP server and the UE socket connection.vera/core/— the editor server (vera_server) and the progress blackboard.UE57/Content/Python/— the editor scripts + the chat UI (vera_chat/).UE57/VERA_Plugins/— the studio plugins.
Contributing
Contributions are welcome — new tools, plugins, providers, fixes.
# run the test suite
python -m pytest tests/ -q
- Add a tool: create a
Toolsubclass invera/agent/tools/— the registry discovers it automatically. - Add a plugin: see Write your own plugin.
- Add a provider: extend the registry in
vera/agent/models.py.
The codebase is Python + a thin C++ editor module, fully cross-platform, and covered by a test suite. Open an issue or a PR, or come chat in Discord.
FAQ
Do I need to know Unreal or Blueprints? No. You describe what you want in plain language and VERA builds it through the engine's code layer — assets, actors, components, properties, whole systems.
Does VERA wire the visual Blueprint nodes for me? Out of the box it creates the Blueprint, its components and properties, then compiles and saves it. Wiring the visual Event Graph (the "spaghetti") is one plugin away — a C++-backed plugin can reach the graph APIs that Python can't and generate the nodes too. That's the point of the plugin system: no ceiling.
Is it free? Does it phone home? MIT, free, and it can run 100% local with your own model — your keys and data never leave your machine.
Support — The Co-Pilot Pact
<div align="center">

</div>
VERA is independent and open — no studio, no investors, no lock-in. It's free and runs on your own keys and hardware. If it earns its keep, you can keep it alive:
- 💎 Support on Patreon — monthly or a one-off gift
- ☕ Tip on Ko-fi · 🍺 Buy a Beer
- 💬 Join the Discord — free, come say hi
- ⭐ Star the repo and tell another dev — it genuinely helps.
License
MIT — use VERA in your commercial and AAA projects. See LICENSE.
Credits
Conjured in the dark by maVERAick — Sith Lord of the Unreal Editor — mortal identity @ezesubu. ⚡🌑
Core AI Team & Contributors:
- Claude — Lead UI Architect
- Antigravity (Gemini) — Lead Artist & Infrastructure
Come to the dark side. We have agents.
<div align="center"> <sub>built by <b>maVERAick</b> · <i>the agents thank you ◇</i></sub> </div>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。