
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.
Converts Figma frames into front-end code for various mobile frameworks.
Take an adjectivised noun, and create images making it progressively more adjective!
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
Fair-Code-Workflow-Automatisierungsplattform mit nativen KI-Funktionen. Kombinieren Sie visuelles Gebäude mit benutzerdefiniertem Code, SelbstHost oder Cloud, 400+ Integrationen.
Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
MCP -Server für den Fetch -Webseiteninhalt mit dem Headless -Browser von Dramatikern.
Brücke zwischen Ollama und MCP -Servern und ermöglicht es lokalen LLMs, Modellkontextprotokoll -Tools zu verwenden
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.