> ## Documentation Index
> Fetch the complete documentation index at: https://docs.taskguru.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting Claude Desktop

> Give Claude Desktop native access to your TaskGuru account using the Model Context Protocol (MCP).

# Claude Desktop Integration (MCP)

To give Claude Desktop native access to your tasks via the Model Context Protocol (MCP), you can install the official TaskGuru MCP server.

This allows you to converse with Claude and say things like, "Read my immediate tasks and draft an email for the most urgent one." TaskGuru acts as an autonomous AI bot task management system.

<Steps>
  <Step title="Generate Token">
    Generate a new **Personal Access Token** in your TaskGuru account by navigating to **Settings > API Keys**.
  </Step>

  <Step title="Configure Claude Desktop">
    Open your `claude_desktop_config.json` file.

    *(On Mac, this is usually located at `~/Library/Application Support/Claude/claude_desktop_config.json`)*.

    Add the TaskGuru server configuration:

    ```json theme={null}
    {
      "mcpServers": {
        "taskguru": {
          "command": "npx",
          "args": ["-y", "@taskguru/mcp-server"],
          "env": {
            "SUPABASE_URL": "https://your-project.supabase.co",
            "SUPABASE_ANON_KEY": "your-anon-key",
            "TASKGURU_API_KEY": "tg_pat_YOUR_TOKEN_HERE"
          }
        }
      }
    }
    ```
  </Step>

  <Step title="Restart Claude">
    Restart Claude Desktop so it can install and bind the new tools. You should see a new "plug" icon showing that the TaskGuru tools are active!
  </Step>
</Steps>
