Connect PageIndex to your agent framework or LLM via MCP (Model Context Protocol) . Works with Claude Agent SDK, Vercel AI SDK, LangChain, OpenAI Agents SDK, and any MCP-compatible client.
PageIndex MCP uses API Key authentication for reliable deployment in production. It shares the same PageIndex API under the hood, so your existing API key, documents, and plan work seamlessly across both REST and MCP access.
This PageIndex MCP is designed for developer integration in production environments. It does not share files or usage with PageIndex Chat , which is designed for end users.
Upload your documents first. MCP is the chat and retrieval layer — it answers questions over documents that are already indexed in your PageIndex Cloud account. Submit and index your PDFs with the Python SDK, the JavaScript SDK, or the API before pointing an MCP client at them.
Integration
- Generate your API key from the PageIndex Developer Dashboard .
- Add to your MCP client configuration:
{
"mcpServers": {
"pageindex": {
"type": "http",
"url": "https://api.pageindex.ai/mcp",
"headers": {
"Authorization": "Bearer your_api_key"
}
}
}
}