npm @alex-gon/tgc-mcp-serverstdioMITupdated 5mo ago
An MCP server that connects AI assistants to The Game Crafter API, letting you design, manage, and price tabletop games through natural conversation.
The Game Crafter 能做什么?
The Game Crafter MCP Server
An MCP server that connects AI assistants to The Game Crafter API, letting you design, manage, and price tabletop games through natural conversation.
Browse the component catalog, create game projects, add card decks and boards, upload artwork, and get instant pricing estimates — all through your AI assistant.
Who it's for
Indie board game designers, tabletop creators, and TGC users who want to manage their projects through an AI assistant instead of navigating the TGC web interface manually.
Prerequisites
- Node.js 18 or later
- A TGC account — sign up here
- A TGC API key — generate one here
Installation
Option 1: Remote (hosted on Apify) — no install needed
Connect to the hosted server at:
https://chillbot3000--tgc-mcp-server.apify.actor/mcp
No local setup required. Provide your TGC credentials when you call the authenticate tool. Usage is billed per operation via Apify's pay-per-event model (~$0.09 per typical session).
Also available on Glama Connectors.
Option 2: Local (via npx)
Add the server to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"thegamecrafter": {
"command": "npx",
"args": ["-y", "@alex-gon/tgc-mcp-server"],
"env": {
"TGC_API_KEY_ID": "your-api-key-id",
"TGC_USERNAME": "your-tgc-username",
"TGC_PASSWORD": "your-tgc-password"
}
}
}
}
Restart Claude Desktop. The server will be downloaded automatically and appear in your MCP connections.
git clone https://github.com/alex-gon/thegamecrafter-mcp-server.git
cd thegamecrafter-mcp-server
npm install && npm run build
Then use "command": "node" and "args": ["/absolute/path/to/dist/index.js"] in the config above.
Configuration
| Variable | Required | Description |
|---|---|---|
TGC_API_KEY_ID |
Yes | Your TGC API key ID |
TGC_USERNAME |
Yes | Your TGC account username |
TGC_PASSWORD |
Yes | Your TGC account password |
TGC_API_BASE |
No | API base URL (defaults to https://www.thegamecrafter.com/api) |
TGC_UPLOAD_BASE_DIR |
No | Restrict file uploads to this directory (defaults to working directory) |
See .env.example for a template.
Available tools
Tools
| Tool | Description | Auth |
|---|---|---|
authenticate |
Create a TGC session (accepts credentials as params or uses env vars) | No |
logout |
Destroy the current TGC session | Yes |
get_game_catalog |
Browse printable component types (cards, boards, boxes) | No |
get_component_sizes |
Get pixel dimensions and finished inches for component types | No |
get_component_details |
Get detailed info for a component type or game part | No |
get_my_designers |
List designer profiles for the authenticated user | Yes |
get_my_games |
List all games for a designer (paginated) | Yes |
get_game_details |
Get full game info with components, files, and pricing | Yes |
create_game |
Create a new game project under a designer | Yes |
update_game |
Update a game's name, description, or visibility | Yes |
delete_game |
Permanently delete a game project | Yes |
add_component_to_game |
Add a printable component or stock part to a game | Yes |
upload_file |
Upload an image to a TGC folder (from disk or URL) | Yes |
get_pricing_estimate |
Get per-component cost breakdown for a game | Yes |
Resources
| URI | Description |
|---|---|
tgc://catalog |
Full catalog of printable component types (cached 30 min) |
tgc://game/{id}/summary |
Complete summary of a game project |
tgc://component-sizes |
Pixel dimensions for all component types (cached 30 min) |
Prompts
| Prompt | Description |
|---|---|
new_game_setup |
Guided workflow for creating a complete game project with components |
estimate_game_cost |
Step-by-step cost estimation for an existing game |
Example prompts
Try saying these to your AI assistant:
- "Show me all my games on The Game Crafter with their component lists"
- "Create a new card game called Stellar Drift with a standard poker deck and tuck box"
- "What pixel dimensions do I need for a poker card face image?"
- "Upload this image and assign it as the front face of my card deck"
- "Estimate the cost of my game based on its current components"
- "Help me set up a new game project from scratch — walk me through it"
- "What component types are available for board games?"
- "Delete my test game project"
Limitations
- Rate limits — The server enforces 3 requests/second to TGC (below their 4/sec limit) with per-session budgets of 500 reads and 200 writes.
- Authentication — Credentials can be passed as
authenticatetool parameters (required for remote usage) or via environment variables (for local stdio). OAuth 2.1 support is planned for a future release. - File uploads — Maximum 50 MB per file. Images must be between 50x50 and 10,000x10,000 pixels. Supported formats: PNG, JPG, GIF, BMP, TIFF, SVG, WebP, PDF.
- Transport — Stdio for local usage. Remote HTTP available via the hosted Apify endpoint.
- Read-only catalog — The component catalog and pricing come from TGC and cannot be modified.
Contributing
Bug reports and pull requests are welcome. Please open an issue first to discuss what you'd like to change.
To run the development server:
cp .env.example .env # fill in your credentials
npm run dev # starts with tsx + hot reload
npm test # run the test suite
License
安装
把 The Game Crafter 添加到你的客户端。选择你正在使用的那个。
claude mcp add tgc-mcp-server -- npx -y @alex-gon/tgc-mcp-servercodex mcp add tgc-mcp-server -- npx -y @alex-gon/tgc-mcp-serveramp mcp add tgc-mcp-server -- npx -y @alex-gon/tgc-mcp-server{
"mcpServers": {
"tgc-mcp-server": {
"command": "npx",
"args": [
"-y",
"@alex-gon/tgc-mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"tgc-mcp-server": {
"command": "npx",
"args": [
"-y",
"@alex-gon/tgc-mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"tgc-mcp-server","command":"npx","args":["-y","@alex-gon/tgc-mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"tgc-mcp-server": {
"command": "npx",
"args": [
"-y",
"@alex-gon/tgc-mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"tgc-mcp-server": {
"command": "npx",
"args": [
"-y",
"@alex-gon/tgc-mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"tgc-mcp-server": {
"command": "npx",
"args": [
"-y",
"@alex-gon/tgc-mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"tgc-mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@alex-gon/tgc-mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"tgc-mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@alex-gon/tgc-mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @alex-gon/tgc-mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
评分
66 / 100
良好
- 文档25/25
- 维护13/25
- 可信度13/20
- 能力3/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 152 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 0.1.1最新 | 2026年3月17日 |