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 |
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/iSamBa/pdf2mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server