
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.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
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.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Une liste organisée des serveurs de protocole de contexte de modèle (MCP)
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.