MPC Tally API Server
MPC Tally API 服务器
用于与 Tally API 交互的模型上下文协议 (MCP) 服务器。该服务器允许 AI 代理获取有关 DAO 的信息,包括其治理数据、提案和元数据。
特征
按受欢迎程度或探索状态排序列出 DAO
获取包括社交链接和治理信息在内的综合 DAO 元数据
用于处理大量结果集的分页支持
使用 TypeScript 和 GraphQL 构建
使用 Bun 的测试运行器进行全面测试覆盖
Related MCP server: mcp-graphql
安装
# 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配置
在根目录中创建一个
.env文件:
TALLY_API_KEY=your_api_key_here从Tally获取您的 API 密钥
⚠️安全注意事项:确保您的 API 密钥安全:
永远不要提交你的
.env文件不要在日志或错误消息中暴露你的 API 密钥
如果 API 密钥被泄露,请进行轮换
使用环境变量进行配置
用法
运行服务器
# Start the server
bun run start
# Development mode with auto-reload
bun run devClaude桌面配置
将以下内容添加到您的 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”
执照
麻省理工学院
This server cannot be deployed
Maintenance
Related MCP Connectors
The Grafbase MCP server sits in front of a GraphQL API and exposes an MCP protocol-compliant interface that allows AI agents and LLMs to explore and query GraphQL APIs using natural language. It provides tools to search schemas, introspect types and fields, and execute GraphQL queries while minimizing context bloat by returning only relevant schema subsets, with built-in support for authentication, authorization, and configurable access control.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseCqualityDmaintenanceA TypeScript server that provides Claude AI with seamless access to any GraphQL API through the Model Context Protocol.66 npm12MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.676 npm3MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.8 npmMIT
- AlicenseNot gradedqualityDmaintenanceA production-grade TypeScript MCP server that provides AI agents with structured access to real-world data across financial markets, Web3/DeFi, developer tools, and healthcare domains. It features built-in authentication, domain isolation, caching, and rate limiting for reliable API integrations.7 npmMIT