Skip to main content
Glama

qu4zr-mcp

An MCP server that lets your AI assistant — Claude Code, Claude Desktop, GitHub Copilot, Cursor, Codex, Agy, Kiro, Windsurf — build and manage qu4zr workspaces in natural language. It wraps the qu4zr Management API as MCP tools.

A workspace is a canvas of blocks connected by links (one canvas per workspace).

Ask your assistant: "Create a workspace 'Orders' that exposes a /orders webhook and transforms the body, then show it to me." — and it appears, editable, on your qu4zr canvas.

Source and releases. github.com/Qu4zr/qu4zr-mcp is the exact source of every release: each one is built and published to npm by that repository's workflow, with a provenance attestation linking the package to the commit. The repository mirrors the package's folder in qu4zr's main codebase, so issues are welcome there and pull requests are ported by hand.

Without installing anything

If your assistant takes a remote MCP server (Claude, ChatGPT, Cursor, VS Code…), add

https://api.management.qu4zr.io/mcp

as a connector. It sends you to qu4zr to sign in and approve it — no secret to copy — and you can disconnect it under Account → API & AI Access. The hosted server has every tool except the two that act on your own machine: setup_runner, and sync_files from a local folder. For those, use the package below.

Related MCP server: Taskade MCP Server

Setup

  1. In qu4zr, go to Account → API Access and create an API client. Copy the client id and client secret (shown once).

  2. Register the server with your assistant — one command, below.

  3. npx qu4zr-mcp doctor if anything is off. It checks the same three things the server does (config → token → one real API call) and says which one broke.

Nothing to install first: npx -y fetches the package on demand. On Windows, the Codex installer uses that one interactive invocation to stage a stable runtime, then Codex launches its dist/index.js with the exact Node executable that ran the installer; npx is not left in the MCP stdio path. When that Node supports it, the installer also enables Windows' trusted certificate store automatically, so antivirus, VPN and corporate-proxy certificates work without extra setup.

Clients with a command

# Claude Code                     (-s user registers it for every project; drop it for this one)
claude mcp add qu4zr -s user --env QU4ZR_CLIENT_ID=igdc_… --env QU4ZR_CLIENT_SECRET=igds_… -- npx -y qu4zr-mcp

# GitHub Copilot CLI
copilot mcp add qu4zr --env QU4ZR_CLIENT_ID=igdc_… --env QU4ZR_CLIENT_SECRET=igds_… -- npx -y qu4zr-mcp

# Codex CLI (macOS / Linux)
codex mcp add qu4zr --env QU4ZR_CLIENT_ID=igdc_… --env QU4ZR_CLIENT_SECRET=igds_… -- npx -y qu4zr-mcp

# Codex CLI (Windows) — installs a stable runtime and writes ~/.codex/config.toml
npx -y qu4zr-mcp install codex --windows --client-id igdc_… --client-secret igds_…

# Agy                             (all flags come before the server name)
agy mcp add --env QU4ZR_CLIENT_ID=igdc_… --env QU4ZR_CLIENT_SECRET=igds_… qu4zr npx -y qu4zr-mcp

One line on purpose — a \ continuation does not survive a paste into PowerShell or cmd.

On Windows: Codex launches Node directly

npx -y qu4zr-mcp install codex --windows --client-id igdc_… --client-secret igds_…

Run that command on the Windows machine where Codex runs: the generated TOML contains that machine's absolute stable path. If an older qu4zr table already exists, review it and rerun with --force; the installer backs up config.toml before replacing the main table and its .env subtable.

[mcp_servers.qu4zr]
command = "C:\\Program Files\\nodejs\\node.exe"
args = ["--use-system-ca", "C:\\Users\\you\\.codex\\mcp\\qu4zr\\node_modules\\qu4zr-mcp\\dist\\index.js"]
env = { QU4ZR_CLIENT_ID = "igdc_…", QU4ZR_CLIENT_SECRET = "igds_…" }

npx on Windows is an extensionless POSIX shell script; the runnable file is npx.cmd, and CreateProcess only ever appends .exe. A client that spawns the command directly, without a shell, cannot start npx at all — and nothing about the failure says so. Codex reports it as:

⚠ MCP client for qu4zr timed out after 30 seconds. Add or adjust startup_timeout_sec in your config.toml

Raising that timeout cannot help. Bare npx may never start; through cmd /c, Codex 0.149.1 with npm 11.16.0 can start npx but leave it attached to the eager MCP stdin before qu4zr receives initialize. qu4zr-mcp install codex removes both failure modes by copying the already-downloaded runtime under ~/.codex/mcp/qu4zr and writing a direct launcher for the exact Node executable used to install it. If that Node supports --use-system-ca, the launcher enables Windows' trusted-root store too; older supported Node versions simply omit the flag. Other Windows clients keep the cmd /c form until their startup behaviour is measured separately.

Clients with a config file

qu4zr-mcp install <client> writes the entry for you, in that client's shape and in that client's file. It backs the file up first, never replaces an existing qu4zr entry without --force, and refuses to rewrite a file it cannot parse.

npx -y qu4zr-mcp install cursor          # or claude-desktop, vscode, kiro, windsurf, codex
npx -y qu4zr-mcp install vscode --project
npx -y qu4zr-mcp install kiro --print    # print the snippet, touch nothing

It reads QU4ZR_CLIENT_ID / QU4ZR_CLIENT_SECRET from the environment, or takes --client-id / --client-secret.

By hand, if you prefer — the clients disagree, and they disagree silently. A block in the wrong shape saves cleanly, loads nothing, and reports nothing:

Client

File

Root key

Claude Desktop

claude_desktop_config.json (%APPDATA%\Claude, ~/Library/Application Support/Claude, ~/.config/Claude)

mcpServers

Cursor

~/.cursor/mcp.json, or .cursor/mcp.json per project

mcpServers

Kiro

~/.kiro/settings/mcp.json, or .kiro/settings/mcp.json per project

mcpServers

Windsurf

~/.codeium/windsurf/mcp_config.json

mcpServers

VS Code / Copilot

.vscode/mcp.json

servers, and the entry needs "type": "stdio"

Codex CLI

~/.codex/config.toml

TOML table [mcp_servers.qu4zr]

The standard JSON shape on macOS/Linux (Windows JSON clients use cmd + ["/c", "npx", "-y", "qu4zr-mcp"]):

{
  "mcpServers": {
    "qu4zr": {
      "command": "npx",
      "args": ["-y", "qu4zr-mcp"],
      "env": {
        "QU4ZR_CLIENT_ID": "igdc_your_client_id",
        "QU4ZR_CLIENT_SECRET": "igds_your_client_secret"
      }
    }
  }
}

Claude Desktop reads that file once, at launch — quit it and reopen it, a reload is not enough.

Environment variables

Variable

Required

Default

QU4ZR_CLIENT_ID

yes

—

QU4ZR_CLIENT_SECRET

yes

—

QU4ZR_BASE_URL

no

https://api.management.qu4zr.io

QU4ZR_SCOPES

no

flows:read flows:write flows:deploy flows:execute

NODE_USE_SYSTEM_CA

no

generated as 1 for every Windows client; recent Node trusts Windows roots

NODE_EXTRA_CA_CERTS

no

— — the root certificate of a proxy that re-signs your traffic

They belong in the MCP config's own env block. A variable exported in your shell does not reach a process your assistant spawns, which is why the server reports credentials as missing while echo $QU4ZR_CLIENT_ID prints one.

To make the assistant build-only (no deploy/run), set QU4ZR_SCOPES="flows:read flows:write".

When it doesn't start

