COC MCP Server
longbowzz
README
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
Recommended Servers
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.
Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Excel Reader Server
A Model Context Protocol (MCP) server that provides tools for reading Excel (xlsx) files, enabling extraction of data from entire workbooks or specific sheets with results returned in structured JSON format.
MATLAB MCP Server
Integrates MATLAB with AI to execute code, generate scripts from natural language, and access MATLAB documentation seamlessly.
Macrostrat MCP Server
Enables Claude to query comprehensive geologic data from the Macrostrat API, including geologic units, columns, minerals, and timescales through natural language.