MCP-TRPG-Game
An advanced TRPG (Tabletop Role-Playing Game) server designed for automated, AI-driven adventures. This project leverages Large Language Models (LLMs) as the Keeper (KP), allowing the AI to lead, narrate, and manage the game, making every session dynamic and immersive.
Install / Use
claude mcp add tse-wei-chen -- npx -y github:tse-wei-chen/MCP-TRPG-GameIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Our assessment of MCP-TRPG-Game
MCP-TRPG-Game scores 73/100 on our quality scale, 754th of 1,008 Automation skills we index.
Its MCP Server is 6.2 KB long, well organised into 13 sections with 1 code example: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-09-16 found the source still online.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 86/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-25. Automated pattern scan on 2026-09-25. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
MCP-TRPG-Game compared with similar skills
All 4 of these similar skills score higher than MCP-TRPG-Game; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| MCP-TRPG-Game (this skill)by tse-wei-chen | 73 | 3 | 8mo ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 85.3k | 9d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 73.7k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 73.2k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.1k | today | CLAUDE.md |
Frequently asked questions
- How do I install MCP-TRPG-Game?
- Run
claude mcp add tse-wei-chen -- npx -y github:tse-wei-chen/MCP-TRPG-Game. The install tabs above show the steps for each supported agent. - Which AI agents does MCP-TRPG-Game work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is MCP-TRPG-Game safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is Apache-2.0-licensed and scores 86/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is MCP-TRPG-Game still maintained?
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubMCP-TRPG-Game Server
An advanced MCP (Model Context Protocol) powered TRPG (Tabletop Role-Playing Game) server designed for automated, AI-driven adventures. This project leverages the revolutionary MCP technology to seamlessly connect Large Language Models (LLMs) with game mechanics, creating an intelligent AI Keeper (KP) that can dynamically lead, narrate, and manage immersive gaming sessions.
🛣️ Roadmap / Future Goals
- [ ] TRPG MCP Client — UI for dice, character, multiplayer, and more
- [ ] Import Your Own Scenarios — Custom scenario CSV import & editor
- [ ] Multi-Player Support — Multiple players, sessions, real-time
🎮 Demo Video
https://github.com/user-attachments/assets/237294ee-6db8-4e5e-8d49-f028fc6b50d7
Key Features
- MCP-powered AI Keeper: Automated, intelligent game master
- Rich MCP toolset: Character, scenario, skill, dice, and event management
- Fast character creation and editing
- Flexible scenario and scene system
- Keeper assistant: NPC dialogue, scene description, random events
- Skill, attribute, sanity checks with dice rolling
- Persistent game records (SQLite)
- CSV seed data for easy import
- Modular service architecture
- Instant game start: Just type "I want to start playing TRPG"
- Language: Traditional Chinese (zh-TW), i18n planned
Getting Started
Prerequisites
-
Install .NET 10.0 SDK
- Download and install .NET 10.0 SDK
-
MCP-Compatible AI Client (Optional for enhanced AI integration)
- Cursor, Claude Desktop, VS Code with MCP extensions, or other MCP-enabled clients
- This enables seamless AI interaction with the TRPG server through MCP protocol
Setup & Launch
-
Build the Project
if you are version 1, please delete ./trpg.db file firstand
dotnet build -
Run the MCP-Enabled TRPG Server
<details open> <summary><b>Cursor</b></summary>Go to:
Settings->Cursor Settings->Tools & MCPYou should see trpg-mcp in the list and enable it. If you don’t see it, clickNew MCP Serverand copy and paste the JSON below.{ "mcpServers": { "trpg-mcp": { "type": "stdio", "command": "dotnet", "args": [ "run" , "--project", "src/ToolBox/ToolBox.csproj", "--stdio" ] } } }if you want to use http mode
dotnet run --project src/ToolBox/ToolBox.csproj
</details> <details open> <summary><b>VS Code</b></summary>{ "mcpServers": { "trpg-mcp": { "type": "http", "url": "http://localhost:5000/mcp" } } }Press
F1and enterMCP: List Servers.
You should see trpg-mcp in the list—click to start the server.
If you don’t see it, pressF1and enterMCP: Open User Configuration, then copy and paste the JSON below.{ "servers": { "trpg-mcp": { "type": "stdio", "command": "dotnet", "args": [ "run" , "--project", "src/ToolBox/ToolBox.csproj", "--stdio" ] } } }if you want to use http mode
dotnet run --project src/ToolBox/ToolBox.csproj
</details>{ "servers": { "trpg-mcp": { "type": "http", "url": "http://localhost:5000/mcp" } } } -
Default Database
- Uses SQLite (
trpg.db) by default. The database is auto-created on first run.
- Uses SQLite (
-
API Testing
- Use
MCPTRPGGame.httpfor sample API requests and testing.
- Use
-
Quick Game Start with MCP
- Players can directly send the command "I want to start playing TRPG" via MCP-enabled clients
- The AI Keeper instantly accesses game tools through MCP to launch dynamic sessions
🔧 Available MCP Tools
The server provides 30+ specialized MCP tools for comprehensive TRPG management:
Core Game Tools
- [x]
StartTrpgAdventure— Instantly initialize a new TRPG session with step-by-step AI guidance - [x]
GetAllScenariosAsync— List all available scenarios for selection - [x]
GetScenarioByIdAsync— Get detailed info for a specific scenario - [x]
GetAllCharactersAsync— List all player characters - [x]
GetCharacterByIdAsync— Get a player character's current status - [ ]
CreateCharacterAsync— Create a new player character (CoC7 rules supported) - [x]
CreateCharacterFromTemplateIdAsync— - [x]
UpdateCharacterAsync— Update a player character's information - [x]
UpdateCharacterAttributeAsync— Update a specific attribute of a player character - [x]
DeleteCharacterAsync— Delete a player character by ID - [x]
GetAvailableCharacterTemplates— List available character templates for creation
Dice & Check Tools
- [x]
SkillCheckAsync— Perform a skill check for a character - [x]
AttributeCheckAsync— Perform an attribute check for a character - [x]
SanityCheck— Perform a sanity check for a character - [x]
SavingThrowAsync— Perform a saving throw for a character - [x]
CalculateDamageAsync— Calculate damage for an attack - [x]
RollDiceAsync— Roll dice using standard notation (e.g., 1d100)
AI Keeper Assistant Tools
- [x]
GenerateSceneDescriptionAsync— Generate a vivid scene description (NPCs, items, actions) - [x]
GenerateNpcDialogueAsync— Generate dynamic NPC dialogue suggestions - [x]
SuggestChecksAndDifficultiesAsync— Suggest checks and difficulty levels for the current scene - [x]
GenerateRandomEventAsync— Generate a random event for the scene or scenario - [x]
GetGameProgressSuggestionsAsync— Suggest next steps based on game progress
All tools are designed for seamless AI integration through the MCP protocol and are accessible to both AI and human Keepers.
Directory Structure
src
├── Common (shared models and utilities)
│ └── seed (initial CSV data)
├── Modules
│ └── Game.Service (module for game logic)
└── ToolBox (tools for seeding and managing data)
Contact
For questions or suggestions, please contact the project maintainer.
Related Skills
Agent-Reach
85.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
73.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.2k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
CowAgent
47.1kOpen-source super AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
