
COC MCP Server
这是一个基于MCP(Model Context Protocol)的COC跑团工具服务器实现。该服务器提供了一组骰子工具,可用于COC跑团。
功能特性
- 基于FastMCP实现的MCP服务器
- 提供多种骰子工具(d4, d6, d8, d10, d100)
- 使用stdio传输模式
- 包含简单的MCP客户端用于测试
目录结构
.
├── README.md
├── requirements.txt
├── servers_config.json
├── src/
│ ├── server/ # MCP服务器实现
│ ├── tools/ # 骰子工具实现
│ └── client/ # 测试客户端
└── tests/ # 测试文件
环境要求
- Python 3.8+
- 虚拟环境(venv)
安装说明
- 创建并激活虚拟环境:
python -m venv venv
source venv/bin/activate # Linux/Mac
# 或
.\venv\Scripts\activate # Windows
- 安装依赖:
pip install -r requirements.txt
使用方法
1,下载代码 2,创建虚拟环境(推荐) 3,安装依赖 4,将server_config.example.json中的内容配置到你的MCP客户端中(如Cursor) 注意: command指向你的虚拟环境的python绝对路径; args指向src/server/main.py的绝对路径。
开发说明
- 业务逻辑与MCP服务器代码分离
- 使用FastMCP框架实现服务器功能
- 遵循MCP协议规范
本项目使用Cursor+Claude 3.7 sonnet编写
许可证
MIT
相关推荐
I find academic articles and books for research and literature reviews.
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.
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Reviews

user_aTTa2gDm
I've been using COC_MCP_Server by longbowzz and it is absolutely fantastic! It integrates seamlessly with my needs, offering reliable performance and facile customization. Highly recommend checking it out on GitHub if you need a robust server solution.