Hi, This is probably a newbee question…
I do my dev on my MBP and run Docker/Archon on my Mac Studio (MS).
How do I tell the Archon MCP to access Archon on the MS (192.168.1.103)?
Here is my Archon MCP config:
"archon": {
"disabled": true,
"timeout": 3600,
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--add-host=host.docker.internal:host-gateway",
"-e",
"GRAPH_SERVICE_URL",
"archon-mcp:latest"
],
"env": {
"GRAPH_SERVICE_URL": "http://host.docker.internal:8100"
},
"transportType": "stdio"
},
I was able to do this by configuring the MCP client (Claude Code, etc.) to execute the following script rather than the recommended MCP config.
#!/bin/bash
exec /usr/bin/ssh [username]@[IP] 'docker run -i --rm --add-host=host.docker.internal:host-gateway -e GRAPH_SERVICE_URL=http://host.docker.internal:8100 archon-mcp:latest'
So, save that so a .sh file, make it executable, then your MCP config would look something like:
"archon": {
"type": "stdio",
"command": "/path/to/script.sh",
"args": [],
"env": {}
}
You have to have your connection to the archon machine configured via SSH key so as not to require a password. Once all that is set up, it seems to work great!
Hope this helps!
1 Like