MCP
Sparse as an MCP server
Section titled “Sparse as an MCP server”sparse-mcp is a stdio MCP server that exposes Sparse as tools: plan, agent_run, route, validate, research_*, memory_* and more. It ships with sparse-cli, so there’s nothing else to install. sparse mcp serve does the same thing.
Add it to any MCP host, such as Claude Desktop or Cursor:
{ "mcpServers": { "sparse": { "command": "sparse-mcp" } } }External MCP servers
Section titled “External MCP servers”The agent can also connect to other MCP servers.
sparse mcp listsparse mcp add <server>sparse mcp remove <server>sparse mcp test <server>approve, revoke and approvals manage which servers the agent may use. Add -g to change the global config in ~/.sparse instead of this project’s.
In the REPL, use /mcp.