Skip to content

MCP

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" } } }

The agent can also connect to other MCP servers.

Terminal window
sparse mcp list
sparse 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.