Skip to main content

MCP server for quantum computing tools - simulation, transpilation, QPU access

Project description

coda-mcp

MCP server for quantum computing tools. Provides circuit simulation, transpilation, QPU access, and research paper search.

Works with MCP-compatible clients that support stdio transport: Claude Desktop, Claude Code (CLI), VS Code, Cursor, Zed, and more.

Quick Start

1. Get your API token

Generate a token at coda.conductorquantum.com/settings/api

2. Configure your MCP client

Claude Desktop

Add to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %AppData%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "coda": {
      "command": "/path/to/uvx",
      "args": ["coda-mcp"],
      "env": {
        "CODA_API_TOKEN": "your-token-here"
      }
    }
  }
}

Find your uvx path with which uvx (typically ~/.local/bin/uvx or /usr/local/bin/uvx).

Restart Claude Desktop after saving.

Claude Code (CLI)

Quick install via CLI:

claude mcp add --env CODA_API_TOKEN=your-token-here coda -- uvx coda-mcp

Or manual configuration - add to ~/.claude.json:

{
  "mcpServers": {
    "coda": {
      "command": "/path/to/uvx",
      "args": ["coda-mcp"],
      "env": {
        "CODA_API_TOKEN": "your-token-here"
      }
    }
  }
}

Team-shared config - add .mcp.json to your project root:

{
  "mcpServers": {
    "coda": {
      "command": "/path/to/uvx",
      "args": ["coda-mcp"],
      "env": {
        "CODA_API_TOKEN": "${CODA_API_TOKEN}"
      }
    }
  }
}

Then team members only need to set CODA_API_TOKEN in their environment.

Cursor

Add to your Cursor MCP config (~/.cursor/mcp.json or .cursor/mcp.json in project root):

{
  "mcpServers": {
    "coda": {
      "command": "/path/to/uvx",
      "args": ["coda-mcp"],
      "env": {
        "CODA_API_TOKEN": "your-token-here"
      }
    }
  }
}

Find your uvx path with which uvx.

Zed

Add to your Zed settings (~/.config/zed/settings.json):

{
  "context_servers": {
    "coda": {
      "command": {
        "path": "/path/to/uvx",
        "args": ["coda-mcp"],
        "env": {
          "CODA_API_TOKEN": "your-token-here"
        }
      }
    }
  }
}
Generic MCP Client

For any MCP-compatible client, configure:

  • Transport: stdio
  • Command: uvx coda-mcp
  • Environment: CODA_API_TOKEN=your-token-here

Or if you prefer pip installation:

pip install coda-mcp
coda-mcp  # runs the server

Installation

# Using uvx (recommended, no install needed)
uvx coda-mcp

# Using pip
pip install coda-mcp

# Using uv
uv tool install coda-mcp

Tools

Quantum Circuit Tools

Tool Description
transpile Convert between quantum frameworks (Qiskit, Cirq, PennyLane, Braket, PyQuil, CUDA-Q, OpenQASM)
simulate Run circuit simulation (CPU via Aer, GPU via CUDA-Q)
to_openqasm3 Convert circuit to OpenQASM 3.0
estimate_resources Analyze qubit count, depth, and gate counts
split_circuit Cut large circuits for distributed execution

QPU Tools

Tool Description
qpu_submit Submit circuit to QPU backend (IonQ, IQM, Rigetti, AQT)
qpu_status Check job status and get results
qpu_devices List available QPU devices

Search Tools

Tool Description
search_papers Search quantum computing papers via Exa
get_paper Fetch full paper contents

Examples

Simulate a Bell State

Create and simulate a Bell state circuit

The simulate tool accepts Qiskit code:

from qiskit import QuantumCircuit
qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
qc.measure_all()

Submit to Real QPU

Convert my circuit to OpenQASM and submit to IonQ
  1. Use to_openqasm3 to convert your circuit
  2. Use qpu_submit with backend="ionq" to submit
  3. Use qpu_status to check results

Environment Variables

Variable Description Required
CODA_API_TOKEN Your API token from coda.conductorquantum.com/settings/api Yes
CODA_API_URL API endpoint URL (default: production API) No

Troubleshooting

"CODA_API_TOKEN not set"

"Connection refused"

  • Check your internet connection
  • The Coda API may be temporarily unavailable

Tools not appearing

  • Restart your MCP client after configuration changes
  • Verify uvx coda-mcp runs without errors in terminal
  • Check that JSON config syntax is valid

Debug logs (Claude Desktop)

  • macOS: ~/Library/Logs/Claude/mcp.log and mcp-server-coda.log
  • Windows: %AppData%\Claude\logs\

Debug logs (Claude Code)

claude mcp list        # Check server status
/mcp                   # Check status in Claude Code session

Windows-specific issues

  • If uvx is not found, use full path or install via pip install coda-mcp
  • Add APPDATA to env if you see ENOENT errors

License

MIT

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

coda_mcp-0.1.1.tar.gz (62.6 kB view details)

Uploaded Source

Built Distribution

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

coda_mcp-0.1.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for coda_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 737adb6b646115b3c8ce44a0026f310e96c5b6e7e223046275118d2c3dae568c
MD5 c7f8bdc03c76ef4d2f2f4ad95e62c23e
BLAKE2b-256 f4e172525082c7241f2aafafff66ac39787a2320639100830af338647290f324

See more details on using hashes here.

Provenance

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

Publisher: publish-mcp.yml on conductorquantum/coda

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

File details

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

File metadata

  • Download URL: coda_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for coda_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 03b37235b5ed2ee68dd024eff132899735d80ec4e1c2709afed62545a375a64f
MD5 992aa7e8cb5281d13784da65441654c6
BLAKE2b-256 4f3039b9384ff28bac7bbc52b587d54d40170950deee0c96e6c0d6384ea77a11

See more details on using hashes here.

Provenance

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

Publisher: publish-mcp.yml on conductorquantum/coda

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