Skip to content

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

StepMethodNotes
InitializePOST /mcpinitialize request
Sessionsubsequent requestsHeader mcp-session-id
NotificationsGET /mcpSSE stream
End sessionDELETE /mcp

Use an MCP-capable client or SDK; message format follows the MCP spec.

Tools (summary)

ToolDescription
getBrowserListList profiles
launchBrowserStart profile (id) → debuggingPort
stopBrowserStop 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_KEY

MCP session setup depends on your client (see MCP guide).