remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Used as the underlying technology for building the API server that interacts with the Tally API
Used as the programming language for building the MCP server that interacts with the Tally API
MPC Tally API 服务器
用于与 Tally API 交互的模型上下文协议 (MCP) 服务器。该服务器允许 AI 代理获取有关 DAO 的信息,包括其治理数据、提案和元数据。
特征
- 按受欢迎程度或探索状态排序列出 DAO
- 获取包括社交链接和治理信息在内的综合 DAO 元数据
- 用于处理大量结果集的分页支持
- 使用 TypeScript 和 GraphQL 构建
- 使用 Bun 的测试运行器进行全面测试覆盖
安装
Copy
配置
- 在根目录中创建一个
.env
文件:
Copy
- 从Tally获取您的 API 密钥
⚠️安全注意事项:确保您的 API 密钥安全:
- 永远不要提交你的
.env
文件 - 不要在日志或错误消息中暴露你的 API 密钥
- 如果 API 密钥被泄露,请进行轮换
- 使用环境变量进行配置
用法
运行服务器
Copy
Claude桌面配置
将以下内容添加到您的 Claude Desktop 配置中:
Copy
可用脚本
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.
Tools
允许 AI 代理与 Tally API 交互以使用模型上下文协议 (MCP) 访问 DAO 治理数据、提案和元数据的服务器,该协议由 TypeScript 和 GraphQL 构建。