AI-Digital-Library-Assistant / CLIENT_SETUP.md
Nihal2000's picture
Update CLIENT_SETUP.md
ddf962b verified

A newer version of the Gradio SDK is available: 6.1.0

Upgrade

πŸ”Œ 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 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:

    {
      "mcpServers": {
        "ai-library": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote",
            "https://mcp-1st-birthday-ai-digital-library-assistant.hf.space/gradio_api/mcp/sse"
          ]
        }
      }
    }
    

    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."