MCP Tools Reference

Supaspec exposes 7 MCP tools. Each tool groups related actions under a single tool name. Agents call these tools automatically based on your prompts.

project

Manage projects. Read-only, idempotent.

Actions

actionenumrequired"list" | "get" | "search" | "whoami"
projectstringoptionalProject name or slug (required for get, search)
querystringoptionalSearch query (required for search)
status_filterstringoptionalFilter sections: "draft", "wip", "approved", "implementing", "implemented"

list — Returns all accessible projects with id, name, slug, description.

get — Returns all sections with full content for a project. Use status_filter to narrow results.

search — Full-text search across all sections in a project.

whoami — Returns your identity and accessible projects.

section

Manage project sections. Create, read, update, diff.

Actions

actionenumrequired"list" | "get" | "create" | "update" | "set_status" | "diff"
projectstringrequiredProject name or slug
sectionstringoptionalSection title or slug (required for get, update, set_status, diff)
titlestringoptionalSection title (required for create)
contentstringoptionalMarkdown content (required for create, update)
agent_namestringoptionalYour agent name, e.g. "claude_code" (required for create, update, set_status)
modeenumoptional"commit" (default) or "propose" (update only)
messagestringoptionalShort commit summary
descriptionstringoptionalLonger explanation (update only)
promptstringoptionalWhat the user asked you to do (update only)
statusenumoptional"draft" | "wip" | "approved" | "implementing" | "implemented"
after_sectionstringoptionalInsert after this section (create only)
from_versionnumberoptionalStarting version (required for diff)
to_versionnumberoptionalEnding version (required for diff)

list — All sections (no content). Shows id, title, slug, status, sort order.

get — Full section content, metadata, latest version, and open proposal count.

create — Creates a new section with title, content, and optional position.

update — Updates content. Mode “commit” applies immediately; “propose” creates a proposal for review.

set_status — Changes section status (draft → wip → approved → implementing → implemented).

diff — Returns a unified diff between two versions.

proposal

Manage proposals (change requests on sections).

Actions

actionenumrequired"list" | "get" | "accept" | "reject" | "update"
projectstringrequiredProject name or slug
sectionstringoptionalSection title or slug (required for get, accept, reject, update)
proposalnumberoptionalProposal number (required for get, accept, reject, update)
agent_namestringoptionalYour agent name (required for accept, reject, update)
contentstringoptionalUpdated full content (required for update)
messagestringoptionalCommit message for revision (update only)
reasonstringoptionalRejection reason (reject only)

comment

Manage proposal comments.

Actions

actionenumrequired"add" | "resolve"
projectstringrequiredProject name or slug
sectionstringrequiredSection title or slug
proposalnumberrequiredProposal number
agent_namestringoptionalYour agent name (required for add)
bodystringoptionalMarkdown comment text (required for add)
change_idstringoptionalAnchor comment to a specific change (add only)
comment_idstringoptionalComment ID to resolve (required for resolve)

history

View version history. Read-only, idempotent.

Actions

actionenumrequired"log" | "show_version"
projectstringrequiredProject name or slug
sectionstringoptionalSection title or slug (optional for log, required for show_version)
versionnumberoptionalVersion number (required for show_version)

log — Commit log with version numbers, messages, authors. Section-scoped or project-wide.

show_version — Full content at a specific version, plus commit metadata.

asset

Manage project assets (files up to 500KB).

Actions

actionenumrequired"list" | "get" | "upload" | "delete"
projectstringrequiredProject name or slug
filenamestringoptionalAsset filename (required for get, upload, delete)
content_base64stringoptionalBase64-encoded file content (required for upload)
mime_typestringoptionalMIME type (e.g. "image/svg+xml"), default: application/octet-stream

secret

Manage project secrets and environment variables.

Actions

actionenumrequired"list" | "get" | "set" | "delete" | "export_env"
projectstringrequiredProject name or slug
keystringoptionalSecret key name, e.g. "DATABASE_URL" (required for get, set, delete)
valuestringoptionalSecret value (required for set)
descriptionstringoptionalDescription for the secret (optional for set)

list — All keys with values masked.

get — Single key with revealed value.

set — Create or update a key-value pair. Values are encrypted at rest.

export_env — All secrets formatted as a .env file.