Skip to main content
Glama
iSamBa

pdf2mcp

by iSamBa

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYYesOpenAI API key for embeddings
PDF2MCP_OCR_DPINoDPI for OCR rendering300
PDF2MCP_DATA_DIRNoDirectory for vector databasedata
PDF2MCP_DOCS_DIRNoDirectory containing PDF filesdocs
PDF2MCP_CHUNK_SIZENoTarget chunk size in tokens500
PDF2MCP_OCR_ENABLEDNoEnable OCR for scanned/image-only pagestrue
PDF2MCP_SEARCH_MODENoSearch mode: semantic, hybrid, or keywordsemantic
PDF2MCP_SERVER_HOSTNoHost to bind to127.0.0.1
PDF2MCP_SERVER_NAMENoMCP server namepdf-docs
PDF2MCP_SERVER_PORTNoPort to bind to8000
PDF2MCP_OCR_LANGUAGENoTesseract language codeeng
PDF2MCP_CHUNK_OVERLAPNoOverlap between chunks in tokens50
PDF2MCP_EMBEDDING_MODELNoOpenAI embedding modeltext-embedding-3-small
PDF2MCP_OPENAI_BASE_URLNoOpenAI API base URL (for Azure, local proxies, or compatible providers)https://api.openai.com/v1
PDF2MCP_SERVER_TRANSPORTNoTransport protocolstreamable-http
PDF2MCP_DEFAULT_NUM_RESULTSNoDefault search results count5

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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