Installation
Requirements
- Node.js >= 22.0.0
Claude Code
bash
claude mcp add pdf-reader -- npx @sylphx/pdf-reader-mcpClaude Desktop
Add to your claude_desktop_config.json:
json
{
"mcpServers": {
"pdf-reader": {
"command": "npx",
"args": ["@sylphx/pdf-reader-mcp"]
}
}
}Config file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor
Add to your Cursor MCP settings:
json
{
"mcpServers": {
"pdf-reader": {
"command": "npx",
"args": ["@sylphx/pdf-reader-mcp"]
}
}
}Other MCP Clients
The server communicates via stdio. Run with:
bash
npx @sylphx/pdf-reader-mcpDevelopment Setup
Clone the repository:
bashgit clone https://github.com/SylphxAI/pdf-reader-mcp.git cd pdf-reader-mcpInstall dependencies:
bashbun installBuild:
bashbun run buildRun:
bashbun dist/index.js
Troubleshooting
Cache Issues
If you encounter issues after updating, clear the npm cache:
bash
npm cache clean --force
rm -rf ~/.npm/_npxThen restart your MCP client.