Hive 区块链交互服务器

Hive 区块链交互服务器

一个通过 Model Context Protocol 使 AI 助手与 Hive 区块链交互的服务器。

快速入门

  1. 安装依赖:
    npx @gluneau/hive-mcp-server
    
  2. 配置环境变量(用于身份验证操作):
    export HIVE_USERNAME=your-hive-username
    export HIVE_POSTING_KEY=your-hive-posting-private-key
    export HIVE_ACTIVE_KEY=your-hive-active-private-key
    export HIVE_MEMO_KEY=your-hive-memo-private-key
    
  3. 使用 MCP Inspector 调试:
    npx @modelcontextprotocol/inspector npx @gluneau/hive-mcp-server
    
  4. 在 AI 助手中集成,例如 Claude Desktop 的配置文件中添加:
    {
      "mcpServers": {
        "hive": {
          "command": "npx",
          "args": ["-y", "@gluneau/hive-mcp-server"],
          "env": {
            "HIVE_USERNAME": "your-hive-username",
            "HIVE_POSTING_KEY": "your-hive-posting-private-key"
          }
        }
      }
    }
    
  5. 测试功能,例如获取账户信息或发送加密消息。