MCP Server
SwarmVault can expose a vault as a local MCP server with:
swarmvault mcpThe current release uses stdio transport and is meant for local agent and tooling integrations.
Why MCP Matters
MCP lets a compatible client treat the vault as a structured tool surface instead of a pile of files. That means an agent can:
- search compiled pages
- read generated markdown directly
- inspect manifests and graph state
- ask questions against the vault
- ingest new material
- trigger compile and lint runs
Tool Surface
SwarmVault currently exposes these tools:
workspace_infosearch_pagesread_pagelist_sourcesquery_vaultingest_inputcompile_vaultlint_vault
Resource Surface
SwarmVault also exposes read-oriented resources:
swarmvault://configswarmvault://graphswarmvault://manifestsswarmvault://pages/{path}
Client Setup Pattern
The basic pattern is simple:
- Open a terminal in the vault root
- Configure your MCP-aware client to launch
swarmvault mcp - Let the client call tools and read resources against that workspace
Because the server uses the current working directory as the vault root, you do not need a separate MCP config block inside swarmvault.config.json for the current release.