unreal-python-mcp
v0.1.7
Published
Unreal Engine MCP using Unreal Python Remote Execution
Readme
Unreal Python MCP
Setup
- Enable 'Python Editor Script Plugin' in Unreal Editor
- Enable 'Edit' → 'Project Settings' → 'Plugins' → 'Python' → 'Enable Remote Execution' & 'Develop Mode'
- Restart Unreal Editor and keep it running
- Add mcp config:
{ "mcpServers": { "unreal-python-mcp": { "command": "npx", "args": ["-y", "unreal-python-mcp"] } } } - Enjoy it!
If your mcp client does not support auto install node packages, you can run
npm install --save-dev unreal-python-mcpin your workspace
Configuration (Optional)
You can customize the remote execution connection via environment variables:
| Environment Variable | Description | Default |
| ------------------------ | ----------------------- | ----------- |
| UNREAL_MULTICAST_GROUP | Multicast group address | 239.0.0.1 |
| UNREAL_MULTICAST_PORT | Multicast port | 6766 |
| UNREAL_BIND_ADDRESS | Bind address | 127.0.0.1 |
Example with custom configuration:
{
"mcpServers": {
"unreal-python-mcp": {
"command": "npx",
"args": ["-y", "unreal-python-mcp"],
"env": {
"UNREAL_BIND_ADDRESS": "0.0.0.0"
}
}
}
}