I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

MPC-API-Server
一个模型上下文协议(MCP)服务器,使AI代理可以与Tally API进行交互,从而访问DAO治理数据,建议和元数据。它使用TypeScript和GraphQL构建,提供了一种安全有效的方法,可以通过标准化的MCP功能获取和分类DAO信息。
1
Github Watches
5
Github Forks
4
Github Stars
MPC Tally API Server
A Model Context Protocol (MCP) server for interacting with the Tally API. This server allows AI agents to fetch information about DAOs, including their governance data, proposals, and metadata.
Features
- List DAOs sorted by popularity or exploration status
- Fetch comprehensive DAO metadata including social links and governance information
- Pagination support for handling large result sets
- Built with TypeScript and GraphQL
- Full test coverage with Bun's test runner
Installation
# 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
Configuration
- Create a
.env
file in the root directory:
TALLY_API_KEY=your_api_key_here
- Get your API key from Tally
⚠️ Security Note: Keep your API key secure:
- Never commit your
.env
file - Don't expose your API key in logs or error messages
- Rotate your API key if it's ever exposed
- Use environment variables for configuration
Usage
Running the Server
# Start the server
bun run start
# Development mode with auto-reload
bun run dev
Claude Desktop Configuration
Add the following to your Claude Desktop configuration:
{
"tally": {
"command": "node",
"args": [
"/path/to/mpc-tally-api-server/build/index.js"
],
"env": {
"TALLY_API_KEY": "your_api_key_here"
}
}
}
Available Scripts
-
bun run clean
- Clean the build directory -
bun run build
- Build the project -
bun run start
- Run the built server -
bun run dev
- Run in development mode with auto-reload -
bun test
- Run tests -
bun test --watch
- Run tests in watch mode -
bun test --coverage
- Run tests with coverage
API Functions
The server exposes the following MCP functions:
list_daos
Lists DAOs sorted by specified criteria.
Parameters:
-
limit
(optional): Maximum number of DAOs to return (default: 20, max: 50) -
afterCursor
(optional): Cursor for pagination -
sortBy
(optional): How to sort the DAOs (default: popular)- Options: "id", "name", "explore", "popular"
License
MIT
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Confidential guide on numerology and astrology, based of GG33 Public information
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Reviews

user_Kht1wfTc
The mpc-tally-api-server by crazyrabbitLTC is an outstanding tool for anyone needing efficient tally processing. The GitHub repository, accessible at https://github.com/crazyrabbitLTC/mpc-tally-api-server, provides all the necessary information and documentation. It's highly intuitive and the API server performs excellently, making it a must-have for developers in need of robust tally functionalities. Highly recommended!