npx qu4zr-mcp doctor prints the configuration it can actually see, exchanges a token, and makes one authenticated call. The four failures worth naming in advance:

  • a startup timeout on Windows (Codex: "timed out after 30 seconds") — either bare npx never started, or cmd /c npx stayed attached to Codex's eager stdin before qu4zr received initialize. Run npx -y qu4zr-mcp install codex --windows …; raising startup_timeout_sec cannot repair either failure.

  • invalid_client — the id or secret is wrong, or the client was disabled, deleted or expired. Rotate the secret under Account → API Access and update the config.

  • credentials missing while your shell has them — see above: they have to be in the env block.

  • UNABLE_TO_VERIFY_LEAF_SIGNATURE / SELF_SIGNED_CERT_IN_CHAIN — an antivirus, corporate proxy or VPN is re-signing TLS with a root your Node install does not trust. Every generated Windows configuration sets NODE_USE_SYSTEM_CA=1; recent Node versions then use the Windows certificate store, while older versions safely ignore it. If the error remains, point Node at that root: NODE_EXTRA_CA_CERTS=/path/to/corporate-root.pem.

    Do not set NODE_TLS_REJECT_UNAUTHORIZED=0. It is the first thing a search suggests, and it disables certificate verification for every request the process makes — including the one that carries your client secret. The server warns on startup when it is set.

What it does on your machine

No install script: npm install / npx run nothing. At run time the server talks only to the qu4zr API over verified HTTPS, writes files only for install <client> and setup_runner, and starts processes (dotnet, and the service installer behind a UAC/sudo prompt) only from setup_runner with confirm: true. The full list is in SECURITY.md.

Tools

Tool

Scope

Notes

get_block_model

—

Workspace/block/link schema + runtime notes + example (read before building)

list_workspaces

flows:read

optional nameStartsWith / nameContains filter

get_workspace_content

flows:read

blocks + links of a workspace

list_vault_secrets

flows:read

vault + secret names only (never values) — for sql.query references

create_workspace

flows:write

set_workspace_content

flows:write

build — replace a workspace's blocks + links (and zones, the named canvas areas)

add_to_workspace

flows:write

append a self-contained flow without touching existing blocks (may add zones)

update_block / delete_block

flows:write

edit one block — don't re-send the workspace to change a field (delete: confirm: true)

list_files / read_file

flows:read

the workspace's code files (pages, stylesheets, helper libraries), with each file's sha256

edit_file

flows:write

change part of an existing file (oldString → newString), leaving every other byte alone — the default for editing anything that already exists

write_file / delete_file

flows:write

create a code file or replace one outright (delete: confirm: true). Writing an HTML page also reports what it still needs to be findable (see Sites)

audit_seo

flows:read

read HTML pages for what makes them findable — nothing written; send the whole site + baseUrl for the cross-page checks

get_site_visitors

flows:read

real visitors of the caller's own sites per day (crawlers and cloud servers left out), returning, sources, bot share; all sites at once or one; up to 400 days

get_site_traffic

flows:read

one site's requests summed over up to 30 days: crawlers by name, busiest endpoints and paths with bot share, statuses, cache hits

get_app_analytics

flows:read

aggregates of the events an app records with analytics.track — totals, distinct actors, daily counts, thresholds, breakdowns, D1/D7/D30 retention; never who

set_app_listing

flows:deploy

ask for a site to be listed at qu4zr.com/apps (pending until an operator approves; edits go back for review), read the listing, or withdraw it

infer_zones

flows:write

group an EXISTING workspace's blocks into labelled canvas areas and lay them out (confirm: true). For something you are building, send zones with the content instead

get_workspace_data

flows:read

the workspace's key-value store — one key, or a listing (keysOnly: true lists keys, sizes and timestamps without the values)

set_workspace_data

flows:write

write one entry, optionally with a TTL

delete_workspace_data

flows:write

delete one key, a named list of keys, or everything under a prefix (confirm: true). Prefer keys when the store also holds entries you did not create

describe_database

flows:read

whether this workspace has its own SQL database, and how much of the allowance is used — ask before building anything that needs one

query_database

flows:read

run a READ against it (the connection cannot write). SELECT name FROM sqlite_master WHERE type = 'table' to see what is there

execute_sql

flows:write

CREATE / ALTER / INSERT / UPDATE / DELETE (confirm: true). No undo: a restore point reverts blocks and files, never rows

list_schedules

flows:read

what runs on a clock, when it next fires, why it paused

create_schedule

flows:deploy

put a Schedule block on a cron — requires confirm: true; pins the latest committed version

pause_schedule / resume_schedule

flows:write / flows:deploy

stopping is the easy direction; resuming needs confirm: true

delete_schedule

flows:write

removes the schedule, keeps the block (confirm: true)

commit_workspace_version

flows:write

snapshot a version

delete_workspace

flows:write

requires confirm: true (previews first)

list_endpoints

flows:read

list_domains

flows:read

API domains to deploy into — resolves deploy_endpoint's domainId

list_domain_clients

flows:read

a domain's API clients (machine callers using client_credentials tokens), the token/JWKS/discovery URLs and the signing keys — never a secret

create_domain_client / rotate_domain_client_secret

flows:deploy

mint a client, or a new secret for one — the clientSecret is in that reply only, with a ready-to-run curl (confirm: true)

update_domain_client / revoke_domain_client_tokens / delete_domain_client

flows:deploy

