MCP Endpoint
Description
Streamable HTTP Model Context Protocol endpoint for AI clients (Cursor, etc.). Pro + local API service running.
URL
http://localhost:{port}/mcp{port} from the client API menu.
Protocol
| Step | Method | Notes |
|---|---|---|
| Initialize | POST /mcp | initialize request |
| Session | subsequent requests | Header mcp-session-id |
| Notifications | GET /mcp | SSE stream |
| End session | DELETE /mcp |
Use an MCP-capable client or SDK; message format follows the MCP spec.
Tools (summary)
| Tool | Description |
|---|---|
getBrowserList | List profiles |
launchBrowser | Start profile (id) → debuggingPort |
stopBrowser | Stop profile (id) |
After launch, Playwright MCP tools may be available for page automation.
Auth
Same local service as REST. REST calls use header:
http
api-key: YOUR_API_KEYMCP session setup depends on your client (see MCP guide).
