Funplay Unity MCP
mcpotherio.github.FunplayAI/funplay-unity-mcp · v0.7.0
stdio bridge for the local Unity Editor MCP server from FunplayAI/funplay-unity-mcp.
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
# once, as root:
# as_mcp DIR COMMAND...: runs COMMAND as the mcp user in DIR, its home, sandboxed as the
# units are: a package's install scripts can write to DIR only, as the server later can
as_mcp() {
local dir="$1"; shift
systemd-run --quiet --wait --pipe --collect --uid=mcp --gid=mcp \
-p WorkingDirectory="$dir" -p Environment=HOME="$dir" -p ReadWritePaths="$dir" \
-p NoNewPrivileges=true -p ProtectSystem=strict -p ProtectHome=true -p PrivateTmp=true \
-- "$@" </dev/null
}
install -d -m 0750 -o mcp -g mcp /var/lib/mcp/funplay-unity
# funplay-unity: its packages, installed whole before its unit starts (no session installs)
systemctl stop mcp-my-agent-funplay-unity.service 2>/dev/null || true
as_mcp /var/lib/mcp/funplay-unity uv tool install mcp-proxy
#!/usr/bin/env bash
# funplay-unity (io.github.FunplayAI/funplay-unity-mcp), recipe baremetal (generated).
# Generated by Hub for toolset "my-agent"; started by mcp-my-agent-funplay-unity.service.
set -euo pipefail
export HOST=127.0.0.1 PORT=8101
exec uvx mcp-proxy --host 127.0.0.1 --port 8101 --pass-environment -- dnx [email protected] --yes
[Unit]
Description=MCP server funplay-unity (toolset my-agent), generated by Hub
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=mcp
Group=mcp
EnvironmentFile=/etc/mcp/my-agent.env
Environment=HOME=/var/lib/mcp/funplay-unity
WorkingDirectory=/var/lib/mcp/funplay-unity
ExecStart=/opt/mcp/my-agent/bin/funplay-unity.sh
Restart=on-failure
RestartSec=5
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
ReadWritePaths=/var/lib/mcp/funplay-unity
[Install]
WantedBy=multi-user.target
connect to it
copy what your client needsdnx [email protected] --yes
{
"mcpServers": {
"funplay-unity": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
]
}
}
}
#!/usr/bin/env bash # Registers every server with Claude Code (run once; `claude mcp list` to check). set -euo pipefail set -a; [ -f .env ] && source .env; set +a claude mcp add funplay-unity -- dnx [email protected] --yes
{
"mcpServers": {
"funplay-unity": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
]
}
}
}
{
"servers": {
"funplay-unity": {
"type": "stdio",
"command": "dnx",
"args": [
"[email protected]",
"--yes"
]
}
}
}
name: my-agent target: local servers: - hub: io.github.FunplayAI/funplay-unity-mcp
- not probed yet: tools unpinned, ingest lists them
tools
Probe result: failedbaremetal: MCPError: Connection closed; server stderr: …sh: 2: exec: dnx: not found
runs · 1
the latest tests of this entry by the hub and its workers, newest first| date | worker | method | status | sandbox | reason |
|---|---|---|---|---|---|
| 2026-10-17 13:37 | local-mac-vm | baremetal | failed | gvisorbuildpack-deps:bookworm | baremetal: MCPError: Connection closed; server stderr: …sh: 2: exec: dnx: not found |