# Page X — how to use (mcp.ai)

Connect your Page X account and use 1 tools for CRM straight from your AI agent. Connect with your own API key. PageX is an all-in-one platform combining CRM, page builder, and online course builder to help businesses manage leads, build websites, and create courses.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_page_x?ms=1787295960000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `page_x_create_lead`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/page_x`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/page_x/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/page_x/create/lead` — Tool to create a lead in PageXCRM. Use when you need to send lead data from websites or other systems to PageXCRM.
  - body: { more?: object, name?: string, plat?: string, email?: string, phone?: string, customer_id?: string }

## Example prompts
- "What can I do in Page X?"
- "Show me a summary of my Page X account"

## More
- Page: https://mcp.ai/page_x
- Agent spec (llms.txt): https://mcp.ai/page_x/llms.txt
- Postman collection: https://mcp.ai/page_x/postman.json
