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.1.tar.gz (70.0 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.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coda_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 70.0 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.1.tar.gz
Algorithm Hash digest
SHA256 f4d4ec8c51e1dd69efd4f93fc0aa125a595d3242527e52de3e2fb4a5e341f26e
MD5 4ee7aea7c9f919116f68b155dcbf0d30
BLAKE2b-256 99e4aaa8c498ff50f340b1302c5bea2026c964816d0395a3c3df6fb079631d5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for coda_mcp-0.2.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: coda_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30b638d4fbdb4a53bd542d1f1101e0d48ab03b26ae6dd3f9096a40b1d4d5d7d8
MD5 a9b5914bb66c85c5a26c0e6a180874d4
BLAKE2b-256 a1f6b9d1dfa914a75954d9aa6317651fab4b7d5a9bf28f6d7c6a0869170cd9c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for coda_mcp-0.2.1-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