ach-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ach-mcpcheck the Unity console for errors"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Ach MCP
An in-editor MCP (Model Context Protocol) server that exposes Unity convenience tools to AI assistants such as Claude. The server runs entirely inside the Unity Editor in C# (no separate process, no external bridge) and speaks MCP over HTTP.
Tools
Tool | What it does |
| Read Console entries — Debug logs, warnings, errors, and script compile errors. Filterable by severity. Closes the "did my change work?" loop. |
| Run any Editor menu item by path (e.g. |
| Dump the GameObject tree of the open scene(s) as JSON — names, active state, tag, layer, and component types. |
| Render the Game or Scene view camera to a PNG and return it inline. Lets the assistant see the result. |
Requirements
Unity 2021.3+
com.unity.nuget.newtonsoft-json(declared as a package dependency, installed automatically)
Installation
Add the package to your project's Packages/manifest.json:
{
"dependencies": {
"com.achieveone.ach-mcp": "https://github.com/achieveonepark/ach-mcp.git"
}
}Or use Window ▸ Package Manager ▸ + ▸ Add package from git URL and paste the repository URL.
Usage
Open Tools ▸ Ach MCP ▸ Control Panel.
Set a Port (default
8790) and click Start. Enable Auto-start on load to have it come up with the editor.In the AI Client Setup section, click Configure next to a client (or Configure Detected to do all installed ones at once). Restart the client.
Once connected, ask the assistant to call the tools, e.g. "check the Unity console for errors", "show me the scene hierarchy", or "take a screenshot of the game view."
One-click client setup
The control panel writes this server into each client's config file, resolving
the correct location for macOS / Windows / Linux automatically. Existing
configs are merged (your other servers are preserved) and backed up once as
*.ach-mcp.bak before the first change.
Client | Transport | Config file |
Claude Code | HTTP (native) |
|
Claude Desktop | stdio via | macOS |
Codex CLI | stdio via |
|
Cursor | HTTP (native) |
|
Windsurf | HTTP (native) |
|
Clients that don't support HTTP MCP directly are bridged through
mcp-remote, invoked as
npx -y mcp-remote <url>. Those rows are marked "mcp-remote" and require
Node.js (npx) on your PATH.
Manual configuration
If you'd rather edit config by hand, the server is a standard Streamable-HTTP MCP endpoint:
http://127.0.0.1:8790/mcpNative-HTTP client (Claude Code, Cursor, …):
{ "mcpServers": { "ach-unity": { "type": "http", "url": "http://127.0.0.1:8790/mcp" } } }stdio-only client (Claude Desktop, Codex):
{ "mcpServers": { "ach-unity": { "command": "npx", "args": ["-y", "mcp-remote", "http://127.0.0.1:8790/mcp"] } } }How it works
Transport — a loopback
HttpListener(127.0.0.1, so no admin/urlacl is needed) accepts JSON-RPC 2.0 POSTs at/mcpand returns a single JSON response (Streamable HTTP).Threading — HTTP requests are served on background threads; every tool marshals its Unity API calls onto the main thread via
MainThreadDispatcher.Lifecycle —
McpServerManagerstops the listener before every domain reload and on editor quit, so the port is always released.
Adding your own tool
Implement
IMcpToolinEditor/Tools/.Declare
Name,Description, and anInputSchema(JSON Schema).Register it in
ToolRegistry's static constructor.
internal sealed class MyTool : IMcpTool
{
public string Name => "my_tool";
public string Description => "What it does.";
public JObject InputSchema => new JObject { ["type"] = "object" };
public ToolResult Execute(JObject arguments)
{
var value = MainThreadDispatcher.Run(() => /* Unity API here */ 42);
return ToolResult.Ok("Result: " + value);
}
}This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/achieveonepark/ach-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server