Unityautonomousmcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Unityautonomousmcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
🤖 A comprehensive autonomous agent framework for Unity 2022.3.22f1 that combines the power of Model Context Protocol (MCP) with advanced AI decision-making capabilities.
┌─────────────────────────────────────────────────────────────┐
│ Unity Autonomous Agent MCP │
├─────────────────────────────────────────────────────────────┤
│ ┌─────────────────┐ ┌─────────────────┐ ┌──────────────┐ │
│ │ Agent Core │ │ Task Planner │ │ Decision │ │
│ │ │ │ │ │ Engine │ │
│ │ - State Mgmt │ │ - Task Decomp │ │ - ML Models │ │
│ │ - Learning │ │ - Priority │ │ - Context │ │
│ │ - Memory │ │ - Scheduling │ │ - Reasoning │ │
│ └─────────────────┘ └─────────────────┘ └──────────────┘ │
├─────────────────────────────────────────────────────────────┤
│ ┌─────────────────┐ ┌─────────────────┐ ┌──────────────┐ │
│ │ MCP Server │ │ Unity Bridge │ │ Plugin │ │
│ │ │ │ │ │ System │ │
│ │ - Protocol │ │ - Editor API │ │ - Custom │ │
│ │ - Handlers │ │ - Runtime API │ │ Tools │ │
│ │ - Transport │ │ - Asset Mgmt │ │ - Extensions │ │
│ └─────────────────┘ └─────────────────┘ └──────────────┘ │
├─────────────────────────────────────────────────────────────┤
│ Unity Engine (2022.3.22f1) │
└─────────────────────────────────────────────────────────────┘Re-analysis details and capability gaps are documented in docs/capability-matrix.md.# Clone the repository
git clone https://github.com/KinofSin/UnityAutonomousMCP.git
cd UnityAutonomousMCP
# Install Unity Package
# In Unity Editor: Window > Package Manager > Add package from git URL
# Enter: file:///path/to/UnityAutonomousMCP/com.autonomous-unity.mcpnpm install
npm run build
npm run smokenpm run smoke validates planner + executor behavior (including run_tests -> get_test_job polling) for both successful and failed test-job terminal paths, without requiring a live Unity Editor.
# Autonomous bootstrap (local dry-run using mock Unity bridge)
npm run dev -- -- "inspect scene and update scripts"
# MCP stdio mode (for Claude/Cursor/Windsurf MCP client config)
npm run dev -- --mcp
# Force mock bridge explicitly
npm run dev -- --mock -- "inspect scene and update scripts"Unity package host (inside Unity Editor) serves both transports:
POST /mcp/tool on UNITY_HTTP_PORT (default 8080)UNITY_TCP_PORT (default 8081)Node-side bridge environment variables:
UNITY_TRANSPORT=http # http | tcp | mock
UNITY_HOST=127.0.0.1
UNITY_HTTP_PORT=8080
UNITY_TCP_PORT=8081
UNITY_TIMEOUT_MS=10000
UNITY_TEST_POLL_ATTEMPTS=30
UNITY_TEST_POLL_INTERVAL_MS=1000
UNITY_TEST_POLL_TIMEOUT_MS=120000{
"mcpServers": {
"unity-autonomous-agent": {
"command": "node",
"args": ["path/to/server/dist/index.js"],
"env": {
"UNITY_HOST": "localhost",
"UNITY_TRANSPORT": "http",
"UNITY_HTTP_PORT": "8080",
"UNITY_TCP_PORT": "8081",
"AI_PROVIDER": "anthropic",
"AI_API_KEY": "your-api-key"
}
}
}
}Edit > Preferences > Autonomous Agent MCPnpm run dev -- --mcp)docs/capability-matrix.mdserver/src/planner.tsserver/src/policy.tsserver/src/executor.tsautonomous_plan, unity_tool_call, list_capabilities): server/src/mcpServer.tsserver/src/unityBridge.tsserver/src/contracts.tscom.autonomous-unity.mcp/Editor/AutonomousMcpSettingsProvider.csEditor/AutonomousMcpTransportHost.csEditor/AutonomousMcpToolDispatcher.csRuntime/AutonomousMcpRuntime.csautonomous_plan now emits concrete Unity tool payloads:
read_console → { level, limit }manage_scene → { action: "inspect_active_scene" }manage_script → { action: "create_or_update", scriptPath, contents } (when goal implies code changes)validate_script → { strict } (after script edits)run_tests → { mode } (when goal mentions tests; returns `jobId`)get_test_job → { jobId } (executor polls until `completed` or `failed`)batch_execute → { operations: [{ tool: "manage_scene", params: { action: "save_active_scene" } }] }run_tests starts an async Unity Test Runner job (editmode or playmode){ jobId, status: "queued" }get_test_job until terminal stateUNITY_TEST_POLL_ATTEMPTS: max polling iterations for get_test_job (clamped 1..300)UNITY_TEST_POLL_INTERVAL_MS: delay between polls in milliseconds (clamped 100..60000)UNITY_TEST_POLL_TIMEOUT_MS: overall timeout for polling cycle (clamped 1000..1800000)Create custom plugins to extend functionality:
[AutonomousPlugin("custom-tool")]
public class CustomToolPlugin : IAutonomousTool
{
public async Task<ToolResult> ExecuteAsync(ToolContext context)
{
// Your custom tool logic
return new ToolResult { Success = true, Data = result };
}
}We welcome contributions! Please see our Contributing Guide for details.
npm install in server directory)This project is licensed under the MIT License - see the LICENSE file for details.
🚀 Ready to transform your Unity development with AI-powered autonomy?
Start building intelligent, self-improving Unity projects today!
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.