Skip to main content
Glama
guoji-quantum

GJQ Runtime MCP Server

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GJQ_API_KEYYesYour API key for the 国基 / CETC-ICQ 量子云平台 (get from https://www.tiangongqs.com/cloud)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
setup_gjq_account_toolA

Configure and cache the GuoJi Quantum cloud account credentials.

The api_key is persisted to ~/.gjq_client/gjq_client_account.json for reuse.

SECURITY: the api_key is passed as a tool argument, so it can end up in the LLM context and in client/transport logs. Prefer setting the GJQ_API_KEY environment variable; use this tool only in a trusted local setup.

active_account_info_toolA

Get the currently configured account info (api_key masked).

list_backends_toolA

List all available quantum backends (devices/simulators).

get_backend_configuration_toolC

Get the static configuration of a backend (basis gates, n_qubits, etc.).

get_backend_properties_toolC

Get calibration properties of a backend (T1/T2, gate errors). May be null.

least_busy_toolA

Return the name of the least busy available backend.

sample_toolA

Submit a sampling task. Provide the circuit as an OpenQASM 2.0 string (OpenQASM 3 also works if the optional qiskit_qasm3_import is installed).

Returns a task_id; poll get_task_status_tool then get_task_result_tool. SAS-CPU simulator requires amplitude_index.

estimate_toolB

Submit an expectation-estimation task.

observable is a list like [["ZZ", 1.0], ["XX", 0.5]] (Pauli string + coeff). Returns a task_id; fetch results with get_task_result_tool(task_id, observable).

get_task_status_toolB

Get task status: INITIALIZING / QUEUED / RUNNING / DONE / ERROR / CANCELLED.

get_task_result_toolA

Get the result of a task.

While the task is still running the result is empty and pending is true; check task_status to see the current state. Pass observable (same format as estimate_tool) to compute expectation values.

get_task_log_toolC

Get the execution log of a task.

get_task_detail_toolC

Get task details (backend, shots, submit time).

list_my_tasks_toolA

List the current user's tasks.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
service_statusService status and active anti-abuse limits.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/guoji-quantum/gjq-runtime-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server