MCP server¶
Point your own agent at National Compute. The platform hosts an MCP (Model Context Protocol) server that bundles the whole tenant surface — market data, capacity and limit prices, billing, hardware metrics, and server-side Kubernetes access — behind one OAuth sign-in. No API token to mint, no kubeconfig to install, no kubectl on the agent's machine.
https://nationalcompute.com/mcp
Any MCP capable agent connects: marshall, Claude Code, Codex, Cursor,
claude.ai, or your own. The orientation the server hands every client on
connect states the framing in one line. You are talking to a market
rather than a reservation system, so read market_read or
price_estimate before pricing anything.
Connecting¶
The endpoint is Streamable HTTP with standard MCP OAuth: add it to your
client and complete the browser sign-in when prompted. You sign in as
yourself — a member of your organization — and every action the agent
takes is attributed to you. Every sign-in then shows a page that asks
whether to allow the MCP client: it names the host the client returns
you to and what it can read. Continue lets it in; Cancel
refuses, and the client receives access_denied.
Claude Code
claude mcp add --transport http national-compute https://nationalcompute.com/mcp
claude.ai — Settings → Connectors → Add custom connector with the URL above.
Cursor — add to mcp.json:
{"mcpServers": {"national-compute": {"url": "https://nationalcompute.com/mcp"}}}
If you belong to several organizations, configure the endpoint as
https://nationalcompute.com/mcp/o/<org> (your org's name or id); the
server tells you so on the first tool call.
Headless machines (a VM with no browser): the OAuth callback lands
on localhost, so forward it over your SSH session while you sign in
from your laptop's browser:
ssh -L <port>:localhost:<port> you@your-vm
where <port> is the callback port your MCP client prints. Sign-ins are
long-lived — an idle agent re-authenticates after ~90 days, not daily.
Signing out of the console does
not end MCP sign-ins: a client keeps refreshing its own sign-in while
it is used.
The wire¶
An unauthenticated POST answers 401 with the RFC 9728 challenge that
points a client at sign-in:
WWW-Authenticate: Bearer resource_metadata="https://nationalcompute.com/.well-known/oauth-protected-resource/mcp"
That metadata document names the authorization server,
https://auth.nationalcompute.com/application/o/nc-mcp/. It accepts the
authorization code flow with PKCE, which is what MCP clients use. PKCE
with S256 is required. An authorization request for the MCP client
that carries no code_challenge, or a code_challenge_method other
than S256, is refused with 403 before sign-in, at the edge and again
at the authorization server. The metadata document advertises
code_challenge_methods_supported: ["S256"]. The authorization server
also accepts the device code flow, for a terminal client that cannot
open a browser. The device code flow has no PKCE step; its link opens
the device sign-in page kubectl uses.
Protocol version 2025-06-18.
| Fact | Value |
|---|---|
| Method | POST; GET and DELETE answer 405 |
| Response | one JSON-RPC response per POST, application/json |
| Sessions | none: no session id, no server-sent events, no server push |
| Batches | refused |
| Methods | initialize, ping, tools/list, tools/call; notifications/* answer 202 |
| Result size | each tool result is clipped at 40,000 characters, with a suffix naming the limit |
$NC_MCP_TOKEN below is the OAuth access token your client obtained,
never an org API token. Start with initialize:
curl -sS https://nationalcompute.com/mcp \
-H "Authorization: Bearer $NC_MCP_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{
"protocolVersion":"2025-06-18","capabilities":{},
"clientInfo":{"name":"my-agent","version":"1.0"}}}'
{"jsonrpc": "2.0", "id": 1, "result": {
"protocolVersion": "2025-06-18",
"capabilities": {"tools": {}},
"serverInfo": {"name": "national-compute", "version": "1.0.0"},
"instructions": "National Compute MCP server. Call grid_whoami first: …"
}}
tools/list answers the whole catalog in one response:
{"jsonrpc": "2.0", "id": 2, "method": "tools/list"}
A tools/call carries the tool name and its arguments. The result is
one text block holding the tool's JSON:
{"jsonrpc": "2.0", "id": 3, "method": "tools/call", "params": {
"name": "metrics_read",
"arguments": {"action": "flags", "cluster": "aurora-prod",
"kind": "Job", "name": "train-llm", "range": "6h"}}}
{"jsonrpc": "2.0", "id": 3, "result": {
"content": [{"type": "text", "text": "{\n \"cluster\": \"aurora-prod\", …"}],
"isError": false
}}
A refused tool answers isError: true with the refusal JSON in that
same text block. The JSON-RPC error envelope is reserved for protocol
faults.
The tools¶
Call grid_whoami first: it names your organization and every cluster
you can address. Each cluster entry carries the facts the console gates
its pages on: market (true = the cluster trades on the market and a
limit price or capacity declaration applies; false = a fixed cluster
the platform sizes; null = not known yet), gpus_per_node,
shared_volume (null when the storage record could not be read),
cpu_worker and site_notice (the platform's notice for the cluster's
site, the console's banner, or null; see
whoami). Each entry also carries incident:
the cluster's incident as data,
or null. The key is absent where incident updates are not available
to your organization. orgs lists the organizations you belong to as
{id, display}, and org_bound with orgs_note say whether you can
switch: an OAuth session with several organizations pins one with the
/mcp/o/<org> endpoint; a member or workspace token is bound to its
organization and cannot switch. Kubernetes tools take an explicit
cluster argument and run server-side under an agent service
account minted for you on demand — the credential never reaches the
client.
Read tools:
| Tool | What it does |
|---|---|
grid_whoami |
your org (org_id, org_display, org_kind) and the region its workspaces run in, your identity, your own orgs, every addressable cluster with its id (the access setup command's argument), kind, GPU class, market posture, gpus_per_node, shared_volume, cpu_worker, site_notice and incident; a Slurm entry adds its login endpoint |
market_read |
clearing-price ticks (20 rows by default, limit up to 500; tail with after_id, page back with before_id, as on the price feed), bucketed history, or the price-to-win ladder |
capacity_read |
the standing limit price (k8s) or capacity declaration (VM) |
roadmap_read |
expected landing quarter for a GPU model, from planning; an expectation and never a commitment; no quantities, dates or sources |
price_estimate |
a cost band for a job shape from recent clearings — an index, not a quote |
billing_read |
transactions (each row's category and allocations), daily rollups, summary (the balance card, the hold state, the wire transfer rail), balance + burn rate, per-workload usage, rates, usage per bucket grouped by resource type, cluster and product (view usage_groups), the payment history (views payments and receipt), the monthly statements (view statements, the months list; view statement with month as YYYY-MM, that month's statement JSON plus download, which names the token route that answers the PDF and CSV and the console link a signed-in person opens; never the file bytes; both views spend the statement budgets); the summary and balance views carry the credit balances and debt block (total balance, available to spend per scope, credit balances, debt, unpaid, advances with an agreed deal's line of credit and its months, locks, Reserved funding, notices); the summary view carries the membership level and the runway |
notifications_read |
the Notification settings page and the Billing page's Billing alerts: each category with its recipients[] (who receives it, subscribed, default), rules[] (enabled, the default and its reason, params, the low balance status) and member_default, billing_email, the last 20 sends as recent[], writable, personal, me (the person the credential speaks for) and updates (your own Updates switches; null for a credential with no person); listed only where notifications are available to your organization |
inbox_read |
your own notification history, the console's bell and Notifications page: the notices emailed to you about your organization plus the ones not tied to an organization, newest first (limit 1 to 50, default 20; page back with before_id), each {id, at_ms, kind, category, subject, text, org_id, unread, email}, with unread, latest_id, next_before_id and has_address; never marks anything read; an org API token is refused 403 person-required |
support_read |
the Support page: whether your organization files tickets (eligible, reason, level, required_level, upgrade_url) and whether you can (writable), the field limits, and the organization's 100 newest tickets as tickets[], each with its ref, kind, status and paged |
incidents_read |
your organization's incident updates as data: the incidents of the last 365 days (currently), newest first, or one of them by id (cluster narrows to one cluster by id or name; limit 1 to 50, default 20); each entry carries the fields of the incident object except nodes, plus clusters, updates (each with the node counts it stated as nodes and nodes_at) and review; an unknown id or cluster answers an empty list; an agent acts on advice and treats an unknown advice as contact_support; listed only where incident updates are available to your organization |
cluster_read |
live Kubernetes state: pods and events as one summary row per object (raw: true for the full objects), logs, any resource, raw GET paths |
job_watch |
a bounded poll over a job's pods: phases, restarts, the market's own events with their verdicts, preemption deadlines, Kueue Workload requeue state, the standing limit price |
service_call |
one HTTP request to a cluster-internal Service (the port-forward stand-in) |
metrics_read |
what the platform's monitoring saw on a node, or on every node a workload touched, plus flags with the evidence behind them; a node may sit in a Kubernetes or a Slurm cluster |
node_ledger_read |
the node ledger: what the platform did to the nodes of your organization's clusters, newest first (cluster narrows to one cluster by id or name, node to one node name; limit 1 to 100, default 50; page back with before), each entry {id, at, cluster, node, kind, cause, state, finished_at, release, cve, text}, with coverage and next_before; version 1 lists the node restarts and the node replacements that the platform started by itself and the Kubernetes upgrades that finished; coverage states in short what the list holds; an unknown cluster, node or before answers an empty list; listed only where the node ledger is available to your organization |
slurm_read |
a Slurm cluster as the console shows it: node states and GPU allocation, the live queue, GPU hours, shared /home, one job's record and queue position, its log tail or a grep over it |
metrics_query |
one PromQL expression of your own over your organization's monitoring, bounded and read only |
dashboard_read |
your own Grafana dashboard documents and the platform's tenant dashboards, with panels and variables |
docs_read |
this documentation: table of contents, search, pages |
recipe_read |
the starter recipes catalog and files; for a Kubernetes manifest pass gpus_per_node, the cluster's own from grid_whoami (unknown when it is null), and every GPU request and GPU launcher argument asks for that count; a count no GPU node type has is refused bad-request (GPUs per node) |
skill_read |
the skill collection: instruction sets Marshall follows for one task, the global collection plus your organization's own skills; index lists them with label, source, install count and proposal status, body returns one skill's full instructions by id |
escalation_read |
your organization's own escalation records with their status (requested is the only status; there is no acknowledged state) |
context_read |
the guidance the console agent loads at session start: the escalation rules and the notes the platform team wrote for your organization |
feedback_read |
your organization's own feedback submissions and whether your next substantive submission earns the feedback reward |
checkpoint_read |
your organization's published checkpoints in every state; list, search (q over title, description and file name) and get by id. The public feed itself is the anonymous route, never a member tool's list |
account_sessions |
everywhere your account is signed in, the rows of Active sessions: {sessions, count, complete, manage_url}, each session {id, kind, group, name, source, first_used_at, last_used_at, this_browser, ends}. kind is browser, kubectl, mcp, workspace_token or api_token; group is browser, sign_in or token; ends says what revoking it ends; an unknown time is null; this_browser is always null (a tool call is not a browser); complete is false when some sign-ins could not be read right now. Read only: revoke on the Active sessions page or at manage_url |
account_connected_apps |
the apps you approved to use your account and have not revoked, each {client_id, name, scopes, granted_at}; National Compute's own apps never ask and the MCP client asks on every sign-in, so neither is listed, and the list is empty until you approve another app; revoke one at manage_url |
grid_api |
the live OpenAPI contracts, plus a fixed set of GET paths from the REST API: the console's Workloads, Run History, job, reservation, purchase quote, capacity pools (with deal offers), upgrade, kubeconfig, storage volume, object storage bucket, token, activity and capacity change reads, the organization's finished runs and their totals, beside the market, billing and organization feeds |
grid_api action=get serves the Storage page (/api/k8s/storage,
with its fullness bands) and the
Cluster Overview charts (/api/k8s/capacity/history, with the
seven health states) among its
paths; an unlisted path refuses and names the set.
Single-phase writes, each on records of your own:
| Tool | What it does |
|---|---|
dashboard_write |
create, update, keep or delete a Grafana dashboard document of your own from a small panel spec; scratch documents expire after 24 hours unless kept |
feedback_write |
record product feedback for the National Compute team in one call; nobody replies, and substantive feedback earns credits under the feedback rewards terms |
inbox_write |
action: seen with through_id: marks read every item of your own notification history in this organization, the ones not tied to an organization included, with an id at or below through_id, as opening the bell's panel does; answers {unread, latest_id, marked}; an org API token is refused 403 person-required |
skill_write |
create, update and delete one of your organization's own skills (update and delete by the author only; a delete takes the skill's installs with it); propose is two-phase and asks the National Compute team to add the skill to the global collection, after a check against the public page policy |
support_file |
file a General support ticket (Ultra and Steward): summary, details, and optionally affected, kind (general only) and request_id; a repeated request_id answers the ticket it already filed and files nothing; any other kind is refused major-incident-console-only, since a Major incident pages our on-call engineer and a person files it on the console's Support page |
Two-phase tools, the ones that spend money or mutate state:
| Tool | What it does |
|---|---|
bid_write |
k8s: set the limit price (release is a VM argument: an empty or null release on a k8s call is ignored, a non-empty one is refused). VM: declare capacity plus an optional release list naming the nodes to give back first (victim nomination); a raise with no registered ssh key for the cluster refuses 422 no-ssh-keys at the preview (register a key) |
vm_swap |
destroy-and-replace one VM node |
vm_wake |
wake one dormant VM cluster without a declaration (waking a cluster); the preview carries cluster, dormant_since and source (entry takes a ready site project; mint makes a fresh one in about 12 seconds); the confirm answers the route's 200 body |
ssh_keys |
list org SSH keys (free); add and revoke are two-phase |
cluster_apply |
server-side apply of a YAML manifest, with server dry-run previews |
cluster_delete |
delete one named object |
notifications_write |
change the Notification settings page and Billing alerts: action: subscribe (category, recipient_kind, recipient_id, subscribed; a member row only your own), action: rule (rule with enabled and optional params, or reset: true), action: billing_email (email, null clears it), action: member_default (category, default: opt_out or opt_in) or action: updates (type, subscribed: your own Updates switches); a member row and updates need a person's credential (403 person-required otherwise); the preview carries current and proposed, the confirm answers the notifications_read body; listed only where notifications are available to your organization |
billing_write |
the billing actions: checkout, setup and portal answer a hosted page URL in one call for a person to complete; limit (tighten only) and reload (auto reload, both directions here because a person approves the preview) run in two phases under the human confirmation class |
upgrade_write |
run the cluster's open Kubernetes upgrade: action: now starts it at once; action: schedule with at (ISO 8601 with its timezone offset, a whole hour after now and at or before the deadline, for example 2026-10-21T09:00:00-07:00) sets its time; a second call replaces it; the preview is the console dialog's facts: the two parts, the node count, a queue note while another upgrade runs where the cluster runs, a pause note while the platform holds upgrades there; refusals 404 no-pending-upgrade, 409 paused (quote the support reference), 409 running, 422 in-the-past, 422 past-deadline, 422 bad-time |
escalate |
send a request the platform cannot self serve to the National Compute team (a Base Load reservation ask, a capacity watch, an unsupported ask, feedback); the preview is the message as the team receives it |
checkpoint_write |
delete one of your own published checkpoints (action: delete); the preview names the item, the confirm removes it for the organization and from the public feed. Publishing carries bytes the wire cannot: that is the REST family or Marshall's checkpoint_publish inside a workspace |
Node lifecycle is never available: no tool can cordon, drain, taint or
delete a node, on any path, with any confirmation. cluster_apply and
cluster_delete refuse Node kinds before they reach the cluster.
cluster_apply takes documents of these kinds: Pod, Service,
ConfigMap, Secret, PersistentVolumeClaim, ServiceAccount,
Event, Namespace, Deployment, StatefulSet, DaemonSet,
ReplicaSet, Job, CronJob, Ingress, NetworkPolicy, Role,
RoleBinding, the Kueue Workload, and the Kueue job kinds
LeaderWorkerSet, JobSet and MPIJob. A document of any other kind,
any other custom resource included, is refused 422 bad-request
(unknown kind) before it reaches the cluster.
metrics_read has its own page. Telemetry and flags
covers its three actions, the answer shapes, the flag rules and the
refusals, and metrics_query, the free-form read next to it.
Dashboards covers dashboard_write and
dashboard_read: the panel spec, ownership, scratch expiry and the
caps. roadmap_read has its own page as well.
Checkpoints covers checkpoint_read and checkpoint_write, the public feed anyone can read and the REST family that publishes.
Hardware roadmap states what the roadmap publishes and
what it never publishes. grid_api get /api/k8s/nodes serves the
Cluster Overview board, every
node with the platform's verdict word; grid_api get
/api/k8s/nodes/<node> answers one machine.
grid_api get /api/k8s/cluster/upgrade answers the cluster's release
and its open upgrade notice
(the upgrade read); upgrade_write
runs or schedules the upgrade
(Kubernetes versions and maintenance).
grid_api paths¶
grid_api {action: get, path, params} serves a fixed set of the
REST API reads in process, org keyed like every tool. Any
other path reads 404 not-found with the whole set in detail.
Kubernetes paths take params.cluster the way the REST routes take
?cluster=, and refuse the way those routes refuse: 409
cluster-not-ready, 404 not-found for a cluster outside your
organization or a VM cluster, 422 bad-request for a malformed
parameter, 503 station-unavailable when the island cannot answer.
| Path | Page |
|---|---|
/api/whoami |
Index |
/api/market/ticks, /api/market/history |
Market feed |
/api/k8s/bid, /api/k8s/workloads/bid, /api/k8s/storage/volumes, /api/k8s/storage/bucket |
Limit price |
/api/k8s/cluster, /api/k8s/cluster/kubeconfig, /api/k8s/cluster/upgrade, /api/k8s/reservations, /api/k8s/reservations/quote, /api/k8s/capacity/pools, /api/k8s/capacity/calendar |
Kubernetes cluster |
/api/k8s/market/ladder, /api/k8s/market/demand, /api/k8s/market/spend, /api/k8s/market/paid, /api/k8s/market/bidhistory |
Kubernetes market |
/api/k8s/workloads, /api/k8s/workloads/runs, /api/k8s/workloads/history, /api/k8s/workloads/cost, /api/k8s/workloads/metrics |
Cluster pages |
/api/k8s/jobs/{jobid}, /api/k8s/jobs/{jobid}/cost, /api/k8s/jobs/{jobid}/network |
Cluster pages |
/api/vm/capacity, /api/vm/activity, /api/vm/history |
VM capacity |
/api/billing/summary, /api/billing/balance, /api/billing/balance/history, /api/billing/transactions, /api/billing/daily, /api/billing/rates |
Billing |
/api/billing/statements (the months list) |
Statements |
/api/org/members, /api/org/tokens, /api/org/tokens/{token_id}/activity, /api/org/activity, /api/org/runs, /api/org/runs/summary, /api/org/capacity/changes |
Organization |
/api/org/alignment, /api/org/alignment/cases |
Alignment |
A path with {jobid} or {token_id} takes the REST spelling
(/api/k8s/jobs/<namespace>~<pod>,
/api/org/tokens/<token_id>/activity) or the templated key itself with
the value in params. Both spellings are URL decoded the same way, so
ml%7Etrain-0 and ml~train-0 name one pod. A value given both ways
must agree; a disagreement reads 422 bad-request before anything is
read. A null in params is an omitted value. A pasted REST URL keeps
its query string: ?cluster=<name>&r=1h fills params, and a key set
in params wins over the same key in the query string.
Two paths answer differently from their REST routes on this leg:
/api/k8s/cluster/kubeconfiganswers JSON,{cluster, filename, media_type, kubeconfig}:kubeconfigholds the same YAML the REST route streams,filenamethe name the route's download carries. When the platform's own record served the file the route's headers ride as fields:freshness,observed_at,ingested_at, andcache_control(no-store)./api/org/tokens/self/activityreads422 bad-request: the MCP sign in carries no org API token, soselfnames nothing. Pass atoken_idfrom/api/org/tokens.
The nodes, machine, storage and capacity history reads
(/api/k8s/nodes, /api/k8s/nodes/{node}, /api/k8s/storage,
/api/k8s/capacity/history) are served on this leg as well.
/api/k8s/capacity/pools is organization keyed and takes no
params.cluster. Its pools carry the
deal offers National Compute makes your
organization, with their terms, payment, other charges, deposit,
funding window and status;
/api/k8s/reservations/quote answers what a purchase would lock now
(purchase quote);
/api/k8s/capacity/calendar answers which days a block of one size
fits (calendar); and
billing_read carries each block's
Reserved funding and its notices. A
block billed under your agreement
carries billed_under_agreement and deal_id on
/api/k8s/reservations and the pools read
(Base Load book), and
billing_read carries the agreed deal's
line of credit with its notices.
Storage under your agreement
carries billed_under_agreement, deal_id and
agreement_usd_per_tb_month on the
billing quote of
/api/k8s/storage/volumes and /api/k8s/storage. An agent reads all
of it. Accepting or declining an offer and
Fund now are a person's own decisions, made in the console, and no
tool performs them.
Slurm reads covers slurm_read:
its four actions, the answer shapes, the node state vocabulary and the
connection facts grid_whoami carries for a Slurm cluster.
Two-phase confirmation¶
Every tool that spends money or mutates state runs in two phases. The
first call returns a preview — the current state, the proposed
change, its projected cost — and a single-use confirm_token valid for
300 seconds. The same call repeated with identical arguments plus
the token executes. Changed arguments, a reused token, or an expired one
refuse with a typed error; nothing executes without a fresh preview.
Your agent should show you the preview before confirming — but the pause is enforced server-side either way.
Human confirmation¶
A preview that spends money or destroys data carries one more key
beside confirm_required:
"human_confirmation": {"required": true,
"reason": "destroys the node and every file on its disks"}
reason is one sentence stating what happens to your organization. A
preview without the key is the ordinary gate. The server decides per
call, so a mixed tool marks only the calls that qualify:
| Call | Marked |
|---|---|
vm_swap |
yes |
vm_wake |
no; a wake destroys nothing and changes no declaration |
bid_write with kind: vm and a max_gpus below the GPUs your granted nodes hold (0 included), or with a non empty release list |
yes; the reason names how many nodes the declaration releases; release: [] (clear the nominations) alone is not marked |
bid_write with kind: vm that grows or keeps the declaration, or with kind: k8s |
no |
cluster_delete of a PersistentVolumeClaim, Namespace, VolumeSnapshot or VolumeSnapshotContent (any case, singular or plural, pvc, ns, group qualified spellings) |
yes |
cluster_delete of a StatefulSet whose spec.persistentVolumeClaimRetentionPolicy.whenDeleted is Delete |
yes |
cluster_delete of a PersistentVolume (pv) |
refused today as an unknown kind (422 bad-request); marked if the kind is ever added |
cluster_delete of any other kind (Job, Pod, Deployment, Service, a StatefulSet that keeps its claims, ...) |
no |
cluster_apply of a StatefulSet document that sets persistentVolumeClaimRetentionPolicy.whenDeleted or whenScaled to Delete, or that lowers replicas on a live set whose whenScaled is Delete |
yes |
billing_write with action: limit |
yes; the reason states that the call lowers what the organization may spend this month |
billing_write with action: reload |
yes; with enabled: true the reason states that the call arms automatic card charges that spend the organization's money without further approval, with enabled: false that it changes the automatic top up setting |
billing_write with action: checkout, setup or portal |
no; one call answering a hosted page URL, which a person completes in a browser |
every other cluster_apply, ssh_keys |
no |
upgrade_write |
no; an upgrade spends no credits and destroys no data, so a workspace agent's token may run it |
notifications_write |
no; a notification setting spends no money and destroys nothing |
The marker, the instruction and the confirm_token precede preview in
the envelope, so the 40,000 character clip on a large preview never
removes them. The preview of a marked call also carries a warning
built from the same reason; a cluster_delete preview names the
canonical resource plural beside the kind you spelled. A cluster
scoped object (a Namespace, a VolumeSnapshotContent) has no namespace
in its preview. A decision read from the live cluster (a StatefulSet's
retention policy, the number of granted nodes) is read again at
execute; when the answer changed inside the window the call refuses
409 object-changed and needs a fresh preview.
The server marks the class and verifies nothing more: on the wire a
human's answer and an agent's are the same confirm_token. The
platform's own clients (marshall and the workspace agent) ask you in
the terminal for every marked preview. Full Access does not answer it.
A remembered answer does not answer it. A third party client is told
the same in the server's instructions and should hold the call for
your explicit answer. The execute leg is unchanged: the same token, the
same 300 second expiry, the same typed refusals.
The token a workspace agent holds cannot run a marked call at all. The
server refuses 403 workspace-human-class-refused before a preview
exists. Nothing in the workspace can prove a human answered. Use the
console or an MCP client signed in as yourself for those calls; every
other two phase call stays open to the workspace agent.
Tool annotations¶
Every tools/list entry carries the standard MCP annotations object,
so a client can gate by hint before it reads a description:
| Hint | Meaning here |
|---|---|
readOnlyHint |
true on every read tool; the tool changes nothing |
destructiveHint |
false on vm_wake, escalate, feedback_write, notifications_write, inbox_write and support_file, which spend and destroy nothing; true on every other write tool, since none is purely additive: vm_swap, cluster_delete, ssh_keys (revoke), dashboard_write (delete), service_call (a POST reaches your own Service), bid_write (a VM withdraw releases nodes and their disks), cluster_apply (an apply can replace a template or shrink replicas), billing_write (limit and reload change what the organization spends; the hosted pages mint a fresh Stripe session), upgrade_write (the cluster never returns to the previous release) |
idempotentHint |
true when repeating the same arguments changes nothing more: every read, bid_write, cluster_apply, vm_wake, notifications_write, inbox_write, upgrade_write (now again moves the time to now; the same hour again stands) |
openWorldHint |
false on every tool; they talk to the platform only |
The hint and the class are different facts: a k8s bid_write, a
growing VM declaration and an ordinary cluster_apply are destructive
by hint and stay the ordinary gate.
Never available through any tool, with any confirmation: minting an org
API token or a member token (your human does it on the console's API
Keys page); inviting or removing members, join rules and domain rules;
buying Base Load, accepting or declining a
deal offer, and Fund now on a
funding window; destroying the shared NFS volume (the Storage page's
volume destroy); showing or rotating the
object storage credential (the
Storage page's Show and Rotate); signing a session out, revoking a
connected app, and every password, passkey, authenticator app and
recovery code change (the account page,
as yourself); filing a Major incident support ticket, which pages our
on-call engineer (the console's Support
page). A Kubernetes PersistentVolumeClaim
delete is a different object: it goes through cluster_delete under
the human confirmation class. The hosted billing pages (checkout, card
setup, payment portal) are URLs you complete in a browser.
Feedback rewards¶
feedback_write records how the platform worked for you — the cluster,
scheduling, pricing, the docs, the agent tools, billing — for the
National Compute team to read. Nobody replies to feedback; a question
that needs a human answer is escalate. It takes body (1 to 8000
characters) and optionally category (cluster, scheduling,
pricing, docs, agent_tools, billing, other), rating (1 to
5), cluster and contact_ok.
Public-research organizations cannot earn feedback rewards, even after
buying credits. Their feedback is still recorded and read; the reward
is skipped with reason public_research.
For eligible standard organizations, substantive feedback (500 or more characters after whitespace is collapsed) grants 25 credits to the organization when submitted, as Promo credits that expire (30 days after the grant by default). Two limits apply: one rewarded submission per member per rolling seven days, and at most one reward per $1,000 of credits your organization has loaded or received, over its lifetime, with the rewards themselves not counted. Shorter feedback is recorded and read, and earns nothing.
The response says whether the reward was granted and, if not, why:
short, member_weekly, org_cap, ineligible, disabled or
public_research, with next_eligible_at and org_rewards_remaining.
feedback_read shows
the same eligibility before you write, beside your organization's
earlier submissions. A rewarded submission appears on the
billing ledger as a platform grant (category grant)
with the note "Feedback reward".
Rewards exist to hear real experience. Padded, duplicated or generated submissions make an organization ineligible for rewards, and that determination is entirely at National Compute's discretion. An ineligible organization can still submit feedback; it earns nothing.
Limits and semantics¶
- Rate limit: 300 requests per minute per member, twice that in an
organization at the
Max membership level or
above (currently). Every
429carries aRetry-Afterheader andretry_after_sin the body — whether from your budget (rate-limited) or from a busy replica (server-busy, and per-toolwatch-busy/service-call-busyon the long-running tools). Back off and retry. - Attribution: every action is yours — the console's Activity page shows tool calls "via MCP", and Kubernetes audit logs name your agent service account.
- Access follows membership: removing a member from the org cuts their MCP access within seconds, sign-in or not.
- Errors use the API error catalog; optimistic concurrency
rides the previews. Capacity writes capture a version at preview time
and check it at execute — concurrent changes surface as
409 version-mismatch.cluster_deletecaptures the object's uid the same way: if a same-name object replaced the previewed one, execute refuses with409 object-changed— re-preview and look again. cluster_applymanifests: at most 1.5 MB of YAML and 20 objects per call.- The protocol is stateless: no sessions to manage, and previews / confirmations work across reconnects.
Prefer raw REST? Everything here wraps the same documented APIs — org API tokens keep working unchanged.