Build, compile and export FlagQuantum circuits locally. No credentials, no network.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
A collection of Model Context Protocol servers that give AI assistants, agents and IDEs direct access to the FlagQuantum SDK through a standardized protocol that works with any MCP-compatible client.
The reference design is Qiskit/mcp-servers,
and we follow its packaging, testing and publishing conventions so that anyone
who has configured a Qiskit MCP server already knows how to configure ours.
| Server | Package | What it does | Auth |
|---|---|---|---|
| FlagQuantum | flagquantum-mcp-server | Build, compile, route, serialize and plan FlagQuantum circuits locally | None |
Any MCP-compatible client works the same way, because there is no credential to configure:
See flagquantum-mcp-server/README.md for
the full tool list and the limits each tool enforces, and
flagquantum-mcp-server/examples/ for a
runnable end-to-end script.
main instead of the latest releaseReleases are batched deliberately, so main is regularly ahead of PyPI. To run
the current main β a fix that has not been released yet, or a change under
review β point the client at the repository instead of the package:
uvx reports the commit it built, such as
flagquantum-mcp-server @ git+https://...#subdirectory=...@e9197fb. Quote that
commit in a bug report rather than a version number: a checkout of main
reports the last released version while carrying commits that release does not
have, so the version alone does not identify what you ran. See
CONTRIBUTING.md for the release policy.
These are deliberate, and each one is a departure from the reference suite that a reader should understand rather than "fix".
This repository is out of tree, permanently. FlagQuantum's long-horizon
architecture contract names "the main repository has no production MCP
transport dependency" as a retirement condition, and its
tests/team/services/test_service_boundaries.py fails if mcp or fastmcp
becomes importable on the core path. Its AGENTS.md says MCP, REST, CLI and
notebook adapters "remain thin" while the domain stays vendor- and
SDK-neutral. Keeping protocol gateways at the system edge, in their own
repository, is what that contract asks for. A test in
tests/test_api_contract.py asserts the coupling points one way only.
There is no root meta-package yet. The reference suite ships
qiskit-mcp-servers, which installs a chosen subset through extras. That earns
its keep when the servers are genuinely separable, which for Qiskit they are: a
local circuit server needs no IBM account, a runtime server needs a token, a
gym server drags in torch through a reinforcement-learning stack. FlagQuantum
has one SDK, one IR and no heavyweight subsystems to split, so a meta-package
would aggregate nothing. It can be added when a second server exists.
No server here submits hardware jobs. FlagQuantum's released 0.2.0 ships no remote-submission entry point, and QPU submission is a governed capability β preflight, approval, budget, evidence β that belongs to a control plane rather than to a local adapter any agent can call. Every tool in this repository runs locally, deterministically, with no credentials and no outbound request. A server may listen, so that a client which connects to servers rather than launching them can reach it; that is an inbound socket, not egress.
One dependency is unavoidable and it is heavy. flagquantum requires
torch, so any package here pulls it. The reference suite's four core servers
are all light, and its qiskit-docs-mcp-server does not depend on qiskit at
all β there is no equivalent here, because every tool needs the SDK. On Linux
x86_64 a bare pip install resolves torch to the CUDA wheel set; CI pins the
CPU index URL. Expect the first uvx run to be slow.
FlagQuantum publishes a frozen stable_exports snapshot (34 names, each with a
named verification test) and separately describes flagquantum.compiler as its
"stable expert compiler interface". Servers here may use both, in tiers, and
must say which tier they rest on:
| Tier | Surface | Strength |
|---|---|---|
| 1 | The frozen stable_exports snapshot | Strongest; each name has a verification test upstream |
| 2 | flagquantum.compiler (__all__ documented, not in the snapshot) | Public, but not frozen |
| 3 | Public submodule functions with no __all__ (the emitters) | Weakest; must be pinned by a test here |
Anything else β flagquantum.core.*, planner internals, executor internals β is
off limits. See AGENTS.md.
The first install pulls torch. On Linux, prefer the CPU wheel:
See CONTRIBUTING.md. Read AGENTS.md first:
the boundary rules there are not stylistic.
Apache-2.0. See LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/flagquantum-mcp-server)<a href="https://allmcps.com/mcp/flagquantum-mcp-server"><img src="https://allmcps.com/api/badge/flagquantum-mcp-server?style=directory" alt="FlagQuantum MCP Server on AllMCPs" /></a>