Skip to main content
Glama

MPC Tally API Server

MPC Tally API 服务器

用于与 Tally API 交互的模型上下文协议 (MCP) 服务器。该服务器允许 AI 代理获取有关 DAO 的信息,包括其治理数据、提案和元数据。

特征

  • 按受欢迎程度或探索状态排序列出 DAO
  • 获取包括社交链接和治理信息在内的综合 DAO 元数据
  • 用于处理大量结果集的分页支持
  • 使用 TypeScript 和 GraphQL 构建
  • 使用 Bun 的测试运行器进行全面测试覆盖

安装

# Clone the repository git clone https://github.com/yourusername/mpc-tally-api-server.git cd mpc-tally-api-server # Install dependencies bun install # Build the project bun run build

配置

  1. 在根目录中创建一个.env文件:
TALLY_API_KEY=your_api_key_here
  1. Tally获取您的 API 密钥

⚠️安全注意事项:确保您的 API 密钥安全:

  • 永远不要提交你的.env文件
  • 不要在日志或错误消息中暴露你的 API 密钥
  • 如果 API 密钥被泄露,请进行轮换
  • 使用环境变量进行配置

用法

运行服务器

# Start the server bun run start # Development mode with auto-reload bun run dev

Claude桌面配置

将以下内容添加到您的 Claude Desktop 配置中:

{ "tally": { "command": "node", "args": [ "/path/to/mpc-tally-api-server/build/index.js" ], "env": { "TALLY_API_KEY": "your_api_key_here" } } }

可用脚本

  • bun run clean - 清理构建目录
  • bun run build构建项目
  • bun run start运行构建的服务器
  • bun run dev - 以开发模式运行并自动重新加载
  • bun test - 运行测试
  • bun test --watch - 以监视模式运行测试
  • bun test --coverage - 运行覆盖测试

API 函数

服务器公开以下 MCP 功能:

列表

列出按指定条件排序的 DAO。

参数:

  • limit (可选):返回的 DAO 的最大数量(默认值:20,最大值:50)
  • afterCursor (可选):分页光标
  • sortBy (可选):如何对 DAO 进行排序(默认值:popular)
    • 选项:“id”、“name”、“explore”、“popular”

执照

麻省理工学院

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

允许 AI 代理与 Tally API 交互以使用模型上下文协议 (MCP) 访问 DAO 治理数据、提案和元数据的服务器,该协议由 TypeScript 和 GraphQL 构建。

  1. 特征
    1. 安装
      1. 配置
        1. 用法
          1. 运行服务器
          2. Claude桌面配置
        2. 可用脚本
          1. API 函数
            1. 列表
          2. 执照

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to access Flow blockchain data and perform operations such as checking balances, resolving domains, executing scripts, and submitting transactions.
              Last updated -
              JavaScript
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A production-ready Model Context Protocol server implementation that connects AI assistants to the TON blockchain, allowing them to query wallet balances, transaction details, smart contracts, and other blockchain data.
              Last updated -
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server enabling AI assistants to interact with Kong Konnect's API Gateway, providing tools to query analytics data, inspect configurations, and manage control planes through natural language.
              Last updated -
              10
              22
              TypeScript
              Apache 2.0
              • Apple
            • -
              security
              -
              license
              -
              quality
              A Model Context Protocol server that enables AI agents to dynamically interact with Hasura GraphQL endpoints through natural language, supporting schema discovery, data querying/manipulation, and aggregations.
              Last updated -
              1
              TypeScript

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/crazyrabbitLTC/mpc-tally-api-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server