Skip to main content
Glama
installation.md1.27 kB
# Installation ## Requirements - Node.js >= 22.0.0 ## Claude Code ```bash claude mcp add pdf-reader -- npx @sylphx/pdf-reader-mcp ``` ## Claude 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-mcp ``` ## Development Setup 1. Clone the repository: ```bash git clone https://github.com/SylphxAI/pdf-reader-mcp.git cd pdf-reader-mcp ``` 2. Install dependencies: ```bash bun install ``` 3. Build: ```bash bun run build ``` 4. Run: ```bash bun dist/index.js ``` ## Troubleshooting ### Cache Issues If you encounter issues after updating, clear the npm cache: ```bash npm cache clean --force rm -rf ~/.npm/_npx ``` Then restart your MCP client.

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/SylphxAI/pdf-reader-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server