Cover image
Try Now
2025-04-06

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

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)

安装说明

  1. 创建并激活虚拟环境:
python -m venv venv
source venv/bin/activate  # Linux/Mac
# 或
.\venv\Scripts\activate   # Windows
  1. 安装依赖:
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

相关推荐

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • 田中 楓太
  • A virtual science instructor for engaging and informative lessons.

  • 1Panel-dev
  • 💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • gergelyszerovay
  • A preconfigured development container setup for AI-assisted development with Claude, based on VS Code Dev Containers with integrated Model Context Protocol (MCP) server for file system and shell operations.

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

  • adafruit
  • Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.

    Reviews

    2 (1)
    Avatar
    user_aTTa2gDm
    2025-04-18

    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.