marqov-mcp
v0.3.4MCP server for the Marqov quantum orchestration platform
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_backends
List the quantum backends on the Marqov platform: their slug, provider, device type, qubit count and availability. Call this first — the `slug` is what every other tool means by `backend`. Needs no API key, so it works before this team has one. Backends include real QPUs. This server can price them and simulate against them, but cannot run a job on them: Submitting a job to real hardware is not available through this server. Use the Marqov web UI or the `marqov` Python SDK.
| Parameter | Type | Description |
|---|---|---|
available_only | boolean |
check_backend_availability
Show only the backends that are up right now, with queue times and pricing. Use this when choosing where to run, or when a backend appears to be refusing work. `list_backends` is the fuller catalogue; this is the operational view.
estimate_cost
Price a run on a backend WITHOUT running it. Nothing executes and nothing is spent. Use this before proposing any paid work, and quote the number to the user before they commit to it. Reads live platform pricing, so it reflects what the run would actually cost today. When the team pays its own provider account, the platform will not quote a paid backend here. This tool then returns Marqov's catalogue list price instead, marked `basis: "list_price"`; quote it as the list price, not as the team's bill, and use `analyse_script` on a saved script for the team's own provider estimate. A price he…
| Parameter | Type | Description |
|---|---|---|
backend * | string | |
shots | integer |
run_on_simulator
Run an OpenQASM program on Marqov's FREE simulator and return the measurement counts. Costs nothing; usually finishes in seconds. Each run is a real $0 job on the `local` backend, so it appears in the team's job list and its `job_id` can be passed to `get_job_status`, `get_job_trace` or a Project result block. If the run is still going when this returns, the response says so with the `job_id`; poll `get_job_status` rather than running it again. The free simulator runs OpenQASM 2 or 3 only (up to 24 qubits, 1 to 10,000 shots). Translate Qiskit, Cirq or PennyLane circuits to OpenQASM first, fo…
| Parameter | Type | Description |
|---|---|---|
code * | string | |
backend | string | |
language | string | |
shots | integer |
list_jobs
List this TEAM's jobs, newest first, optionally filtered by status or start date. Scope is the team the API key belongs to, not one person — so this will include work submitted by colleagues, and by the web UI and SDK as well as by agents. That is correct, not a bug. Use it to find a job_id when the user refers to a run without giving one. `status` is one of the platform's job states; `created_since` is an ISO-8601 timestamp. Results are paginated — pass the returned cursor to continue.
| Parameter | Type | Description |
|---|---|---|
created_since | ||
cursor | ||
limit | integer | |
status |
get_job_status
Check where a job has got to. Returns its state, and — once it has finished — its result. A large result is summarised here rather than inlined; call `get_job_result` for the full payload. If the job is still running, call this again rather than waiting: it returns promptly and repeated calls are cheap. Only jobs belonging to this key's team are visible.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
get_job_result
Get the full result payload of a finished job — measurement counts and whatever else the run produced. Reach for this when `get_job_status` says the result was too large to inline. A very large payload is still truncated, but the truncation says what type and size it is, so you know what you are not seeing. Pass `next_offset` as `offset` to fetch the next page; `max_chars` is 1–4000. Offsets refer to characters in the JSON text. Only jobs belonging to this key's team are visible.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
max_chars | integer | |
offset | integer |
get_job_trace
Get the execution trace of a job — the step-by-step record of what the platform actually did. This is the debugging tool. When a run failed, or finished with results that do not make sense, the trace shows where it went wrong: which stage, which backend, what the platform saw. Reach for it after `get_job_status` reports a failure, before speculating about causes. Only jobs belonging to this key's team are visible.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
get_team_usage
Show what this TEAM has spent on the platform in a calendar month: the total, last month's total for comparison, and the split by provider, by backend and by day. Use it before recommending a paid run, or when the user asks what the team has been spending. `month` is `YYYY-MM`; omit it for the current month. Amounts are USD. This is recorded spend, not a budget: the platform does not expose the team's spending limit or this key's daily cap here, so do not infer headroom from it. Scope is the team the key belongs to, not one person.
| Parameter | Type | Description |
|---|---|---|
month |
save_script
Save source code to this TEAM's script library so it can be inspected, pre-checked and later run from the web UI or SDK. Returns the new `script_id` and the platform's validation warnings. Nothing is executed and nothing is submitted. `name` is 1–200 characters; `script_content` is the source (up to 100,000 characters); `requirements` is optional requirements.txt text; `script_type` is `task`, `workflow` or `script`, detected when omitted. The request is sent once with an Idempotency-Key the platform deduplicates on: pass `idempotency_key` to make a retry identical, and reuse the key this t…
| Parameter | Type | Description |
|---|---|---|
name * | string | |
script_content * | string | |
description | ||
idempotency_key | ||
requirements | ||
script_type |
get_execution_options
Preflight a saved script: for each backend, whether this TEAM could run it there now and, if not, the platform's reason (not enabled, retired, offline, wrong program type, approval or funding missing). Also returns what kind of work the source is, its SHA-256, and the team's available balance. Read-only; the platform re-checks everything at submission. `script_id` is a saved script (from save_script or the library); `shots` defaults to 1000. Use it before analyse_script to pick a backend, and to answer "where can this run?" without guessing from the catalogue. The only run this server can sub…
| Parameter | Type | Description |
|---|---|---|
script_id * | string | |
shots | integer |
analyse_script
Run the platform's pre-run analysis of a saved script against one backend: estimated cost and budget position, the checks a submission would face (blocking ones singled out), suggestions, execution window, and `can_run`. Nothing is executed. The analysis is recorded on the platform for this TEAM, which is why it needs `simulate`. `script_id` is a saved script; `backend` is a slug from list_backends; `shots` defaults to 1000. The returned `analysis_id` is what a paid submission must carry: it is single-use and expires at `expires_at` (about 15 minutes). Pass it to submit_managed_run for a free…
| Parameter | Type | Description |
|---|---|---|
backend * | string | |
script_id * | string | |
shots | integer |
submit_managed_run
Submit a saved `@task`/`@workflow` script as a tracked job on a FREE managed simulator (`marqov-sim`) through the platform's managed contract, and get a job_id to follow with get_job_status. Defaults to `dry_run=true`, which preflights everything (the key's team, the enabled runtimes, the cap range, the saved source) and sends nothing; pass `dry_run=false` only when the user has asked for this run. `cap_cents` is required: the most the platform may reserve of the TEAM's funding for this job. This server refuses caps above its own ceiling (500 cents unless the operator raises it), far below th…
| Parameter | Type | Description |
|---|---|---|
cap_cents * | integer | |
entrypoint * | string | |
programming_model * | string | |
script_id * | string | |
analysis_id | ||
args | ||
backend | string | |
dry_run | boolean | |
idempotency_key | ||
kwargs |