mcp-server
v0.4.1Model Context Protocol server for Stigmer — exposes Stigmer agents and skills as MCP tools and resources
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search
Search and list Stigmer resources (agents, skills). Set 'kinds' to filter by resource type. Set 'query' for full-text search. Set 'org' to scope to an organization. Omit 'query' to list all accessible resources. A result carrying next_page_token has more: pass it as 'page_token' to continue.
| Parameter | Type | Description |
|---|---|---|
kinds | array | Resource kinds to search. Valid: agent, skill. Empty searches all. |
org | string | Organization slug to scope the search. Empty searches all accessible orgs. |
page_size | integer | Results per page (default 50, max 100). |
page_token | string | The previous result's next_page_token, to continue the same search. |
query | string | Full-text search query. Empty lists all accessible resources. |
get_agent
Get full details of a Stigmer agent by its org and slug (e.g. org=stigmer slug=variance-reporter).
| Parameter | Type | Description |
|---|---|---|
slug * | string | Agent slug — the unique identifier within the org (e.g. variance-reporter). |
org | string | Organization slug that owns the agent (e.g. acme). Leave empty on a server that holds one organization. |
apply_agent
Create or update a Stigmer agent (idempotent). Provide identity fields (name, org) and agent configuration (instructions, skills, plugins, etc.).
delete_agent
Delete a Stigmer agent and every version of it, by its org and slug. It can't be undone. Returns the deleted agent.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Agent slug — the unique identifier within the org (e.g. variance-reporter). |
org | string | Organization slug that owns the agent (e.g. acme). Leave empty on a server that holds one organization. |
run_agent
Start a run (asynchronous). Returns immediately with the created run (run_* ID) while the run continues in the background — poll get_run to observe progress, the tool uses it waits on, and the final answer. Omit session_id to start a fresh conversation on the agent; pass one to send a follow-up message into an existing session, which runs the agent the session started on. `files` hands the run files from the person's project ("run invoice-checker on samples/march.csv").
| Parameter | Type | Description |
|---|---|---|
agent * | string | Agent slug — the unique identifier within the org (e.g. variance-reporter). |
message * | string | The instruction or message for the agent to act on. |
files | array | Files from the person's project the message carries, at most 20: each a path, relative to a folder their coding agent has open or absolute inside one. The agent sees each with the message and finds it… |
include_my_vault | boolean | Whether each turn of a new conversation uses the caller's own My vault first (default true). Pass false to run on the listed vaults only. Only when starting a new conversation (no session_id). |
org | string | Organization slug that owns the agent (e.g. acme). Leave empty on a server that holds one organization. |
plugins | array | Installed plugins a new conversation uses beside its agent's, each whole (its skills, agents, hooks and MCP servers): each a plugin slug in `org`, or `org/slug`. Only when starting a new conversation… |
session_id | string | Existing session ID to continue a conversation (from a previous run's spec.session_id). Omit to start a new session. A turn in a session runs the agent the session started on and belongs to that sessi… |
vaults | array | Shared vaults a new conversation uses, in order, after the caller's My vault: each a vault slug in `org`, or `org/slug`. Only when starting a new conversation (no session_id); a conversation keeps the… |
list_runs
List one agent's runs, newest first, across all its conversations: how to find "the last run" of an agent, or the run a person means ("last night's", "the one that failed"). Each run has its run_id, session_id, phase, start and end, and its error in one line when it failed. Read one run with get_run (why it failed, what it said), what it saved with get_run_outputs, and how it was graded with get_run_scores.
| Parameter | Type | Description |
|---|---|---|
agent * | string | Agent slug (e.g. invoice-checker). |
limit | integer | How many of the newest runs to return (default 10, at most 50). |
org | string | Organization slug that owns the agent (e.g. acme). Leave empty on a server that holds one organization. |
get_run_outputs
Read what a run made: the files it saved in its outputs folder (a report, a CSV), newest per path. Text files come back with their content, at most 512 KB each, the cut said; other files are named with their size and type. Give the person the content itself, not a description of where it is. To save the files to a folder, the person runs `stigmer download run <run_id> --output-dir <folder>`. No download link is returned: it would open the file without a sign-in.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | Run ID (run_*); find one with list_runs. |
path | string | Only this output: its path in the outputs folder (reports/march.md) or its filename. |
get_run_scores
Read how a run was graded: each score with where it came from (the platform's run-health check, a person's thumbs, an AI judge, an eval), whether it was graded, its verdict, its criteria and comment. An empty list means nobody and nothing graded the run: say so plainly rather than judge it yourself.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | Run ID (run_*); find one with list_runs. |
get_run
Get a run and what its agent did: the run's lifecycle (phase, timing, error, stop_cause) and the run's events from its session's event log. Poll this tool to track a run started with run_agent (terminal phases: completed, failed, cancelled, terminated). The default compact view summarizes the turn: its phase, its answer, asks (the tool uses waiting for your answer, each with the tool_use_id submit_run_approval takes), its to-do list, its changed files and the last few items (messages, thinking, tool uses with their results); total_items tells you when the tail is a window. run.status.credentia…
| Parameter | Type | Description |
|---|---|---|
run_id * | string | Run ID (run_*). |
item_limit | integer | Compact view only: number of trailing items of the turn to return (default 5). |
view | string | Response shape: compact (default, the turn summarized with a bounded item tail) or full (every event). |
submit_run_approval
Answer a tool use a run is waiting on (get_run's turn.phase is waiting). Find the waiting tool uses in get_run's turn.asks — tool_use_id must match exactly. The run continues once every waiting tool use of its turn is answered. deny refuses the one call and feeds your reason back to the agent, which then continues; to stop the conversation use cancel_run instead. An approval is the person's to give: send allow or allow_all only when the person you are working for said so, in this conversation, for this call.
| Parameter | Type | Description |
|---|---|---|
decision * | string | allow: run this call. deny: refuse it; the agent is told why (see reason) and adapts. allow_all: run this call and every call of its class (its built-in category, MCP server or asking hook) for the re… |
run_id * | string | Run ID (run_*). |
tool_use_id * | string | The waiting tool use to answer (get_run's turn.asks[].tool_use_id). |
reason | string | With deny only: why the call is refused, fed back to the agent. |
get_skill
Get full details of a Stigmer skill by org and slug, optionally at a specific version. Omit 'version' for the latest.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Skill slug — unique identifier within the org. |
org | string | Organization slug that owns the skill. Leave empty on a server that holds one organization. |
version | string | Version to retrieve: tag name (e.g. stable) or SHA-256 hash. Omit for latest. |
delete_skill
Delete a Stigmer skill and all its versions by org and slug. To create or update skills, use the 'stigmer skill push' CLI command. Returns the deleted skill.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Skill slug — the unique identifier within the org (e.g. variance-report). Deletes the skill and all its versions. |
org | string | Organization slug that owns the skill (e.g. acme). Leave empty on a server that holds one organization. |
list_skill_versions
List a skill's version history (newest first): version hash, tag, who pushed it and when, and which version is current. Fetch one version's full content with get_skill and its hash or tag.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Skill slug — unique identifier within the org. |
org | string | Organization slug that owns the skill. Leave empty on a server that holds one organization. |
page_size | integer | Maximum versions per page (default 50). |
page_token | string | Pagination token from a previous response's next_page_token. |
cancel_run
Cancel a run in progress (run_*) by interrupting its conversation: every unfinished turn of the conversation stops (queued, working, waiting for an answer or paused), not this run alone, and each ends cancelled. Cancellation is terminal: a stopped turn cannot be resumed. The response names the runs stopped (stopped_run_ids). A run already in a terminal phase is returned with already_terminal=true and nothing is stopped.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | Run ID to cancel (run_*). |
search_docs
Search Stigmer's documentation at stigmer.ai/docs for the pages that answer a question: what Stigmer is, its editions and billing, how a concept works, a CLI command or SDK call, or why something fails. Returns the best-matching pages with their URLs. Then read the page with read_doc, whole, and answer from what it says.
| Parameter | Type | Description |
|---|---|---|
query * | string | A few words naming what the question is about (e.g. 'runner port', 'editions billing'). |
read_doc
Read one page of Stigmer's documentation whole, as Markdown, exactly as published today. The text opens with the page's Source URL: cite it in the answer. Pass the page's path (e.g. tools) or its full https://stigmer.ai/docs/... URL. Only stigmer.ai/docs is read.
| Parameter | Type | Description |
|---|---|---|
page * | string | The page's path after /docs/ (e.g. tools), or its full URL. |