Skip to content

MCP Server

SpecShip runs as a Model Context Protocol server. Start it with:

Terminal window
specship serve --mcp

Agents configured by the installer launch this automatically. When a .specship/ index exists, the agent uses the tools below.

Core (always available): specship_callees · specship_callers · specship_drifted · specship_explore · specship_files · specship_fitness · specship_impact · specship_link_assert · specship_link_verify · specship_maintainability · specship_node · specship_search · specship_spec · specship_status

JIRA integration (opt-in, specship install --with-jira): specship_jira_issue · specship_jira_issues · specship_jira_pick · specship_jira_publish · specship_jira_start · specship_jira_track · specship_jira_transition

Designer integration (opt-in + experimental, --with-designer): designer_ask · designer_handoff · designer_list · designer_prompt · designer_session · designer_snapshot

ToolPurpose
specship_explorePrimary. Return the verbatim source of the symbols relevant to a question — a plain question or a bag of symbol names both work — grouped by file, plus a relationship map and the call path among named symbols (following dynamic-dispatch hops like callbacks, React re-render, and interface→impl that grep can’t). Also surfaces matching human-confirmed domain facts and a “Prior work” section (past sessions that edited these files) inline. Usually the only call an agent needs.
specship_searchFind symbols by name across the codebase (just locations).
specship_nodeGet one symbol’s full body + its caller/callee trail; returns every overload’s body in one call for an ambiguous name.
specship_callersFind what calls a function.
specship_calleesFind what a function calls.
specship_impactAnalyze what code is affected by changing a symbol.
specship_filesGet the indexed file structure (faster than a filesystem scan).
specship_statusCheck index health and statistics.
ToolPurpose
specship_specFetch a spec by ID with its currently linked code.
specship_link_assertDeclare an implements / tests / documents link after editing. (Mutating — prompts for permission.)
specship_link_verifyMark a link’s verification pass/fail. (Mutating — prompts for permission.)
specship_driftedPull the drift queue (drifted / broken / orphaned links).

The issue-driving flow. Connect first with specship jira configure. See the JIRA integration guide.

ToolPurpose
specship_jira_issuesList the issues assigned to you (resolved from your token) — key, summary, status, type. Optional project filter.
specship_jira_issueFetch one issue by key — summary, description, status, type.
specship_jira_pickDraft a well-formed SpecShip spec from an issue under specs/. Idempotent — re-picking updates the spec in place.
specship_jira_startRun the spec-implement workflow on the generated spec; pauses at its plan/approve gate.
specship_jira_trackRead-only table joining each picked issue’s SpecShip work-state with its live JIRA status.

Merged in from the standalone designer MCP, these drive claude.ai/design over a debug Chrome. macOS only; they only launch Chrome when invoked. See Design-to-code.

ToolPurpose
designer_sessionOpen or attach a Claude Design session.
designer_promptSend a design prompt and iterate on variants.
designer_askAsk a question about the current design.
designer_listList the files/variants in the session.
designer_snapshotSnapshot a design’s source byte-for-byte to disk.
designer_handoffProduce a handoff bundle for the implement workflow.

SpecShip is the pre-built search index. For “how does X work?”, architecture, trace, or where-is-X questions, an agent should answer in a handful of SpecShip calls and stop — typically with zero file reads — rather than re-deriving the answer with grep + Read. A direct SpecShip answer is a handful of calls; a grep/read exploration is dozens.

The installer writes this guidance into each agent’s instructions file automatically.