pageindex-local-mcp
by jamesbubenik
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PAGEINDEX_MODEL | No | Default model name for indexing/querying | local-model |
| PAGEINDEX_PYTHON | No | Python executable with PageIndex deps | python3 |
| PAGEINDEX_LOG_LEVEL | No | debug, info, warn, error | info |
| PAGEINDEX_REPO_PATH | Yes | Absolute path to cloned PageIndex repo | |
| PAGEINDEX_WORKSPACE | No | Where the MCP server stores artifacts | ~/.pageindex-local-mcp |
| PAGEINDEX_LLM_API_KEY | No | API key (any non-empty value for local servers) | local |
| PAGEINDEX_LLM_BASE_URL | No | OpenAI-compatible endpoint for queries | http://127.0.0.1:1234/v1 |
| PAGEINDEX_ALLOWED_ROOTS | No | Semicolon (Win) or colon (Unix) separated allowed dirs | |
| PAGEINDEX_LLM_TIMEOUT_MS | No | LLM request timeout (ms) | 120000 |
| PAGEINDEX_TOC_CHECK_PAGES | No | Pages scanned for TOC (PDF only) | 20 |
| PAGEINDEX_TOOL_TIMEOUT_MS | No | Max ms for a PageIndex Python subprocess. Raise for large PDFs or slow machines. | 600000 |
| PAGEINDEX_REGISTRY_BACKEND | No | json (supported) or sqlite (future) | json |
| PAGEINDEX_MAX_PAGES_PER_NODE | No | Max pages per tree node (PDF only) | 10 |
| PAGEINDEX_MAX_TOKENS_PER_NODE | No | Max tokens per tree node | 20000 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jamesbubenik/pageindex-local-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server