change scopes, lifetime, rateLimitPerMinute (the client's own allowance, 0 removes it) or active; refuse every token issued so far; delete (confirm: true)

rotate_domain_signing_key

flows:deploy

a new key for signing the domain's tokens; the previous one keeps verifying until its tokens expire (confirm: true)

list_trusted_issuers / set_trusted_issuer / delete_trusted_issuer

flows:read / flows:deploy

accept tokens from the user's own Auth0, Okta, Entra, Cognito, Firebase or Keycloak on jwt endpoints — the audience is required (confirm: true to change). kind: "hs256" + secret for a provider signing with a shared secret (Supabase): write-only, never echoed, omit to keep it

check_trusted_issuer

flows:read

fetch an issuer's keys now, or run a pasted token through the gateway's own check and say which check it fails

deploy_endpoint

flows:deploy

requires confirm: true (previews first)

update_endpoint

flows:deploy

verbs, visibility, notes, and authMode (anonymous / apiKey / user / jwt / apiKeyOrJwt) with requiredScopes (confirm: true)

execute_workspace

flows:execute

requires confirm: true (previews first)

test_block

flows:execute

dry-run one block with sample input → output/error (self-correct before deploy). Pass request for any block in an endpoint flow — without it there is no request global and the block answers request is not defined

call_endpoint

flows:read

a real HTTP request to a deployed endpoint — the only check that goes through the live URL, so the deployment, the path, the verbs and the key are all exercised. First thing to reach for when a page's own calls are failing

setup_runner

flows:execute

on-prem — download, build, onboard & launch the runner on your machine (installService:true to keep it always-on)

list_runner_clients

flows:read

List the Developer Runner separately from Consumer App Runners, with live presence

list_runner_devices

flows:read

List independently enrolled Consumer App Runner devices for a SignalR block

get_consumer_runner_download

flows:read

Return the public, secret-free consumer .exe URL only when its artifact is available

get_runner_artifact_status

flows:read

Check immutable consumer artifact availability, version and signature level

release_runner_handler

flows:deploy

Compile the block's current handler into the executable its users download (requires confirm:true)

get_runner_release_status

flows:read

What the app's users are running, any build in flight, the last compiler error, and whether the handler drifted since

claim_runner_pairing

flows:execute

Claim a waiting generic runner during integration testing (requires confirm:true)

execute_runner_device

flows:execute

Route one execution to exactly one authorized device

rename_runner_device

flows:execute

Rename one consumer device without changing its identity

revoke_runner_device

flows:execute

Revoke and disconnect one consumer device without invalidating the others

revoke_all_consumer_runners

flows:execute

Revoke every consumer device, never the Developer Runner (confirm:true)

revoke_developer_runner

flows:execute

Immediately revoke only the Developer Runner (confirm:true)

test_runner_handler

flows:execute

on-prem — compile + run a handler on your test-mode runner → output/error (self-correct loop)

get_logs

flows:read

recent execution logs for a block

delete_workspace, deploy_endpoint, execute_workspace and the per-item deletes (delete_block, delete_file) won't act until called with confirm: true, so the assistant always shows you what it's about to do first. Your MCP client also prompts to approve each tool call.

(The OAuth scopes keep the identifiers flows:read/write/deploy/execute for compatibility with existing API clients; the resource is "workspaces".)

Everything the assistant builds is written through the same API the qu4zr canvas uses, so it shows up as a normal, fully-editable workspace on the site.

Checking that it works

Four checks, and each sees something the others cannot. Skipping one does not make a build faster, it makes it finish in a state nobody has looked at:

answers

validate_blocks

the code parses

test_block

one block returns what you expect — pass request for anything in an endpoint flow

execute_workspace

the blocks are wired: an endpoint whose Process block is not linked to it returns null, and that null is the finding

call_endpoint

the deployed URL answers — the deployment, the path, the verbs, the key

Two mistakes are common enough that the write tools now warn about them, because both are legal to save and invisible until something 404s:

  • An API Endpoint block does not run code. It is a door, not a handler: its code is never executed — not on the request, not at the gateway — and the block emits its own rawData (null when empty). The request is handled by the Process block you link it to, which reads request. An endpoint with nothing downstream answers null to every caller, with a 200, forever.

  • endpointPath is not a URL. It is a note on the block until deploy_endpoint runs, and every path needs its own deploy — adding a twelfth block to a workspace with eleven deployed endpoints publishes nothing. list_endpoints shows what is really deployed; call_endpoint proves it.

Sites (pages, not just APIs)

A page is an HTML code file published by an API Endpoint block with staticFile set — served verbatim, no JavaScript executed, so a crawler sees exactly the file that was written. The home page goes at path "/" (the domain root); a path may also be a file name, which is how sitemap.xml or a search-console verification file gets published. Public pages need isAnonymous: true.

A site has its own address, https://<slug>.qu4zr.com/ — that is what a deploy reports back and what list_domains returns as baseUrl. The gateway form https://api.qu4zr.io/<slug>/ keeps serving the same content for existing API callers. Since both answer, the canonical tag decides which one is indexed: take the base from baseUrl rather than assembling a URL, or the pages and the generated sitemap will name different hosts and a crawler will discard the sitemap.

Pages are written search-ready by default. The assistant is told to ask for the name, the one-line description and the language — not whether you want SEO — and every page gets a title, meta description, absolute canonical, Open Graph tags, one <h1> and structured data. Writing an HTML page returns anything still missing, so the assistant can fix it on the spot; it is advisory and never blocks the write. seo: "minimal" reports only the essentials, seo: "none" turns it off, and a page carrying <meta name="robots" content="noindex"> is exempt.

Once the site is built, audit_seo runs the server's audit over all the pages at once — the authority, and the only one that can see across pages: two pages sharing a title, a canonical pointing at a site you don't own, a hand-written sitemap listing URLs that aren't yours. It writes nothing, so it can be re-run after every fix.

sitemap.xml and robots.txt are the platform's job. sitemap.xml is generated from the pages actually deployed, so it cannot go stale — deploy your own at that path only if you need to override it (pages templated by a Process block aren't visible to the generator). On the site's own host, robots.txt is generated too: it allows crawling and carries the Sitemap: line, which is how a crawler finds the sitemap without anyone submitting it. And the gateway marks every non-HTML reply X-Robots-Tag: noindex, so API endpoints stay out of search results on their own.

On-prem runners (run logic on your machine)

A SignalR block runs C# logic on a small runner on your machine or network (internal DBs, local files) over an outbound connection — no VPN, no inbound ports. The assistant authors the C# handler, then with setup_runner downloads, builds, onboards and launches the runner for you (you approve the launch). Run it with --test and test_runner_handler compiles + runs the handler on your machine so the assistant can verify and iterate. To keep the endpoint alive across reboots, setup_runner with installService:true registers it as a Windows service / systemd unit — gated behind an admin / UAC / sudo approval. Connection strings live in the runner's local config and are never sent to qu4zr or the assistant.

Each consumer installation has a durable deviceId. Multiple devices may connect to the same SignalR block concurrently; reconnecting the same device replaces only that device's old connection. Executions are routed explicitly by (blockId, deviceId) with no broadcast fallback, and results are accepted only from the connection that received the request.

For consumer applications, do not send users to the qu4zr dashboard or ask them to paste onboarding codes. Publish the immutable installer with the application's HTTPS pairing page baked in. It opens that page with only pairingId; the application backend authenticates the user and claims it through POST /api/v1/runner/{blockId}/pairings/{pairingId}/claim. claim_runner_pairing exercises this during development but is not a browser API. The Management API credential stays in server-side vault configuration and never in PWA JavaScript. Subsequent commands use the device-specific execute route only after the same server-side ownership lookup.

Local values referenced by the handler (local["name"]) are configured by a temporary loopback page on first consumer launch and encrypted with the current Windows user's DPAPI key. Only key names are baked into the artifact; values never reach qu4zr, MCP or the application backend.

get_consumer_runner_download returns the public https://qu4zr.com/api/runner/download/{blockId}/windows?runtimeIdentifier=win-x64 URL for the application's download button. The download creates no device or ticket; enrollment starts only when the executable launches and its pairing is claimed. The authenticated Management API proxy route remains available, while the older enrollment ZIP is a compatibility path.

Before exposing that download, get_runner_artifact_status reports whether the requested platform is published, its immutable version and whether Windows will see it as unsigned or authenticode. It is read-only and never returns artifact bytes, filesystem paths or credentials.

Runner setup diagnostics use structured lifecycle stages instead of treating every failure as a handler bug. Package consumers must validate hashes and relative paths before writing, preserve existing Local settings during regeneration, and distinguish missing SDK, generated plumbing, Handler.cs, and generic restore/build failures. Keep the packageVersion with diagnostic reports.

Develop

npm install
npm run build      # tsc → dist/
QU4ZR_CLIENT_ID=… QU4ZR_CLIENT_SECRET=… npm start

License

MIT

Application verification: local source to public evidence

