Coding-agent MCP server
Reshot ships a local Model Context Protocol server with the screenshot CLI. It lets an MCP-compatible coding agent inspect project status, run selected flows headlessly, compare them with their baselines, and verify hosted delivery without opening Studio.
Configure the server
Add Reshot to your MCP client configuration from the repository that contains reshot.config.json:
{
"mcpServers": {
"reshot": {
"command": "npx",
"args": ["-y", "@reshotdev/screenshot", "mcp"],
"cwd": "/absolute/path/to/your/repository"
}
}
}You can also run the installed binary directly with reshot-mcp. The server uses newline-delimited JSON-RPC over stdio and never opens a browser UI.
Tools
| Tool | Purpose |
|---|---|
reshot_status | Read project, capture, review, and drift status as JSON. |
reshot_capture | Run all configured flows or a selected list in headless diff mode. |
reshot_verify | Verify publish, pull, and hosted asset delivery readiness. |
reshot_capture collects evidence; it does not approve a visual change or override the reshot/visual-review merge gate. A human reviewer still owns the approval decision.
Agent loop
- Ask the agent to run
reshot_capturefor the flow it changed. - Let the agent inspect the capture and diff output, fix the implementation, and rerun the flow.
- Publish the final CI result to Reshot.
- Review the PR's flow-by-context matrix and approve or reject it.
The project API key remains local to the CLI configuration. Use a scoped project key in CI and do not put credentials in the MCP configuration file.

