IDE Integrations

Supported MCP Tools

Spiral exposes 24 tools to your IDE's agent over the Model Context Protocol. This list is generated from the allowlist the server actually enforces, so everything below is callable today.

The 5 marked required are the governed turn: an agent walks them in order, and a decision that skips the conflict check is refused at commit time.

Governed turn

spiral_start_sessionOpen a session and receive the workflow state and the tools scoped to this phase.write
spiral_search_contextSearch prior commitments — facts, ADRs, graph neighbours and active conflicts.requiredread
spiral_declare_intentRegister an intent and see overlapping intents already declared by other agents.write
spiral_propose_decisionCreate an immutable draft decision event, before anything is committed.requiredwrite
spiral_check_conflictsRun the cascade against the proposal. Mandatory before a commit is accepted.requiredread
spiral_commit_decisionCommit the decision and return the server ACK that finalization requires.requiredwrite
spiral_finalize_turnClose the turn. Fails closed if the answer contains an unpersisted decision.requiredwrite

Conflicts

memory_check_conflicts_v1Pre-flight conflict check for a proposed fact, without committing it.read
list_conflicts_v1List open conflict notifications, deduplicated against legacy conflict rows.read
resolve_conflict_v1Mark a conflict resolved.write

Knowledge

get_project_graphReturn the project file graph — file nodes and the links between them.read
memory_upsert_fact_v1Write a fact. Policy and rules gate synchronously; conflict detection runs after.write
memory_query_v1Hybrid search over facts — semantic, full-text and optional graph hops.read
list_facts_v1List facts with filters, subject to the project's phase visibility policy.read
continuous_extractionExtract entities and relationships from text into facts, with provenance.write

Context & sync

evolve_contextUpdate CONTEXT.md from a change description, then cascade to IDE files.write
sync_contextDetect drift and regenerate the IDE context files from CONTEXT.md.write
get_context_mdFetch CONTEXT.md as plain text, with any undelivered conflicts appended.read
complete_featureMark a feature complete: record a provenance episode and regenerate projections.write
checkpointSave a work-in-progress episode without marking a feature complete.write

Sync & audit

spiral_reconcile_syncCompare the client cursor against server state and prescribe replay on drift.write
spiral_sync_statusReport fact and decision counts, the graph checksum, and the sync cursor.read
spiral_decision_memoryRead conversation-level decision memory episodes for recall and audit.read

Project

resolve_projectResolve workspace hints — config file, git remote, folder name — to a project.read