Mail DNS Diff (https://mail-diff.qu4zr.com/; local reference C:/dev/_innovation/mail-diff/) reuses the API Watch deployment pattern with no new primitive. Require a server SHA-256 on every file push, replay the deployed files and graph in an offline journey harness, then verify the actual public paths with call_endpoint. test_block does not let a caller set request.path. Commit after pushing and re-pin schedules: HTTP follows live content, scheduled work follows its committed version.

Do not assume dryRun rolls back every side effect: database calls can be stubbed while a store schema marker or lease survives. Confirm actual schema existence; use bounded leases. analytics.report returns retention.points with day/eligible/retained and daily rows with date/name/total/actors. An app's dashboard should use these exact shapes and should call a successful mail.send queued, not delivered.

For dynamic shareable results, publish a sitemap that includes only eligible reviewed pages. Audit the rendered HTML as well as the static entry pages, and read live X-Robots-Tag headers on pages, sitemap.xml and robots.txt. An accepted IndexNow request is submission evidence; Google Search Console submission and app-directory operator approval are separate steps.

Available Tools

80 tools
add_to_workspaceAppend a flow to a workspaceA

APPENDS a self-contained flow (new blocks + links among them) to a workspace WITHOUT touching its existing blocks — the SAFE way to add to a workspace that already has content. Unlike set_workspace_content it cannot wipe existing flows and needs no read-modify-write: the server assigns fresh non-colliding ids and lays the new flow out below the existing blocks. Links here may only connect your NEW blocks to each other; to wire INTO an existing block, use get_workspace_content + set_workspace_content instead. Returns the added blocks with their assigned ids + signalRGuid. zones adds new canvas areas alongside the flow; an id that already exists is kept as it is, so appending cannot redefine somebody else's zone either.

Inputs: blocks (required), workspaceId (required), seo, files, +2 more.

audit_seoCheck whether pages can be foundA
Read-only

Reads HTML pages for what decides whether anyone finds them — title, meta description, canonical, lang, viewport, Open Graph, one , alt text, JSON-LD — WITHOUT touching any workspace. This is the server's audit, so it is the authority: the note attached to write_file is a local subset of the same rules. Pass baseUrl — the domain's own baseUrl from list_domains (e.g. https://marceau.qu4zr.com/), the same base the pages' canonicals use — to also get the checks a single page cannot make about itself — a canonical pointing outside the site, a hand-written sitemap listing URLs it does not own. Auditing several pages at once adds the cross-page ones: two pages sharing a title or a description. Returns { ready, checkedPages, errors, warnings, findings[] } where each finding has a stable code. ready means no error-level findings — warnings are advice, not breakage. Read it after building a site, and re-run it after fixing.

Inputs: files (required), mode, baseUrl.

call_endpointCall a deployed endpoint for realA
Destructive

Makes a REAL HTTP request to a deployed endpoint — the same request a browser or a customer makes — and reports the status, content type and body. This is the ONLY check that goes through the live URL: the deployment, the path, the allowed verbs and the API key are all exercised, and none of them are visible to test_block or execute_workspace, which talk to the sandbox directly. Run it as the last step of anything with a URL in it, and FIRST when a page's own calls are failing: a 404 here means nothing is deployed at that path (setting endpointPath on a block publishes nothing — deploy_endpoint does), while a 500 means the block behind it threw. Name the domain and the path; the URL is built from that domain's own baseUrl, so there is no address to pass and no way to test a URL that is not the one your users were given. The request really runs the block and counts as one API call.

Inputs: path (required), domainId (required), body, query, +3 more.

check_trusted_issuerCheck a trusted issuer or one of its tokensA
Read-only

Without a token: fetches the issuer's keys now and says whether it is reachable and how many usable keys it publishes. With a token: runs it through exactly the gateway's check and says which check fails (token.audience_mismatch, token.expired…) or what a block would see as request.auth. The caller of an endpoint is only ever told invalid_token; this is where the reason is.

Inputs: name (required), domainId (required), token.

claim_runner_pairingClaim a consumer runner pairingA
Destructive

Claims a short-lived pairingId created by a generic consumer runner and binds it to one SignalR block. Use this for integration testing or an explicitly requested manual pairing. In production the application's authenticated BACKEND must call the same Management API route after mapping its own user to the device; never put the Management credential in browser code. The pairingId expires and is single-claim.

Inputs: pairingId (required), signalRBlockId (required), name, confirm.

commit_workspace_versionCommit a versionC

Snapshots the workspace's current content as a named version.

Inputs: workspaceId (required), versionTag, commitMessage.

create_domainCreate an API domainA

Creates an API domain — the namespace your deployed endpoints live under. Its slug becomes the first path segment of every endpoint in it: https://api.qu4zr.io/{slug}/{path} — and, where site hosts are enabled, the HOSTNAME a site is served at (https://{slug}.{zone}/), so it is a public, permanent, brandable name and not an internal id. The reply carries the domain's baseUrl; use that as the canonical base for its pages rather than assembling a URL. Do this BEFORE deploy_endpoint, then pass the returned id as deploy_endpoint's domainId. The slug is GLOBALLY unique across all users and is effectively permanent once endpoints are deployed and callers depend on the URL, so it requires confirm=true — call without confirm first to preview, and let the user pick the slug rather than choosing a memorable one yourself. Omit slug to derive it from name.

Inputs: name (required), slug, tags, confirm, +1 more.

create_domain_api_keyCreate a domain API keyA
Destructive

Mints a new API key on a domain — the credential callers pass as Authorization: Bearer (or ?code=) to call a non-anonymous endpoint deployed in that domain. The response's plaintext apiKey is shown EXACTLY ONCE and can never be retrieved again — surface it to the user immediately and tell them to copy it now. Powerful: requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.

Inputs: domainId (required), name, confirm, expiresAt.

create_domain_clientCreate a domain API clientA
Destructive

Creates an API client on a domain. The reply's clientSecret is shown EXACTLY ONCE — surface it to the user immediately — with the token URL and a ready-to-run curl. A caller then POSTs grant_type=client_credentials to that URL and sends the token as Authorization: Bearer to an endpoint whose authMode is jwt or apiKeyOrJwt (update_endpoint). Requires confirm=true — call WITHOUT confirm first to preview.

Inputs: domainId (required), name, scopes, confirm, +2 more.

create_scheduleRun a block on a scheduleA

Starts firing a Schedule block on a cron, unattended. THIS is what makes a schedule real — setting schedule on the block only records the cadence in the workspace's content. Requires confirm=true; call without confirm first to preview. It pins the latest COMMITTED version (commit first if there isn't one — the error says so), and the plan decides the fastest allowed cadence: a free workspace is one schedule, hourly. On a free plan the firing time is offset by a fixed number of seconds so every workspace doesn't fire at once — the reply reports it, so quote the real time back to the user.

PINNING IS FROZEN, and that is the opposite of how deploy_endpoint behaves: an endpoint serves the live auto-save and picks up every edit at once, a schedule keeps running its commit. So editing a block the schedule fires changes nothing about tonight's run — that takes a new commit and a schedule pinned to it. Say this to the user when you create one; list_schedules reports canvasAheadOfPin once the two have parted company.

Inputs: cron (required), blockId (required), workspaceId (required), confirm, +2 more.

create_vaultCreate (or rename) a workspace's vaultA

Creates the workspace's secret vault, or renames an existing one. The name is the IDENTIFIER block code uses: with name "MyVault", a secret "prodDb" is referenced as MyVault.prodDb. Do this once, then add secrets with set_vault_secret. Renaming an existing vault BREAKS code that references the old name, so it requires confirm=true. Only the workspace OWNER can.

Inputs: name (required), workspaceId (required), confirm.

create_workspaceCreate workspaceB

Creates a new, empty workspace with the given name. Returns the new workspace (incl. its id).

Inputs: name (required).

delete_blockDelete one blockA
Destructive

Permanently deletes ONE block and every link touching it, leaving the rest of the workspace alone — use it to clean up orphaned or superseded blocks. Requires confirm=true; call without confirm first to preview. A deployed endpoint bound to this block is NOT removed (delete it with delete_endpoint), and an on-prem runner behind a SignalR block is left provisioned.

Inputs: blockId (required), workspaceId (required), confirm.

delete_domain_api_keyDelete a domain API keyA
Destructive

Permanently deletes a domain API key — any caller using it starts getting 401s immediately. This cannot be undone (unlike update_domain_api_key's isActive:false, which is reversible). Requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.

Inputs: keyId (required), domainId (required), confirm.

delete_domain_clientDelete a domain API clientA
Destructive

Permanently deletes a client; its tokens are refused from the next request. update_domain_client active:false is the reversible way. Requires confirm=true.

Inputs: clientId (required), domainId (required), confirm.

delete_endpointDelete (un-deploy) an endpointA
Destructive

Permanently un-deploys an endpoint — its URL stops resolving and its configuration is removed (unlike toggle_endpoint, this cannot be undone by re-enabling it; deploy_endpoint would be needed to publish it again). Requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true. A MAIN endpoint whose path still has other versions (the archived, disabled copies each commit leaves — list_endpoints includeArchived shows them) is refused unless withArchived:true, which removes the whole path on that domain in one call (domain owner only). That is how a site moves to another domain: delete withArchived, redeploy.

Inputs: endpointId (required), confirm, withArchived.

delete_fileDelete one code fileA
Destructive

Permanently deletes ONE code file. Requires confirm=true; call without confirm first to preview. The reply lists the blocks and files that still import it — those are now broken references, which is not cascaded for you: only the author can decide what should replace them.

Inputs: name (required), workspaceId (required), confirm.

delete_scheduleDelete a scheduleA
Destructive

Permanently removes a schedule and its history. The block stays; only the firing goes. Requires confirm=true; call without confirm first to preview. To stop it temporarily, pause_schedule keeps the history.

Inputs: triggerId (required), confirm.

delete_trusted_issuerStop trusting an external token issuerA
Destructive

Removes a trusted issuer; its tokens are refused from the next request. Requires confirm=true.

Inputs: name (required), domainId (required), confirm.

delete_workspaceDelete a workspaceA
Destructive

Permanently deletes a workspace and its content. Requires confirm=true — first call WITHOUT confirm to preview, show the user, then call again with confirm:true.

Inputs: workspaceId (required), confirm.

delete_workspace_dataDelete data store entriesA
Destructive

Permanently deletes from the per-workspace key-value store. Pass exactly ONE of: key (one entry), keys (a NAMED list — up to 100 in a single call, and the right tool for cleaning up your own entries while leaving everything else alone), or prefix (EVERY entry under it, e.g. prefix:"chunk:" clears chunk:0…chunk:99 — for a dataset you own outright). Prefer keys over prefix whenever the store also holds entries you did not create: a prefix that looks like yours can match somebody else's. An empty prefix is refused. Requires confirm=true — call without confirm first to preview.

Inputs: workspaceId (required), key, keys, prefix, +1 more.

deploy_endpointDeploy a block as an HTTP endpointA
Destructive

Publishes a workspace's block as a live HTTP API endpoint — or a page of a site — in the given domain. Powerful: requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true. Anything meant to be publicly reachable needs isAnonymous:true.

An endpoint serves the workspace AUTO-SAVE — the canvas, live — under the version label "head". Editing a block changes what the URL answers immediately: no redeploy, and committing does not freeze it. That is the OPPOSITE of create_schedule, which pins a committed version and keeps running it, so one block can serve new code over HTTP while a cron on the same block still runs the old one. Name which of the two you mean whenever a user asks why a change "did not take". (commit_workspace_version does archive a copy of each deployed path at its own version label, but those copies are created disabled — nothing changes at the live URL.)

Inputs: path (required), blockId (required), domainId (required), workspaceId (required), +5 more.

describe_databaseDescribe the workspace databaseA
Read-only

Whether this workspace has its own SQL database, and how much of its allowance is used. Ask before building anything that needs one. included:false means the owner's plan has no database — that is an answer, not an error and not something to retry: say so and use the key-value store (get/set_workspace_data) instead. exists:false with included:true just means nothing has been written yet.

Inputs: workspaceId (required).

edit_fileChange part of a code fileA

Replaces ONE passage inside a file that already exists, leaving every other byte alone — the tool to reach for whenever you are modifying rather than creating. write_file takes the FULL content, so using it to change a heading on an 80 KB page means reproducing 80 KB exactly, and one character wrong in that reproduction is a corruption that surfaces when a visitor loads the page, not when the tool returns. oldString must match the file exactly (whitespace included) and appear ONCE — include a line above and below to make it unique, or pass replaceAll. newString may be empty to delete the passage. The read-modify-write happens server-side in one request, so two edits cannot interleave. Nothing is saved if the result would not parse. The reply carries the file's sha256, so you can prove what the server now holds.

Inputs: name (required), newString (required), oldString (required), workspaceId (required), +2 more.

execute_runner_deviceExecute on one enrolled runner deviceC

Targets exactly one device. The application backend must resolve deviceId from its authenticated user mapping; never accept an arbitrary browser-supplied device id as authorization.

Inputs: deviceId (required), signalRBlockId (required), input.

execute_sqlWrite to the workspace databaseA
Destructive

Changes the workspace's own SQLite database: CREATE TABLE, ALTER, INSERT, UPDATE, DELETE, CREATE INDEX. Use query_database for anything that only reads.

There is no undo. A restore point reverts blocks, links and files — never rows — so a DROP or a DELETE here is permanent. Requires confirm:true; call without it first to preview.

Schema meant for a block should be idempotent, because the block runs before anybody has set anything up and a FORK of the workspace starts with an EMPTY database (the code is copied, the rows never are): CREATE TABLE IF NOT EXISTS tasks (id INTEGER PRIMARY KEY, title TEXT NOT NULL).

LOADING MANY ROWS: one statement per batch, the rows passed as ONE JSON parameter and unpacked by json_each — never one INSERT per row. Measured 2026-10-24: 36 262 rows in batches of 4 000 at ~2 s a batch. sql: INSERT INTO place (code, name, lat, lon) SELECT j.value->>'$.code', j.value->>'$.name', j.value->>'$.lat', j.value->>'$.lon' FROM json_each(@rows) AS j params: { rows: "[{"code":"75056","name":"Paris","lat":48.86,"lon":2.35}, …]" } (a JSON STRING) Make a reload idempotent (INSERT OR REPLACE, or DELETE then INSERT) so a batch that failed can simply be sent again.

Inputs: sql (required), workspaceId (required), params, confirm.

execute_workspaceRun a workspace's blockA
Destructive

Executes a workspace starting at the given block (server-side). Powerful: requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.

Inputs: blockId (required), workspaceId (required), confirm.

get_app_analyticsRead an app's analyticsA
Read-only

Reads the product events a workspace's app records with analytics.track — as aggregates only: totals and distinct actors per event, per-day counts, actors who did something N+ times, counts by a property value, and retention cohorts (day 1/7/30). Never a list of who did what. The request has the same shape as analytics.report() in a block. Use it to answer 'how many people arrived / signed up / came back after 7 days' without writing a dashboard first.

Inputs: workspaceId (required), days, daily, events, +3 more.

get_block_modelBlock model referenceA
Read-only

Returns the qu4zr workspace/block/link schema, the JS runtime notes, this client's version and the platform features it knows about, plus an example. Read this before building.

Inputs: no named parameters.

get_consumer_runner_downloadGet the public Consumer App Runner downloadA
Read-only

Returns the direct HTTPS .exe URL an application must show to its end users. The executable contains no credential: downloading creates no device, and identity is created only after the application authenticates the user and claims pairing. When building a consumer application, put this URL in its UI and verify the artifact is available before calling the app complete. If the reply carries unsignedWarning, that warning belongs on the page beside the link.

Inputs: signalRBlockId (required), runtimeIdentifier.

get_logsRead a block's execution logsB
Read-only

Returns recent execution (call) logs for a block in a workspace. Each entry carries a usage block (statements, durationMs, fetches, storeOps) for the execution it belongs to — so you can see what a real gateway hit cost, not just your own test runs, and size batching from production behaviour. Entries logged before usage tracking existed simply have no usage.

Inputs: blockId (required), workspaceId (required), limit.

get_runner_artifact_statusCheck consumer runner artifactA
Read-only

Checks whether an immutable consumer runner is published for a SignalR block and platform, including its version and signature level. This does not build, publish, or download anything.

Inputs: signalRBlockId (required), runtimeIdentifier.

get_runner_release_statusCheck what the app's users are runningB
Read-only

Reports the published release, any build in flight, the last failure and whether the block's handler has been edited since it was released (drift). A failed build reports the author's own compiler error. drift: null means nothing has ever been released, which is not the same as being up to date.

Inputs: signalRBlockId (required), runtimeIdentifier.

get_site_trafficRead what is hitting a siteA
Read-only

Every request to one of the caller's sites over the last days, summed from the platform's request journal: per day requests, bot requests, 4xx and 5xx; the crawlers by name (Googlebot, Amazonbot, GPTBot, SemrushBot, scripts…) with their request counts; the busiest endpoints (offre/{slug}) and the busiest exact paths, each with its bot share and errors; status codes; cache hits and average duration. Use it to see which robots cost the most, which pages they crawl, and whether a block (robots.txt, a 403 by user agent) took effect. Bots = flagged when recorded, no browser user agent, or one naming a crawler or a tool. Aggregates only: no address, account or full user agent. Days default 7, up to 30.

Inputs: domainId (required), days.

get_site_visitorsRead a site's real visitorsA
Read-only

Real people on the caller's own hosted sites, per day — the platform's visitor count, with crawlers, cloud servers and the operator left out (a visitor is a browser that ran one of the site's scripts). For each day: visitors, returning visitors (seen in the 30 days before), where they came from (google, search, social, ai assistants, qu4zr sites, other links, direct), and every request vs. bot requests. Also the totals for the window and for the same-length window just before it. Without domainId: every site of the caller, busiest first, totals and a per-day trend — the place to start a traffic report. With domainId: that site day by day. Works whether or not the app records analytics.track events. Counted per site and per day (one person on three days = three); refreshed every few hours, so today is marked partial. Days default 30, up to 400.

Inputs: days, domainId.

get_workspace_contentGet workspace contentC
Read-only

Returns a workspace's current blocks and links.

Inputs: workspaceId (required).

get_workspace_dataRead the workspace data storeA
Read-only

Reads the per-workspace key-value store — the same data blocks read/write via the store global. Give a key to fetch one entry, or omit it to LIST entries (optionally filtered by prefix, paged with limit + after). Values are JSON. Read-only. Pass keysOnly:true when you are deciding WHICH keys to act on — you get key, size and timestamps without the values, which is usually a fraction of the reply and tells you everything a cleanup or an audit needs.

Inputs: workspaceId (required), key, after, limit, +2 more.

infer_zonesGroup an existing workspace into zonesA
Destructive

Reads a workspace's paths, static files and block types, groups its flows into labelled areas and LAYS THE BLOCKS OUT inside them. For a workspace built before zones existed — otherwise the biggest applications, the ones with the most to gain, stay the ones that look the most disorganised. It MOVES blocks, which is the point; nothing else changes (no block is created, deleted or edited, the links and code files are untouched), and every zone it produces is an ordinary one the user can rename, recolour or delete. Requires confirm=true — call without it first to see what it proposes. For a workspace you are BUILDING, pass zones to set_workspace_content/add_to_workspace instead: you know what the areas are, this has to guess.

Inputs: workspaceId (required), confirm.

list_domain_api_keysList a domain's API keysA
Read-only

Lists the API keys on a domain (id, name, MASKED key, createdAt, expiresAt, isActive, lastUsedAt) — the plaintext key is never shown here, only at create/rotate time. Use create_domain_api_key to get one a caller can actually use against a non-anonymous endpoint.

Inputs: domainId (required).

list_domain_clientsList a domain's API clientsA
Read-only

Lists the API clients of a domain — machine callers that exchange a client id + secret for a short-lived token (OAuth 2 client_credentials) accepted by the domain's jwt / apiKeyOrJwt endpoints — with the token URL, the JWKS and discovery URLs, the limits and the signing keys. Never a secret.

Inputs: domainId (required).

list_domainsList your API domainsA
Read-only

Lists the API domains you can deploy endpoints into (id, name, slug, baseUrl). Use the returned id as deploy_endpoint's domainId. Pass workspaceId to list the domains usable for a specific workspace (e.g. a shared one — the owner's domains). If empty, create one with create_domain — no UI step needed.

Inputs: query, workspaceId.

list_endpointsList a workspace's API endpointsA
Read-only

Lists the HTTP endpoints currently deployed for a workspace's current version. includeArchived:true adds pathVersions to each: every version of that path on its domain, including the disabled copies each commit archives (ids, labels, isMain) — what blocks deleting a main endpoint. Domain owner only (null otherwise).

Inputs: workspaceId (required), includeArchived.

list_filesList workspace code filesA
Read-only

Lists the workspace's code files with their sizes — names only, no content. Use it to see what exists before reading or writing one, instead of pulling the whole workspace to find out.

Inputs: workspaceId (required).

list_runner_clientsList Developer and Consumer runner clientsB
Read-only

Lists the dashboard-owned Developer Runner separately from Consumer App Runners. Use this instead of inferring runner kind from a missing or present device id.

Inputs: signalRBlockId (required).

list_runner_devicesList enrolled runner devicesB
Read-only

Lists independently enrolled devices, with connected=true/false for live presence or null when the Executor is unavailable, plus revoked and last-connected state.

Inputs: signalRBlockId (required).

list_schedule_runsA schedule's recent firingsA
Read-only

Every recent firing of one schedule, newest first: when it started, how long it took, whether it succeeded, and what HTTP status the execution returned.

THIS is how you answer "did the cron actually run". list_schedules carries only the LAST outcome, and block execution logs exist only for blocks with logging switched on — so a healthy schedule with logging off leaves no trace anywhere else and looks exactly like one that never fired. Check here before touching the cron, the block or the version: the usual finding is that it ran fine every time and the real problem is elsewhere (start with canvasAheadOfPin on list_schedules).

httpStatus separates the failures a user can act on: 429 is a quota they can raise, 503 is the platform's problem, 500 is their code.

Inputs: triggerId (required), limit.

list_schedulesList a workspace's schedulesA
Read-only

Shows every schedule on a workspace: what it fires, its cron and timezone, when it next runs, how the last run went, and why it is paused if it is. Check here before creating one — a second schedule on the same block is two jobs, not an edit.

READ canvasAheadOfPin FIRST when a schedule looks broken. A schedule runs the COMMITTED version it was pinned to, while deployed endpoints serve the live canvas — so one block can answer new code over HTTP while the cron beside it still runs the old one. When canvasAheadOfPin is true, canvasDrift lists exactly what differs; the symptom is reported as "the cron does nothing" about a cron that is firing perfectly. The fix is commit_workspace_version and then a schedule pinned to the new version — editing the block changes nothing on its own.

lastStatus is ONE outcome, not a history. Use list_schedule_runs before concluding anything about whether a schedule fires.

Inputs: workspaceId (required).

list_trusted_issuersList a domain's trusted issuersA
Read-only

Lists the external identity providers (Auth0, Okta, Entra, Cognito, Firebase, Keycloak…) whose tokens the domain's jwt / apiKeyOrJwt endpoints accept, with the accepted scope claims and algorithms.

Inputs: domainId (required).

list_vault_secretsList a workspace's vault secrets (names only)A
Read-only

Lists the vault name and secret names available to a workspace's Process blocks — NAMES and metadata (kind, db provider) only, never values. Reference a connection in code as ., e.g. sql.query(MyVault.prodDb, ...). If it's empty, create the vault with create_vault and add secrets with set_vault_secret — no UI step needed.

Inputs: workspaceId (required).

list_workspacesList workspacesA
Read-only

Lists the workspaces the authenticated user can access. Optionally filter by name.

Inputs: nameContains, nameStartsWith.

pause_schedulePause a scheduleA

Stops a schedule firing, keeping it and its history. No confirmation needed: stopping a runaway job should never be the harder thing to do. Use resume_schedule to start it again.

Inputs: triggerId (required).

query_databaseRead from the workspace databaseA
Read-only

Runs a READ against the workspace's own SQLite database — the same one blocks reach as db.query(...). The connection cannot write, so a statement that turns out to change something is refused rather than run; use execute_sql for that.

To see what exists: SELECT name FROM sqlite_master WHERE type = 'table' SELECT name, type, pk FROM pragma_table_info('tasks')

Note the second one: PRAGMA table_info(...) counts as a write on this connection, while the pragma_table_info(...) function is an ordinary read and answers the same question. Parameters are @name or :name — never concatenate a value into SQL.

Inputs: sql (required), workspaceId (required), params.

read_fileRead one code fileA
Read-only

Returns ONE code file's content. Names are case-sensitive. Cheaper and safer than get_workspace_content when you only need a file — and you must read a file before rewriting it, since write_file replaces the whole thing.

Inputs: name (required), workspaceId (required).

release_runner_handlerRelease this handler to the app's usersA

Compiles the block's CURRENT handler into the executable its end users download, and makes that the published installer. This is what gives a consumer application a working download link: without a release there is no artifact and no link. The build runs out of process and takes a few minutes — poll get_runner_release_status, or get_consumer_runner_download, until it reports published. Requires confirm:true: it distributes an executable to other people.

Inputs: signalRBlockId (required), confirm, runtimeIdentifier, consumerPairingUrl.

rename_runner_deviceRename one runner deviceB

Changes the owner-visible name of one enrolled device without changing its identity, credentials, or connection.

Inputs: name (required), deviceId (required), signalRBlockId (required).

resume_scheduleResume a paused scheduleA

Starts a paused schedule again and clears its failure count. Requires confirm=true — this is the moment code begins running unattended again. If it was auto-paused (five consecutive failures, or an exhausted quota), fix the cause first: resuming a broken job just burns the quota again and re-pauses it.

Inputs: triggerId (required), confirm.

revoke_all_consumer_runnersRevoke every Consumer App RunnerA
Destructive

Revokes and disconnects every Consumer App Runner enrolled on the block. The Developer Runner is deliberately unaffected. Requires confirm:true.

Inputs: signalRBlockId (required), confirm.

revoke_developer_runnerRevoke the Developer RunnerA
Destructive

Revokes the dashboard-owned Developer Runner and disconnects it immediately. Consumer App Runners are deliberately unaffected. Requires confirm:true.

Inputs: signalRBlockId (required), confirm.

revoke_domain_client_tokensRevoke a domain API client's tokensA
Destructive

Refuses every token issued so far to a client, from the next request. The secret keeps working. Requires confirm=true.

Inputs: clientId (required), domainId (required), confirm.

revoke_runner_deviceRevoke one runner deviceB

Revokes only the selected device. Requires confirm:true and does not affect other users' runners.

Inputs: deviceId (required), signalRBlockId (required), confirm.

rotate_domain_api_keyRotate a domain API keyA
Destructive

Issues a brand-new key value for an existing domain API key slot and retires the old value — use this for a compromised or routinely-expiring key without having to update every caller's key id. By default the old key is deactivated immediately; pass keepOldKeyActive:true (with an optional gracePeriodMinutes) to let both work for a transition window. The response's new plaintext apiKey is shown EXACTLY ONCE — surface it to the user immediately. Requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.

Inputs: keyId (required), domainId (required), confirm, keepOldKeyActive, +1 more.

rotate_domain_client_secretGive a domain API client a new secretA
Destructive

Issues a new secret; the old one and every token it bought stop working at once. The new clientSecret is shown EXACTLY ONCE. For a leaked secret. Requires confirm=true.

Inputs: clientId (required), domainId (required), confirm.

rotate_domain_signing_keyRotate a domain's token signing keyA
Destructive

Creates a new key for signing the domain's tokens. The previous key keeps verifying until the tokens it signed expire, so nothing valid is cut off. For a key believed stolen: rotate, then revoke each client's tokens. Requires confirm=true.

Inputs: domainId (required), confirm.

set_app_listingList a site in the public app directoryA

Asks for a domain's site to appear at qu4zr.com/apps (with its own page at qu4zr.com/apps/{slug}). The listing starts PENDING: an operator approves it, and any later edit sends it back for review. Only for a real, working site the user wants strangers to find — confirm with them first, and write the title/tagline as a user would search for it. Categories: developer-tools, productivity, business, education, health-fitness, lifestyle, entertainment, utilities. Pass withdraw:true to take it out. Omit everything but domainId to read the current listing.

Inputs: domainId (required), title, tagline, category, +2 more.

set_trusted_issuerTrust an external token issuerA
Destructive

Makes the domain's jwt / apiKeyOrJwt endpoints accept tokens from an identity provider, or replaces the issuer of that name. issuer must be the exact iss the provider puts in tokens (Auth0's ends with "/", Entra's does not). audience is REQUIRED — the provider signs every app's tokens with the same keys. kind "jwks" (default) verifies RS/PS/ES against published keys; kind "hs256" verifies HS256 against a shared secret (Supabase's JWT secret, aud "authenticated") passed as secret — write-only, omit it to keep the stored one. The block then sees request.auth.issuer (the name) and request.auth.subject. Check it with check_trusted_issuer. Requires confirm=true.

Inputs: name (required), issuer (required), audience (required), domainId (required), +6 more.

setup_runnerSet up + launch the on-prem runner on this machineA

Stands the on-prem runner up ON THIS MACHINE for a SignalR block, end-to-end: downloads the ready-to-run project (the handler baked in), validates its integrity manifest, preserves machine-local settings, writes it to ~/.qu4zr/runners//, builds it with dotnet, then onboards + launches it in TEST MODE in the background. Failures identify integrity, local config, SDK, generated plumbing, handler, or generic build stages. Once it's up, call test_runner_handler to verify/iterate, then deploy_endpoint to publish. REQUIRES confirm:true — it runs UNSANDBOXED AI-written C# on the user's machine. Needs the .NET SDK ('dotnet') installed. Show the user Handler.cs (returned) so they can review what will run. Pass installService:true to instead install it as an always-on OS service (survives reboots) — this triggers an admin/UAC prompt the USER must approve; suggest it once the endpoint is verified + deployed.

Inputs: signalRBlockId (required), run, confirm, installService.

set_vault_secretAdd a write-only secret to a workspace's vaultA

Stores a secret in the workspace's vault. WRITE-ONLY: the value is encrypted server-side and can never be read back — not by this tool, not by block code, not by you. Block code gets an opaque handle . that the server dereferences at the point of use (sql.query, a fetch header, a {{Vault.secret}} URL placeholder, crypto.hmacSha256), and logs show ***. kind:"string" for a token/password/API key; kind:"connection" for a database connection string, which also needs provider (postgres|sqlserver|oracle|mysql|sqlite). Requires confirm=true. NEVER invent a secret value — ask the user for it. Create the vault first with create_vault. Only the workspace OWNER can.

Inputs: kind (required), name (required), value (required), workspaceId (required), +2 more.

set_workspace_contentSet workspace contentA

REPLACES a workspace's blocks and links (it is not an append). This is how you build it. Call get_block_model first. To ADD to a workspace that already has content, you MUST first get_workspace_content, then send back the existing blocks+links PLUS your new ones (re-use the existing ids and signalRGuid/handlerCode it returns — they round-trip losslessly) so you don't wipe the user's existing flows. Omit block ids to have the server assign them; leave positions at 0 for auto-layout. Returns the canonical stored content. files are workspace code files a Process block can import "utils.js"; — OMIT to keep existing files, send an array (even []) to REPLACE them (get_workspace_content returns them for a lossless round-trip). zones are the named areas drawn behind the blocks; same rule (omit=keep, []=clear). See ZONES in get_block_model.

Inputs: blocks (required), workspaceId (required), seo, files, +2 more.

set_workspace_dataWrite to the workspace data storeB

Creates or replaces one entry in the per-workspace key-value store. value is any JSON. Optional ttlSeconds expires it. This is live runtime data — NOT versioned with the workspace's grid commits.

Inputs: key (required), value (required), workspaceId (required), ttlSeconds.

sync_filesWrite many code files at onceA
Destructive

Writes MANY code files in ONE request — a whole site, from a list or straight from a folder on this machine (localDir; fonts and images are read as base64, hidden and build folders skipped). Use it instead of a write_file per file: one save, all or nothing, and every file carries a sha256 computed here that the server checks before storing anything, so a corrupted transfer stores none. Byte-identical files are reported unchanged and not rewritten. prefix puts local files under a workspace folder ("public" → public/index.html). deleteMissing removes workspace files the batch does not contain — only under prefix when one is given — and needs confirm:true.

Inputs: workspaceId (required), files, prefix, confirm, +2 more.

test_blockDry-run a block with sample inputA

Runs ONE saved block in isolation with sample input (the rest of the flow does NOT run) and returns its output — or, on error, a 400 whose details carry the JS/sandbox error. Use it to test a Process block and self-correct BEFORE deploying. input is the upstream value the block reads as input; request simulates an API Endpoint flow's request global. The block's code really runs (may make HTTP/SQL calls), so it needs flows:execute. Save the block first (set_workspace_content), then test by its blockId. PASS dryRun:true WHILE ITERATING: the block still runs on the real engine, but fetch and sql.query are answered from stubs and reach NOTHING — no third-party API calls burned, no writes to a real database. The reply's dryRun report lists every URL and query the block would have hit, which is also how you discover what it actually talks to. Supply dryRunHttp/dryRunSql to control the canned answers; unstubbed calls get an empty 200 / no rows. Drop dryRun for a final real test before deploying. The reply carries a usage block (statements, limitStatements, durationMs, fetches, storeOps) — SIZE YOUR BATCHES FROM IT instead of guessing: if a run uses a small fraction of the statement budget, do more work per call rather than paying for extra round-trips.

Inputs: blockId (required), workspaceId (required), input, dryRun, +3 more.

test_runner_handlerTest an on-prem handler on the user's runnerA

Pushes a SignalR (on-prem) block's C# handler + sample input to the user's runner — which must be running in TEST MODE (dotnet run -- --test) — and returns its output. The on-prem twin of test_block: use it to iterate on a handler before the user bakes it into a download. signalRBlockId is the block's guid (the signalRGuid from get_workspace_content). Omit handlerCode to run the saved handler. Times out if the runner isn't in test mode — if so, tell the user to start it with --test.

Inputs: signalRBlockId (required), input, handlerCode.

toggle_endpointEnable/disable a deployed endpointA
Destructive

Flips a deployed endpoint's enabled/disabled state (list_endpoints shows the current isEnabled). A disabled endpoint stops serving live traffic but keeps its configuration, so toggling it back on restores it. Powerful: requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.

Inputs: endpointId (required), confirm.

update_blockUpdate one blockA

Changes ONE block in place. THIS is how you fix a block — do NOT re-send the whole workspace with set_workspace_content to edit one field, and do NOT append a 'v2' block next to a broken one. Send only the fields you're changing: everything else on the block, all other blocks, the links, the code files, the camera and the hand-placed layout are untouched. Send "" to clear a field. Get the blockId from get_workspace_content. Returns the block as it now stands.

Inputs: blockId (required), workspaceId (required), i, j, +8 more.

update_domain_api_keyUpdate a domain API keyA
Destructive

Updates a domain API key's name, active state, and/or expiry in place — never changes the key value itself (use rotate_domain_api_key for that). Only the fields you pass are changed. Requires confirm=true — first call WITHOUT confirm to preview the exact changes, then again with confirm:true.

Inputs: keyId (required), domainId (required), name, confirm, +2 more.

update_domain_clientUpdate a domain API clientA
Destructive

Changes a client's name, scopes, token lifetime, rate limit or active state. active:false refuses its tokens from the next request and is reversible. Never changes the secret (rotate_domain_client_secret). Requires confirm=true.

Inputs: clientId (required), domainId (required), name, active, +4 more.

update_endpointUpdate a deployed endpoint's configA
Destructive

Updates a deployed endpoint's config in place — isMain, isEnabled, allowedVerbs, detailedOutput, isAnonymous, authMode, requiredScopes and/or notes — without a full redeploy. Only the fields you pass are changed; omit the rest. authMode decides who may call it: anonymous, apiKey, user (a visitor signed in to the site), jwt (a token from one of the domain's API clients — create_domain_client — or a trusted issuer — set_trusted_issuer), apiKeyOrJwt. Powerful (can change security posture, e.g. isAnonymous, or take live traffic down via allowedVerbs/isEnabled): requires confirm=true — first call WITHOUT confirm to preview the exact changes, then again with confirm:true.

Inputs: endpointId (required), notes, isMain, confirm, +6 more.

update_schedulePoint a schedule at a newer commitA

A schedule runs the COMMIT it was created on, not the canvas — so after you change and commit the workflow, the schedule keeps running the old code. This repins it onto another commit (the latest one when versionId is omitted) without touching its cron, jitter, run history or whether it is enabled: no more delete-and-recreate. The auto-save cannot be pinned (commit first). Requires confirm=true: it changes which code runs unattended.

Inputs: triggerId (required), confirm, versionId.

validate_blocksCheck JavaScript without writing itA
Read-only

Parses block code and code files and reports syntax errors WITHOUT touching any workspace — no workspaceId, nothing written, nothing to undo if it fails. Use it freely while drafting or fixing a block instead of discovering a typo from a rejected write. Returns { valid, checkedBlocks, checkedFiles, diagnostics[] } with the line and column of each problem. Note import "utils.js"; / import "zod@4.4.3"; lines are valid and are NOT errors.

Inputs: files, blocks.

write_fileCreate or replace one code fileA

THIS is how you edit a workspace code file — a page, a stylesheet, a helper library. Creates it if it doesn't exist. Do NOT re-send the whole workspace with set_workspace_content to change one file: everything else (blocks, links, other files, the camera, the layout) stays untouched here, and re-emitting files you didn't mean to change is how one of them gets silently corrupted. content is the FULL new content, so this is the tool for CREATING a file or replacing one outright — to change part of a file that already exists, use edit_file instead. Names are case-sensitive; a name differing only in case from an existing file is rejected (rename = write the new name, then delete_file the old one). Writing an HTML PAGE also returns what a findable page is still missing (title, description, canonical, lang…) — advisory only, the file is written either way; see get_block_model's PUBLISHING A SITE.

Inputs: name (required), content (required), workspaceId (required), seo.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 80 tools

    Disambiguation3/5

    Runner tools and analytics tools also have close boundaries (list_schedules vs list_schedule_runs, get_site_visitors vs get_site_traffic vs get_app_analytics), but these are mostly clarified in the text.

    Naming Consistency4/5

    Almost all tools use snake_case verb_noun patterns (get_workspace_content, create_schedule, delete_endpoint, rotate_domain_api_key). A few are noun-heavy or less predictable (release_runner_handler, test_runner_handler, setup_runner, claim_runner_pairing), but the convention remains readable and consistent overall.

    Tool Count1/5

    80 tools is far beyond a reasonable set for any single MCP server; it forces agents to choose among many similarly named tools and increases the chance of misselection. While the platform covers many subdomains, this surface is extreme and should be split or narrowed.

    Completeness4/5

    Coverage is broad: workspaces, blocks, schedules, endpoints, files, vault, key-value store, SQL database, domains, API keys/clients, trusted issuers, runners, analytics, SEO, and listing. Minor gaps exist (e.g. no explicit delete/rotate for vault secrets, though create/list/set are present).

    Related MCP Connectors

    Related MCP Servers