PDF Tools MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| tempfile_dir | No | The directory for temporary files used for URL support. PDFs from URLs are downloaded here. Default is ~/.pdf_tools_temp | ~/.pdf_tools_temp |
| workspace_path | Yes | The directory the tool can access. For security reasons, this tool can only access files within the specified workspace directory and cannot access files outside the workspace directory. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| read_pdf_pagesA | Read content from PDF file for specified page range. |
| get_pdf_infoA | Get basic information about a PDF file including page count. |
| merge_pdfsA | Merge multiple PDF files into one. |
| extract_pdf_pagesA | Extract specific pages from a PDF and create a new PDF. |
| search_pdf_contentA | Search for regex pattern in PDF content and return paginated results. |
| search_pdf_next_pageB | Get next page of search results. |
| search_pdf_prev_pageB | Get previous page of search results. |
| search_pdf_go_pageA | Go to specific page of search results. |
| search_pdf_infoC | Get information about a search session. |
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/lockon-n/pdf-tools-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server