> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specpilot.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Local MCP overview

> The SpecPilot App serves an MCP endpoint, so your agent can read your specs and move tasks on the same board you see.

While the App is running, it also serves a local MCP server at `http://127.0.0.1:4321/mcp`. Your AI IDE connects to it, and your agent gets SpecPilot tools: read spec files, list, add and move tasks, validate the specs, and set up a folder that has no specs yet.

## Why use it

Your agent goes through the same code and the same checks as the App. Every task write carries the hash of the `tasks.md` your agent read, and it is refused if the file changed since. So you and your agent never overwrite each other's moves.

Moves you make on the board, your agent sees. Moves your agent makes, you see on the board.

## What stays on your machine

* The server listens on 127.0.0.1 only.
* Every request needs the `X-SpecPilot-Token` header from your IDE config.
* A request sent from a web page is refused.
* Nothing goes to a SpecPilot server.

## The Review rule

The server tells your agent how to use the board. Finished work goes from Current Sprint to Review, never straight to Completed. A task leaves Review only when you approve it or send it back.

## Next steps

> [card] [Turn it on or off](https://docs.specpilot.dev/mcp/on-off.md)
>
> Turn the endpoint off, limit it to reading, or keep its token.

> [card] [Connect your AI IDE](https://docs.specpilot.dev/mcp/connect.md)
>
> Add SpecPilot to Claude Code, Cursor, VS Code, Windsurf, Codex or Antigravity.

> [card] [Set up specs with your agent](https://docs.specpilot.dev/mcp/setup.md)
>
> Let your agent write `.specs/` for an existing folder or a new project.

> [card] [Tools](https://docs.specpilot.dev/mcp/tools.md)
>
> The ten tools your agent gets.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.