> ## Documentation Index
> Fetch the complete documentation index at: https://60db.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuration

# Configuration

Configure the 60db MCP Server for your environment.

## Environment Variables

### Required

```bash theme={null}
# 60db API Key (required)
export SIXTYDB_API_KEY=sk_your_api_key_here
```

### Optional

```bash theme={null}
# API Base URL (default: https://api.60db.ai)
export SIXTYDB_API_BASE_URL=https://api.60db.ai

# Debug mode (default: false)
export SIXTYDB_DEBUG=true
```

## Claude Desktop Configuration

Add to your Claude Desktop config:

**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows**: `%APPDATA%/Claude/claude_desktop_config.json`

```json theme={null}
{
  "mcpServers": {
    "60db": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-server/dist/index.js"],
      "env": {
        "SIXTYDB_API_KEY": "sk_your_api_key_here",
        "SIXTYDB_API_BASE_URL": "https://api.60db.ai"
      }
    }
  }
}
```

<Callout type="warning">
  Use absolute paths for the args array.
</Callout>

## Custom Application Integration

```typescript theme={null}
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";

const transport = new StdioClientTransport({
  command: "node",
  args: ["/path/to/mcp-server/dist/index.js"],
  env: {
    SIXTYDB_API_KEY: "sk_your_api_key_here",
    SIXTYDB_API_BASE_URL: "https://api.60db.ai"
  }
});

const client = new Client({
  name: "my-app",
  version: "1.0.0"
}, {
  capabilities: {}
});

await client.connect(transport);
```

## Testing

Test with MCP Inspector:

```bash theme={null}
npm install -g @modelcontextprotocol/inspector
mcp-inspector node dist/index.js
```

## Next Steps

* [Quick Start](/mcp-server/quickstart) - Test your setup
