MCP tools
The tools your agent gets.
Once connected, your agent gets these tools. Each maps to a QuikRun API action and runs as you, scoped to your token.
list_snippets
() → { snippets } — Lists your snippets with slug, language, visibility, endpoint, and run count.
get_snippet
(slug) → { code, meta } — Fetches a snippet's metadata and full source so the agent can read or edit it.
create_snippet
(name?, language?, prompt?) → { slug } — Creates a snippet, optionally from a name, language, and description.
update_snippet_code
(slug, code) → { diff } — Saves source code to the snippet's draft and returns the diff.
run_snippet
(slug, method?, body?, …) → { output, logs } — Runs a snippet and returns its output, HTTP response summary, and logs.
deploy_snippet
(slug) → { url } — Publishes the current draft as the live version at its URL.
update_snippet
(slug, name?, visibility?, …) → { ok } — Updates settings: name, visibility, language, or runtime.
duplicate_snippet
(slug) → { slug } — Duplicates a snippet so you can fork and tweak a copy.
delete_snippet
(slug) → { ok } — Permanently deletes a snippet. Destructive and cannot be undone.