原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Hummingbot MCP

作者:hummingbot版本 0.1.0i★ –i在你的电脑上运行
注册名称io.github.hummingbot/mcp

安装

概览

作者提供的说明(英文原文)

MCP server exposing Hummingbot API for automated multi-exchange trading

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 会计、财务与税务
  • 你需要填写:HUMMINGBOT_API_URL, HUMMINGBOT_USERNAME, HUMMINGBOT_PASSWORD

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: HUMMINGBOT_API_URL, HUMMINGBOT_USERNAME, HUMMINGBOT_PASSWORD

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "hummingbot": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "HUMMINGBOT_API_URL",
        "-e",
        "HUMMINGBOT_USERNAME",
        "-e",
        "HUMMINGBOT_PASSWORD",
        "docker.io/hummingbot/hummingbot-mcp:0.1.0"
      ],
      "env": {
        "HUMMINGBOT_API_URL": "your-value",
        "HUMMINGBOT_USERNAME": "your-value",
        "HUMMINGBOT_PASSWORD": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add hummingbot --env HUMMINGBOT_API_URL=your-value --env HUMMINGBOT_USERNAME=your-value --env HUMMINGBOT_PASSWORD=your-value -- docker run -i --rm -e HUMMINGBOT_API_URL -e HUMMINGBOT_USERNAME -e HUMMINGBOT_PASSWORD docker.io/hummingbot/hummingbot-mcp:0.1.0

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "hummingbot": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "HUMMINGBOT_API_URL",
        "-e",
        "HUMMINGBOT_USERNAME",
        "-e",
        "HUMMINGBOT_PASSWORD",
        "docker.io/hummingbot/hummingbot-mcp:0.1.0"
      ],
      "env": {
        "HUMMINGBOT_API_URL": "your-value",
        "HUMMINGBOT_USERNAME": "your-value",
        "HUMMINGBOT_PASSWORD": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "hummingbot": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "HUMMINGBOT_API_URL",
        "-e",
        "HUMMINGBOT_USERNAME",
        "-e",
        "HUMMINGBOT_PASSWORD",
        "docker.io/hummingbot/hummingbot-mcp:0.1.0"
      ],
      "env": {
        "HUMMINGBOT_API_URL": "your-value",
        "HUMMINGBOT_USERNAME": "your-value",
        "HUMMINGBOT_PASSWORD": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • HUMMINGBOT_API_URL 必填 env
    Base URL of the Hummingbot API (e.g., http://host.docker.internal:8820 or http://localhost:8000)
  • HUMMINGBOT_USERNAME 机密 必填 env
    Hummingbot API username
  • HUMMINGBOT_PASSWORD 机密 必填 env
    Hummingbot API password

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 hummingbot 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“会计、财务与税务”中的其他服务器比较i

  • 星标数多于此分类中其他 1722 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1722 个服务器的 0% 更新
  • 基础检查结果等于或优于此分类中其他 1722 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Hummingbot MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:HUMMINGBOT_API_URL, HUMMINGBOT_USERNAME, HUMMINGBOT_PASSWORD

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.0)于13个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Finance Toolkit

作者:JerBouma

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

电脑或云端★ 5,496MIT昨天更新
安装

SolidInvoice

作者:SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

在云端运行★ 981MIT7天前更新
安装

Korea Tax Calculator

作者:UpstageAI

Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.

在你的电脑上运行★ 97MIT今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

MCP Hummingbot Server

An MCP (Model Context Protocol) server that enables Claude and Gemini CLI to interact with Hummingbot for automated cryptocurrency trading across multiple exchanges.

Installation & Configuration

Option 1: Using uv (Recommended for Development)
  1. Install uv (if not already installed):
   curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Clone and install dependencies:
   git clone https://github.com/hummingbot/mcp

cd mcp uv sync

  1. Create a .env file:
   cp .env.example .env
  1. Edit the .env file with your Hummingbot API credentials:
   HUMMINGBOT_API_URL=http://localhost:8000

HUMMINGBOT_USERNAME=admin HUMMINGBOT_PASSWORD=admin

  1. Configure in Claude Code or Gemini CLI:
   {

"mcpServers": { "hummingbot-mcp": { "type": "stdio", "command": "uv", "args": [ "--directory", "/path/to/mcp", "run", "main.py" ] } } }

   

Note: Make sure to replace /path/to/mcp with the actual path to your MCP directory.

Option 2: Using Docker (Recommended for Production)
  1. Create a .env file:
   touch .env
  1. Edit the .env file with your Hummingbot API credentials:
   HUMMINGBOT_API_URL=http://localhost:8000

HUMMINGBOT_USERNAME=admin HUMMINGBOT_PASSWORD=admin

Important: When running the MCP server in Docker and connecting to a Hummingbot API on your host:

  • Linux: Use --network host (see below) to allow the container to access localhost:8000
  • Mac/Windows: Change HUMMINGBOT_API_URL to http://host.docker.internal:8000
  1. Pull the Docker image:
   docker pull hummingbot/hummingbot-mcp:latest
  1. Configure in Claude Code or Gemini CLI:

For Linux (using --network host):

   {

"mcpServers": { "hummingbot-mcp": { "type": "stdio", "command": "docker", "args": [ "run", "--rm", "-i", "--network", "host", "--env-file", "/path/to/mcp/.env", "-v", "$HOME/.hummingbot_mcp:/root/.hummingbot_mcp", "hummingbot/hummingbot-mcp:latest" ] } } }

For Mac/Windows:

   {

"mcpServers": { "hummingbot-mcp": { "type": "stdio", "command": "docker", "args": [ "run", "--rm", "-i", "--env-file", "/path/to/mcp/.env", "-v", "$HOME/.hummingbot_mcp:/root/.hummingbot_mcp", "hummingbot/hummingbot-mcp:latest" ] } } }

   (Remember to set `HUMMINGBOT_API_URL=http://host.docker.internal:8000` in your `.env` file)

Note: Make sure to replace /path/to/mcp with the actual path to your MCP directory.

Cloud Deployment with Docker Compose

For cloud deployment where both Hummingbot API and MCP server run on the same server:

  1. Create a .env file:
   touch .env
  1. Edit the .env file with your Hummingbot API credentials:
   HUMMINGBOT_API_URL=http://localhost:8000

HUMMINGBOT_USERNAME=admin HUMMINGBOT_PASSWORD=admin

  1. Create a docker-compose.yml:
   services:

hummingbot-api: container_name: hummingbot-api image: hummingbot/hummingbot-api:latest ports:

  • "8000:8000" volumes:
  • ./bots:/hummingbot-api/bots
  • /var/run/docker.sock:/var/run/docker.sock environment:
  • USERNAME=admin
  • PASSWORD=admin
  • BROKER_HOST=emqx
  • DATABASE_URL=postgresql+asyncpg://hbot:hummingbot-api@postgres:5432/hummingbot_api networks:
  • emqx-bridge depends_on:
  • postgres

mcp-server: container_name: hummingbot-mcp image: hummingbot/hummingbot-mcp:latest stdin_open: true tty: true env_file:

  • .env environment:
  • HUMMINGBOT_API_URL=http://hummingbot-api:8000 depends_on:
  • hummingbot-api networks:
  • emqx-bridge

Include other services from hummingbot-api docker-compose.yml as needed

emqx: container_name: hummingbot-broker image: emqx:5 restart: unless-stopped environment:

  • EMQX_NAME=emqx
  • EMQX_HOST=node1.emqx.local
  • EMQX_CLUSTER__DISCOVERY_STRATEGY=static
  • EMQX_CLUSTERSTATICSEEDS=[emqx@node1.emqx.local]
  • EMQX_LOADED_PLUGINS="emqx_recon,emqx_retainer,emqx_management,emqx_dashboard" volumes:
  • emqx-data:/opt/emqx/data
  • emqx-log:/opt/emqx/log
  • emqx-etc:/opt/emqx/etc ports:
  • "1883:1883"
  • "8883:8883"
  • "8083:8083"
  • "8084:8084"
  • "8081:8081"
  • "18083:18083"
  • "61613:61613" networks: emqx-bridge: aliases:
  • node1.emqx.local healthcheck: test: [ "CMD", "/opt/emqx/bin/emqx_ctl", "status" ] interval: 5s timeout: 25s retries: 5

postgres: container_name: hummingbot-postgres image: postgres:15 restart: unless-stopped environment:

  • POSTGRES_DB=hummingbot_api
  • POSTGRES_USER=hbot
  • POSTGRES_PASSWORD=hummingbot-api volumes:
  • postgres-data:/var/lib/postgresql/data ports:
  • "5432:5432" networks:
  • emqx-bridge healthcheck: test: ["CMD-SHELL", "pg_isready -U hbot -d hummingbot_api"] interval: 10s timeout: 5s retries: 5

networks: emqx-bridge: driver: bridge

volumes: emqx-data: { } emqx-log: { } emqx-etc: { } postgres-data: { }

  1. Deploy:
   docker compose up -d
  1. Configure in Claude Code or Gemini CLI to connect to existing container:
   {

"mcpServers": { "hummingbot-mcp": { "type": "stdio", "command": "docker", "args": [ "exec", "-i", "hummingbot-mcp", "uv", "run", "main.py" ] } } }

   

Note: Replace hummingbot-mcp with your actual container name. You can find the container name by running:

   docker ps

Server Configuration

On first run, the server creates a default configuration from environment variables (or uses http://localhost:8000 with default credentials). Configuration is stored in ~/.hummingbot_mcp/server.yml.

Using the configure_server Tool
# Show the current server configuration

configure_server()

Update the host and port

configure_server(host="192.168.1.100", port=8001)

Update credentials

configure_server(username="admin", password="secure_password")

Update everything at once

configure_server( name="production", host="prod-server", port=8000, username="admin", password="secure_password" )

Only the provided parameters are changed; omitted ones keep their current values. The client automatically reconnects after any update.

Environment Variables

The following environment variables can be set in your .env file for the MCP server:

VariableDefaultDescription
HUMMINGBOT_API_URLhttp://localhost:8000Initial default API server URL (used only on first run)
HUMMINGBOT_USERNAMEadminInitial username (used only on first run)
HUMMINGBOT_PASSWORDadminInitial password (used only on first run)
HUMMINGBOT_TIMEOUT30.0Connection timeout in seconds
HUMMINGBOT_MAX_RETRIES3Maximum number of retry attempts
HUMMINGBOT_RETRY_DELAY2.0Delay between retries in seconds
HUMMINGBOT_LOG_LEVELINFOLogging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)

Note: After initial setup, use the configure_server tool to update the server connection. Environment variables are only used to create the initial default configuration.

Requirements

  • Python 3.11+
  • Running Hummingbot API server
  • Valid Hummingbot API credentials

Available Tools

The MCP server provides tools for:

Server Management
  • configure_server: View or update the active Hummingbot API server connection
  • No parameters: show current server config
  • Any parameters: update and reconnect
  • Configuration persists in ~/.hummingbot_mcp/server.yml
Trading & Account Management
  • Account management and connector setup
  • Portfolio balances and distribution
  • Order placement and management
  • Position management
  • Market data (prices, order books, candles)
  • Funding rates
  • Bot deployment and management
  • Controller configuration

Development

To run the server in development mode:

uv run main.py

To run tests:

uv run pytest

Troubleshooting

The MCP server now provides comprehensive error messages to help diagnose connection and authentication issues:

Connection Errors

If you see error messages like:

  • ❌ Cannot reach Hummingbot API at - The API server is not running or not accessible
  • ❌ Authentication failed when connecting to Hummingbot API - Incorrect username or password
  • ❌ Failed to connect to Hummingbot API - Generic connection failure

The error messages will include:

  • The exact URL being used
  • Your configured username (password is masked)
  • Specific suggestions on how to fix the issue
  • References to tools like configure_server
Common Solutions
  1. API Not Running:
  • Ensure your Hummingbot API server is running
  • Verify the API is accessible at the configured URL
  1. Wrong Credentials:
  • Use configure_server tool to update server credentials
  • Or check your .env file configuration
  1. Wrong URL:
  • Use configure_server tool to update the server URL
  • For Docker on Mac/Windows, use host.docker.internal instead of localhost
  1. Docker Network Issues:
  • On Linux, use --network host in your Docker configuration
  • On Mac/Windows, use host.docker.internal:8000 as the API URL
Error Prevention

The MCP server will:

  • Not retry on authentication failures (401 errors) - it will immediately tell you the credentials are wrong
  • Retry on connection failures with helpful messages about what might be wrong
  • Provide context about whether you're running in Docker and suggest appropriate fixes
  • Guide you to the right tools (configure_server) to fix issues
问 PopNx