Docs/Getting Started/Installation

Installation

Install the MCP Server

npm install -g @hivemindai/mcp-server

Authenticate

hivemind login

This opens your browser, authenticates with your account, and saves your API key locally to ~/.hivemind/credentials.json.

Initialize Your Project

Run this from your project root:

hivemind init

This does three things:

  • Detects your editor (Claude Code, Cursor, or both)
  • Adds the Hivemind MCP server to your editor config automatically
  • Adds coordination rules to your project's CLAUDE.md (or .cursor/rules) so agents know to use Hivemind

Manual Setup (Alternative)

If you prefer to configure manually instead of using hivemind init:

Claude Code

Add the MCP server to your Claude Code config (~/.claude/mcp.json):

{
  "hivemind": {
    "command": "hivemind-mcp"
  }
}

Cursor

In Cursor settings, add a new MCP server:

  • Name: hivemind
  • Command: hivemind-mcp

Verify

Open Claude Code or Cursor and ask: "What MCP tools are available?" You should see the Hivemind tools listed.