COC MCP Server logo

COC MCP Server

by longbowzz

This is a COC role-playing tool server implementation based on MCP (Model Context Protocol). The server provides a set of dice tools for COC role-playing.

View on GitHub

Last updated: N/A

What is COC MCP Server?

COC MCP Server is an MCP server implementation for Call of Cthulhu (COC) role-playing games, providing dice rolling functionalities through the Model Context Protocol.

How to use COC MCP Server?

  1. Download the code. 2. Create a virtual environment (recommended). 3. Install dependencies using pip install -r requirements.txt. 4. Configure your MCP client (e.g., Cursor) using the settings from server_config.example.json. Ensure the command points to your virtual environment's Python executable and args points to the absolute path of src/server/main.py.

Key features of COC MCP Server

  • FastMCP based server

  • Multiple dice tools (d4, d6, d8, d10, d100)

  • stdio transport mode

  • Simple MCP client for testing

Use cases of COC MCP Server

  • Dice rolling in COC role-playing games

  • Testing MCP client-server communication

  • Developing custom dice tools

  • Integration with MCP-compatible role-playing platforms

FAQ from COC MCP Server

What is MCP?

MCP stands for Model Context Protocol, a protocol for communication between applications.

What dice tools are available?

The server provides d4, d6, d8, d10, and d100 dice tools.

What is FastMCP?

FastMCP is a framework used to implement the MCP server functionality.

What is the purpose of the test client?

The test client is used to verify the functionality of the MCP server.

What are the environment requirements?

Python 3.8+ and a virtual environment (venv) are required.