COC_MCP_Server

COC_MCP_Server

0

COC MCP Server is a tool designed for running COC role-playing groups with an MCP-based server providing dice tools. It is implemented using FastMCP and includes a simple client for testing.

COC MCP Server

This is an MCP (Model Context Protocol)-based server implementation for COC role-playing group activities. It provides a set of dice tools useful for COC gameplay.

Features

  • MCP server implemented with FastMCP
  • Offers various dice tools (d4, d6, d8, d10, d100)
  • Uses stdio for transmission
  • Includes a simple MCP client for testing

Requirements

  • Python 3.8+
  • Virtual environment (venv)

Installation

  1. Create and activate a virtual environment.
  2. Install dependencies from requirements.txt.

Usage

  1. Download the code
  2. Create a virtual environment (recommended)
  3. Install dependencies
  4. Configure server_config.example.json for your MCP client (e.g., Cursor)