Skip to main content
Glama

Calibre RAG MCP Server

by ispyridis
QUICK_TEST.md1.91 kB
# Quick Test Instructions ## ✅ Syntax Error Fixed! The regex syntax error has been resolved. Here's how to test: ### 1. Test Syntax Check (Manual) ```bash cd "F:\MCP servers\calibre-rag-mcp-nodejs" node check-syntax.js ``` ### 2. Install Dependencies ```bash npm install ``` ### 3. Run Test Suite ```bash npm test ``` ### 4. Manual Server Test Open two terminals: **Terminal 1 (Start Server):** ```bash cd "F:\MCP servers\calibre-rag-mcp-nodejs" node server.js ``` **Terminal 2 (Send Test Request):** ```bash echo '{"jsonrpc":"2.0","id":1,"method":"initialize"}' | node -e "process.stdin.pipe(process.stdout)" ``` ### 5. Expected Behavior - ✅ Server starts without syntax errors - ✅ Logs appear in temp file: `%TEMP%\calibre-rag-mcp-requests.log` - ✅ Server responds to initialize request - ✅ Projects directory created automatically ### 6. Integration with Claude The server is ready to use with Claude! Update your MCP configuration: ```json { "mcpServers": { "calibre-rag": { "command": "node", "args": ["F:\\MCP servers\\calibre-rag-mcp-nodejs\\server.js"], "cwd": "F:\\MCP servers\\calibre-rag-mcp-nodejs" } } } ``` ### 7. Next Steps 1. **Update Calibre library path** in `server.js`: ```javascript CALIBRE_LIBRARY: 'D:\\e-library', // ← Change this to your path ``` 2. **Test with Claude:** - List tools: Should show 6 tools (search, fetch, list_projects, create_project, add_books_to_project, search_project_context, get_project_info) - Create a test project - Search for books and add them to project ### 8. Troubleshooting - **Still getting syntax errors?** Try: `node -c server.js` - **Missing dependencies?** Run: `npm install` - **Calibre not found?** Update `CALIBRE_LIBRARY` path in server.js - **Embedding download fails?** Requires internet for first run The server is now ready for RAG-enhanced conversations! 🎉

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/ispyridis/calibre-rag-mcp-nodejs'

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