# The MCP server

Four tools that let a local agent list your tabs and capture one.

`@page-scanner/mcp` is a stdio MCP server with four tools: `pair`, `list_browsers`, `list_tabs`
and `scan_page`. An agent on your machine can list the tabs you have open, capture one, and get
the file written to disk.

It holds no logic of its own. Everything below it is the
[`@page-scanner/cli`](https://docs.pagescanner.app/cli) package, which owns the loopback listener, the pairing and the
daemon, so the command line and an agent can be used at the same time.

## Next

- [Install it](https://docs.pagescanner.app/mcp/install) in Claude Code, Claude Desktop or anything reading `.mcp.json`.
- [Pair Chrome](https://docs.pagescanner.app/mcp/pairing), once per profile.
- [The four tools](https://docs.pagescanner.app/mcp/tools) and their arguments.
- [What an agent can and cannot do](https://docs.pagescanner.app/mcp/security) with it.
- [Where it stops](https://docs.pagescanner.app/mcp/limits).
