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.writespiral_search_contextSearch prior commitments — facts, ADRs, graph neighbours and active conflicts.requiredreadspiral_declare_intentRegister an intent and see overlapping intents already declared by other agents.writespiral_propose_decisionCreate an immutable draft decision event, before anything is committed.requiredwritespiral_check_conflictsRun the cascade against the proposal. Mandatory before a commit is accepted.requiredreadspiral_commit_decisionCommit the decision and return the server ACK that finalization requires.requiredwritespiral_finalize_turnClose the turn. Fails closed if the answer contains an unpersisted decision.requiredwriteConflicts
memory_check_conflicts_v1Pre-flight conflict check for a proposed fact, without committing it.readlist_conflicts_v1List open conflict notifications, deduplicated against legacy conflict rows.readresolve_conflict_v1Mark a conflict resolved.writeKnowledge
get_project_graphReturn the project file graph — file nodes and the links between them.readmemory_upsert_fact_v1Write a fact. Policy and rules gate synchronously; conflict detection runs after.writememory_query_v1Hybrid search over facts — semantic, full-text and optional graph hops.readlist_facts_v1List facts with filters, subject to the project's phase visibility policy.readcontinuous_extractionExtract entities and relationships from text into facts, with provenance.writeContext & sync
evolve_contextUpdate CONTEXT.md from a change description, then cascade to IDE files.writesync_contextDetect drift and regenerate the IDE context files from CONTEXT.md.writeget_context_mdFetch CONTEXT.md as plain text, with any undelivered conflicts appended.readcomplete_featureMark a feature complete: record a provenance episode and regenerate projections.writecheckpointSave a work-in-progress episode without marking a feature complete.writeSync & audit
spiral_reconcile_syncCompare the client cursor against server state and prescribe replay on drift.writespiral_sync_statusReport fact and decision counts, the graph checksum, and the sync cursor.readspiral_decision_memoryRead conversation-level decision memory episodes for recall and audit.readProject
resolve_projectResolve workspace hints — config file, git remote, folder name — to a project.read