three.ws Autopilot

v0.2.2
io.github.nirholas/autopilot-mcp Checked 1 hour ago Published 1 month ago

Set autopilot scopes and a daily SOL spend cap, then propose, execute, and undo agent actions.

Values you need

VariableWhat it is
THREE_WS_API_KEYrequired secret REQUIRED. The agent owner's three.ws credential — a three.ws API key (sk_live_… / sk_test_…) or an OAuth access token. Sent as Authorization: Bearer on every request; every autopilot endpoint is owner-scoped and rejects unauthenticated calls. This credential can move real SOL via execute_propo
THREE_WS_BASEoptional Base URL of the three.ws API that serves the autopilot endpoints. Override only when self-hosting or targeting a preview deployment. Default: https://three.ws
THREE_WS_TIMEOUT_MSoptional Per-request timeout in milliseconds. Proposal generation runs a real server-side LLM pass, so the default is generous. Default: 60000

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add autopilot-mcp -e 'THREE_WS_API_KEY=<THREE_WS_API_KEY>' -- npx -y @three-ws/autopilot-mcp@0.2.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "autopilot-mcp": {
      "args": [
        "-y",
        "@three-ws/autopilot-mcp@0.2.2"
      ],
      "command": "npx",
      "env": {
        "THREE_WS_API_KEY": "<THREE_WS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "autopilot-mcp": {
      "args": [
        "-y",
        "@three-ws/autopilot-mcp@0.2.2"
      ],
      "command": "npx",
      "env": {
        "THREE_WS_API_KEY": "<THREE_WS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "THREE_WS_API_KEY",
      "id": "three-ws-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "autopilot-mcp": {
      "args": [
        "-y",
        "@three-ws/autopilot-mcp@0.2.2"
      ],
      "command": "npx",
      "env": {
        "THREE_WS_API_KEY": "${input:three-ws-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.autopilot-mcp]
command = "npx"
args = ["-y", "@three-ws/autopilot-mcp@0.2.2"]
env = { "THREE_WS_API_KEY" = "<THREE_WS_API_KEY>" }

For AI agents

  1. Ask the user for: THREE_WS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_autopilot_config, set_autopilot_config, generate_proposals, list_proposals, dryrun_proposal, adjust_proposal, execute_proposal, dismiss_proposal, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json