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, IBM Quantum)
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

Submit my Qiskit circuit to IBM Torino

Use qpu_submit with code="..." plus source_framework="qiskit" (or another supported framework).

Then call qpu_status with the returned job ID.

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.2.0.tar.gz (69.7 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.2.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for coda_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8fd50c0b25d9fc2a255a915be67bb206d05d5669e8b073e366fab7ed0ef39905
MD5 fd60d85cb3ce40595e7cb5e260fec70b
BLAKE2b-256 e28c6ac0eb353e16d61a0eea02acf42bb173eeae1b3a4f6739ccdb2c51ccf119

See more details on using hashes here.

Provenance

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

Publisher: release-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.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for coda_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9b459c8b9c077e49ae1205c4fa5a8118451a7789b721be7e39f7a1c94f423be
MD5 f3fc4d04bff897dc7a955027f8df9e6d
BLAKE2b-256 9aa4ff947ba75627a1b95eff178a0426692bcfea74d84b10743c85237bb9d2a1

See more details on using hashes here.

Provenance

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

Publisher: release-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