Skip to main content
Glama
crazyrabbitLTC

MPC Tally API Server

MPC Tally API 服务器

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

特征

  • 按受欢迎程度或探索状态排序列出 DAO

  • 获取包括社交链接和治理信息在内的综合 DAO 元数据

  • 用于处理大量结果集的分页支持

  • 使用 TypeScript 和 GraphQL 构建

  • 使用 Bun 的测试运行器进行全面测试覆盖

Related MCP server: Apollo.io MCP Server

安装

# 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”

执照

麻省理工学院

Install Server
A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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