Skip to main content

Installation

Install and set up the 60db MCP Server. Source code: github.com/60db/mcp · npm: 60db-mcp-server

Prerequisites

Install from npm

npm install -g 60db-mcp-server
Verify the binary is on your PATH:
60db-mcp-server --help

Install from Source

# Clone the public repository
git clone https://github.com/60db/mcp.git
cd mcp

# Install dependencies
npm install

# Build the server (TypeScript → dist/)
npm run build

# Run it
npm start

Verify Installation

# Check if server is installed
60db-mcp-server --version

# Or if installed from source
npm start

Environment Setup

Set your API key:
# Set 60db API key
export SIXTYDB_API_KEY=sk_your_api_key_here

# Set API base URL (optional, defaults to https://api.60db.ai)
export SIXTYDB_API_BASE_URL=https://api.60db.ai
Alternatively, authenticate with a JWT:
export SIXTYDB_JWT_TOKEN=your_jwt_token_here
Legacy QLABS_API_KEY, QLABS_JWT_TOKEN, and QLABS_API_BASE_URL env vars are still honored for backward compatibility — existing configs will continue to work after the rename, but new deployments should use the SIXTYDB_* names.

Making it Permanent

Add to your ~/.bashrc, ~/.zshrc, or ~/.profile:
echo 'export SIXTYDB_API_KEY=sk_your_api_key_here' >> ~/.bashrc
source ~/.bashrc

Development Setup

For development with auto-reload:
npm run dev

Production Build

npm run build
npm start

Next Steps