Skip to main content

MCP stdio bridge for MissionControl API

Project description

missioncontrol-mcp

MCP stdio bridge so Codex/Claude can use MissionControl tools as first-class MCP tools.

What It Does

  • Exposes tools/list and tools/call over MCP stdio.
  • Bridges those calls to MissionControl API:
    • GET /mcp/tools
    • POST /mcp/call
  • Includes missioncontrol-explorer terminal helper for mission/cluster/task tree browsing.

Install (pipx recommended)

pipx install /path/to/missioncontrol/integrations/missioncontrol-mcp

Or from git:

pipx install "git+ssh://git@github.com/ryanmerlin/missioncontrol.git#subdirectory=integrations/missioncontrol-mcp"

Env Vars

  • MISSIONCONTROL_BASE_URL (default: http://localhost:8008)
  • MISSIONCONTROL_BASE_URLS (optional comma-separated fallback URLs)
  • MISSIONCONTROL_TOKEN (required for MCP in MVP dual-auth mode)
  • MISSIONCONTROL_STARTUP_PREFLIGHT (none|health|tools, default: health)
  • MISSIONCONTROL_HTTP_TIMEOUT_SEC (default: 20)
  • MISSIONCONTROL_HTTP_RETRIES (default: 2)
  • MISSIONCONTROL_HTTP_RETRY_BACKOFF_MS (default: 250)
  • MISSIONCONTROL_FAIL_OPEN_ON_LIST (default: false)
  • MISSIONCONTROL_AGENT_ID (required to subscribe to MQTT inbox)
  • MQTT_HOST (required for MQTT inbox)
  • MQTT_PORT (default: 1883)
  • MQTT_USERNAME (default: missioncontrol)
  • MQTT_PASSWORD (required for MQTT inbox)

Quick Local Test

MISSIONCONTROL_BASE_URLS="https://missioncontrol.hartley-neon.ts.net,https://mc.merlinlabs.cloud,http://localhost:8008" \
MISSIONCONTROL_TOKEN="..." \
missioncontrol-mcp

Doctor command:

MISSIONCONTROL_BASE_URLS="https://missioncontrol.hartley-neon.ts.net,https://mc.merlinlabs.cloud" \
MISSIONCONTROL_TOKEN="..." \
missioncontrol-mcp doctor

Explorer CLI examples:

MISSIONCONTROL_BASE_URL="http://localhost:8008" MISSIONCONTROL_TOKEN="..." missioncontrol-explorer tree --format ansi
MISSIONCONTROL_BASE_URL="http://localhost:8008" MISSIONCONTROL_TOKEN="..." missioncontrol-explorer show cluster <cluster-hash>

Governance admin examples:

MISSIONCONTROL_BASE_URL="http://localhost:8008" MISSIONCONTROL_TOKEN="..." missioncontrol-explorer admin policy show
MISSIONCONTROL_BASE_URL="http://localhost:8008" MISSIONCONTROL_TOKEN="..." missioncontrol-explorer admin policy draft-create --note "harden policy"

MCP Client Config Snippet

Use this server command in your MCP client config:

{
  "missioncontrol": {
    "command": "missioncontrol-mcp",
    "env": {
      "MISSIONCONTROL_BASE_URL": "https://missioncontrol.hartley-neon.ts.net",
      "MISSIONCONTROL_TOKEN": "denali-everest-orion-sequoia-atlas",
      "MISSIONCONTROL_AGENT_ID": "1",
      "MQTT_HOST": "mosquitto.missioncontrol.svc.cluster.local",
      "MQTT_PORT": "1883",
      "MQTT_USERNAME": "missioncontrol",
      "MQTT_PASSWORD": "change-me"
    }
  }
}

Notes

  • This bridge intentionally keeps no state.
  • It is safe for multiple local clients to run independently.
  • For team agents, prefer Tailscale route missioncontrol.hartley-neon.ts.net over public ingress.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

missioncontrol_mcp-0.1.1.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

missioncontrol_mcp-0.1.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file missioncontrol_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: missioncontrol_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for missioncontrol_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e8d20783a99a58c97de293e366e68a90b2bb2d5b8e7de2adacbeb3b9451e7555
MD5 48f008df8f20f26774c999d9d3c4a0de
BLAKE2b-256 e9ff0ce2845822d3ff3636ad47cee81943d401e9cfa99b8760d3044230b10701

See more details on using hashes here.

Provenance

The following attestation bundles were made for missioncontrol_mcp-0.1.1.tar.gz:

Publisher: pypi-publish.yml on RyanMerlin/mc-integration

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file missioncontrol_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for missioncontrol_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 249969860e2ccddc7d6946a594bf9970f5c4cf62f075d5afb57e9b0236b92fe9
MD5 f3ccc2b93be5be1b5f7c1252bee40633
BLAKE2b-256 67aa8c593ed7658d3614eaf62c6f85cad687717eb72b20ddb29cbdcdc6b9157e

See more details on using hashes here.

Provenance

The following attestation bundles were made for missioncontrol_mcp-0.1.1-py3-none-any.whl:

Publisher: pypi-publish.yml on RyanMerlin/mc-integration

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page