pdf2mcp
by iSamBa
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | Yes | OpenAI API key for embeddings | |
| PDF2MCP_OCR_DPI | No | DPI for OCR rendering | 300 |
| PDF2MCP_DATA_DIR | No | Directory for vector database | data |
| PDF2MCP_DOCS_DIR | No | Directory containing PDF files | docs |
| PDF2MCP_CHUNK_SIZE | No | Target chunk size in tokens | 500 |
| PDF2MCP_OCR_ENABLED | No | Enable OCR for scanned/image-only pages | true |
| PDF2MCP_SEARCH_MODE | No | Search mode: semantic, hybrid, or keyword | semantic |
| PDF2MCP_SERVER_HOST | No | Host to bind to | 127.0.0.1 |
| PDF2MCP_SERVER_NAME | No | MCP server name | pdf-docs |
| PDF2MCP_SERVER_PORT | No | Port to bind to | 8000 |
| PDF2MCP_OCR_LANGUAGE | No | Tesseract language code | eng |
| PDF2MCP_CHUNK_OVERLAP | No | Overlap between chunks in tokens | 50 |
| PDF2MCP_EMBEDDING_MODEL | No | OpenAI embedding model | text-embedding-3-small |
| PDF2MCP_OPENAI_BASE_URL | No | OpenAI API base URL (for Azure, local proxies, or compatible providers) | https://api.openai.com/v1 |
| PDF2MCP_SERVER_TRANSPORT | No | Transport protocol | streamable-http |
| PDF2MCP_DEFAULT_NUM_RESULTS | No | Default search results count | 5 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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 | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues