Keep LM Studio.
Give your local models your machines.

AI Commander is not an alternative to LM Studio, Claude Code, Codex, ChatGPT, Cursor, GitHub Copilot, Sourcegraph Cody, Grok, Gemini, Windsurf, Continue, Cline, Roo Code, Zed, OpenCode, Qwen Code, goose, Amp, Kilo Code, OpenHands, Amazon Q Developer, Augment Code, Devin, JetBrains Junie, Kiro, Warp, Factory, Crush, or Trae. It is the remote-machine harness those tools plug into over MCP: outbound-only shell, detached jobs that outlive the chat, and file transfer on hardware you already own.

Positioning in one line: LM Studio stays your local model runner and chat; AI Commander is the hands on the box — servers, GPU rigs, NAS, laptops — with no inbound ports and no exposed SSH.

Sibling harness pages: Claude Code · Codex · ChatGPT · Cursor · OpenCode · Factory · Kiro · Warp · Crush · Trae · Gemini — and the rest on Connect your AI client.

Connect LM Studio (remote MCP)

LM Studio runs models on your own hardware and, since 0.3.17, acts as an MCP host (LM Studio MCP docs) for both local and remote servers. It follows Cursor’s mcp.json notation. Open the Program tab in the right-hand sidebar, click Install → Edit mcp.json, and add AI Commander’s hosted endpoint:

~/.lmstudio/mcp.json — remote MCP
{
  "mcpServers": {
    "aicommander": {
      "url": "https://aicommander.dev/mcp"
    }
  }
}

The file lives at ~/.lmstudio/mcp.json (Windows: %USERPROFILE%\.lmstudio\mcp.json). Recent LM Studio builds handle the browser-based OAuth sign-in for remote servers (MCP Integrations); if yours does not, use ?anonymous=1 for a code-only first hour or pass a Bearer API key in headers. If the file already has servers, paste only the "aicommander": { … } entry inside the existing mcpServers object.

Prefer a local stdio bridge?

~/.lmstudio/mcp.json — stdio bridge
{
  "mcpServers": {
    "aicommander": {
      "command": "npx",
      "args": [
        "-y",
        "@aicommander/mcp"
      ],
      "env": {
        "AICOMMANDER_SERVER": "https://aicommander.dev"
      }
    }
  }
}

LM Studio’s docs rightly warn: never install MCP servers from untrusted sources — some can run code and reach your files and network. AI Commander’s endpoint is first-party and hosted by us, and it only acts on machines where you installed the agent yourself. Keep LM Studio’s tool-call confirmations on at first, and use a model with solid tool-calling and enough context for tool output; long builds and training runs are good candidates for detached jobs so the chat does not have to wait.

Full client matrix (LM Studio, Crush, Trae, Factory, Kiro, Warp, Junie, Claude Code, Codex, ChatGPT, Cursor, Copilot, Gemini, OpenCode, goose, and more, plus REST): Connect your AI client. Menus and options can differ between LM Studio versions — check the linked LM Studio docs for your build.

What you get that the chat alone cannot

Not a replacement — a multiplier

You already useAI Commander adds
LM StudiomcpServers.aicommander.url → https://aicommander.dev/mcp in ~/.lmstudio/mcp.json
Crushmcp add aicommander --type http --url https://aicommander.dev/mcp --oauth true in crushrc
TraeSettings → MCP → Add → Add Manually → {"url": "https://aicommander.dev/mcp"}
Claude Codeclaude mcp add --transport http … → remote exec + jobs
Codex / ChatGPTSame MCP endpoint or REST /api/v1/exec
Cursor / Continue / Windsurfnpx @aicommander/mcp stdio bridge

FAQ

Is AI Commander an alternative to LM Studio?
No. AI Commander is NOT an alternative to LM Studio. It is a remote-machine harness. You keep LM Studio and your local models (or Claude Code, Codex, ChatGPT, Cursor, GitHub Copilot, Sourcegraph Cody, Grok, Gemini, Windsurf, Continue, Cline, Roo Code, Zed, OpenCode, Qwen Code, goose, Amp, Kilo Code, OpenHands, Amazon Q Developer, Augment Code, Devin, JetBrains Junie, Kiro, Warp, Factory, Crush, or Trae) as your AI agent. AI Commander gives those tools secure remote shell, detached jobs, and file transfer on machines you own — over MCP or REST. It is also not an alternative to Claude Code, Codex, or ChatGPT; it works with them the same way.
How do I connect LM Studio to AI Commander?
In LM Studio open the Program tab, click Install → Edit mcp.json, and add mcpServers.aicommander with url https://aicommander.dev/mcp (the file is ~/.lmstudio/mcp.json; remote servers need LM Studio 0.3.17 or later). Prefer stdio? Use command npx with args -y @aicommander/mcp. Use ?anonymous=1 for a code-only first hour. See /howto/ for the full matrix.
Is it safe to add AI Commander as an MCP server in LM Studio?
Only add MCP servers you trust. AI Commander is a first-party hosted endpoint; it can only reach machines where you installed the outbound-only agent yourself, with no inbound ports and no exposed SSH. Keep tool-call confirmations on and start with a test machine.

Next steps

Install the agent on a machine you control, add AI Commander to LM Studio’s mcp.json (remote url or npx -y @aicommander/mcp), then ask your local model for a real task on a remote box.