Skip to content

Installation Guide

Hatago MCP Hub can be used via npx, installed globally, or added to a project.

npx (Recommended)

No installation. Always up to date.

Global Install

Use hatago anywhere.

Project Dependency

Pin a version per project.

Docker

Isolated runtime for teams.

Terminal window
# Initialize config
npx @himorishige/hatago-mcp-hub init
# Start server
npx @himorishige/hatago-mcp-hub serve --stdio --config ./hatago.config.json
  1. Install

    Terminal window
    npm install -g @himorishige/hatago-mcp-hub
  2. Verify

    Terminal window
    hatago --version
  3. Init

    Terminal window
    hatago init
  4. Serve

    Terminal window
    hatago serve
  1. Add
    Terminal window
    npm install @himorishige/hatago-mcp-hub
  2. package.json scripts
    {
    "scripts": {
    "mcp": "hatago serve",
    "mcp:init": "hatago init",
    "mcp:dev": "hatago serve --http --verbose"
    }
    }
  3. Run
    Terminal window
    npm run mcp:init
    npm run mcp