AI-Digital-Library-Assistant / CLIENT_SETUP.md
Nihal2000's picture
fixed all bugs
34c2d96
|
raw
history blame
1.5 kB
# πŸ”Œ Connect to Claude Desktop
You can use the **AI Digital Library Assistant** as a tool provider for Claude Desktop! This allows you to chat with Claude and have it directly access your library, search documents, and even trigger podcast generation.
## Prerequisites
- [Claude Desktop App](https://claude.ai/download) installed.
- The **AI Digital Library Assistant** running (either locally or on Hugging Face Spaces).
## Configuration
1. Open your Claude Desktop configuration file:
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
- **Mac**: `~/Library/Application Support/Claude/claude_desktop_config.json`
2. Add the following configuration:
```json
{
"mcpServers": {
"ai-library": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sse",
"--url",
"https://nihal2000-aidigitallibraryassistant.hf.space/sse"
]
}
}
}
```
> **Note:** Replace `https://nihal2000-aidigitallibraryassistant.hf.space` with your actual Space URL if different.
> If running locally, you can use the local SSE endpoint (usually `http://localhost:7860/sse`).
3. **Restart Claude Desktop**.
## What You Can Do
Once connected, you can ask Claude things like:
- "Search my library for documents."
- "Summarize the last PDF I uploaded."
- "Create a podcast script from these search results."
- "Generate tags for this document ID."