TDC MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TDC MCP Serversearch for tokens with fire damage and healing abilities"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TDC MCP Server
An MCP server that exposes True Dungeon Companion game data — tokens, set/group bonuses, and rulebook pages — as tools for Claude and other MCP clients.
Tools
Tool | Description |
| Search tokens by name, slot, rarity, or class |
| Build arbitrary AND/OR filter trees across 29 fields (abilities, stats, damage, etc.) |
| Get full detail for a single token (effects, slots, damage wheel, etc.) |
| List all set bonuses with tier effects |
| Get a single set bonus by id |
| List all group bonuses with tier effects |
| Get a single group bonus by id |
| List all rulebook pages (title + path) |
| Get the full text content of a rulebook page |
| Get the running TDC API build version and start time |
Quick start (npx)
No install or build needed. Add to your .claude/settings.json:
{
"mcpServers": {
"tdc": {
"command": "npx",
"args": ["@tdcompanion/mcp-server"],
"env": {
"TDC_API_KEY": "tdc_live_<your-key>"
}
}
}
}Environment variables
Variable | Default | Description |
|
| API base URL (must point at the API host, not the web app) |
| (none) | Optional bearer key for higher rate limits (600 req/min vs 60) |
The server works without an API key (anonymous access), but authenticated keys get 10x the rate limit. Generate one from your profile's Developer tab at https://tdcompanion.app/profile.
Development
cd src/MCP/@tdcompanion/mcp-server
npm install
npm run build # compile TypeScript → dist/
npm start # run locally via stdioPublishing
npm run build
npm publishThe prepublishOnly script runs the build automatically. The files field in package.json ensures only dist/ is included in the published package.
Changelog
1.1.0
Added
get_set_bonus,get_group_bonus, andget_api_versiontools.Stricter input validation: pagination is clamped (
skip >= 0,take1–200), andslot/rarity/classreject unknown values up front.advanced_search_tokensvalidates thefilterJSON is a FilterExpression object before sending.All tools return a clean
{ isError: true }result on failure instead of throwing.Rulebook HTML stripping now handles numeric entities (
…;,…;) and preserves list structure.List-style tools truncate output over ~20k chars with a clear "…N more truncated" footer.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TrueDungeonCompanion/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server