TDC MCP Server

TDC MCP Server

An MCP

Category
Visit Server

README

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 Search tokens by name, slot, rarity, or class
advanced_search_tokens Build arbitrary AND/OR filter trees across 29 fields (abilities, stats, damage, etc.)
get_token Get full detail for a single token (effects, slots, damage wheel, etc.)
list_set_bonuses List all set bonuses with tier effects
get_set_bonus Get a single set bonus by id
list_group_bonuses List all group bonuses with tier effects
get_group_bonus Get a single group bonus by id
list_rulebook_pages List all rulebook pages (title + path)
get_rulebook_page Get the full text content of a rulebook page
get_api_version 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
TDC_API_BASE_URL https://api.tdcompanion.app API base URL (must point at the API host, not the web app)
TDC_API_KEY (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 stdio

Publishing

npm run build
npm publish

The 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, and get_api_version tools.
  • Stricter input validation: pagination is clamped (skip >= 0, take 1–200), and slot / rarity / class reject unknown values up front.
  • advanced_search_tokens validates the filter JSON 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 (&#x…;, &#…;) and preserves list structure.
  • List-style tools truncate output over ~20k chars with a clear "…N more truncated" footer.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured