Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TGC_API_BASE | No | API base URL (defaults to https://www.thegamecrafter.com/api) | https://www.thegamecrafter.com/api |
| TGC_PASSWORD | Yes | Your TGC account password | |
| TGC_USERNAME | Yes | Your TGC account username | |
| TGC_API_KEY_ID | Yes | Your TGC API key ID | |
| TGC_UPLOAD_BASE_DIR | No | Restrict file uploads to this directory (defaults to working directory) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_game_catalog | Browse TGC printable component types (cards, boards, boxes, etc.). No authentication required. |
| authenticate | Create a TGC session using stored credentials. Must be called before any tool that requires authentication. |
| logout | Destroy the current TGC session. |
| get_my_designers | List designer profiles for the authenticated user. Returns designer ID, name, and user ID. Use the designer_id with get_my_games or create_game. Requires authentication. |
| get_my_games | List all games for a designer with name, ID, and status. Returns paginated results. Requires a designer_id from get_my_designers. Requires authentication. |
| get_game_details | Get full game info including name, description, component list with quantities, file references, and pricing. Use this to review a game before making changes. Requires authentication. |
| create_game | Create a new game project under a designer. Requires authentication. |
| add_component_to_game | Add a printable component (card deck, board, box, etc.) or stock part to a game. Use a catalog identity (e.g., 'BridgeDeck') for printable components, or a stock part UUID. Requires authentication. |
| upload_file | Upload an image file to a TGC folder for use in a game component. This is a heavyweight operation — avoid calling repeatedly in quick succession. Requires authentication. |
| get_component_sizes | Get pixel dimensions (width, height, bleed, safe zone) and finished inches for TGC component types. Use this to determine correct image sizes before uploading artwork. No authentication required. |
| get_pricing_estimate | Get per-component cost breakdown and total price for a game at various order quantities. The game must have components added first via add_component_to_game. Requires authentication. |
| update_game | Update a game's name, description, or visibility. Requires authentication. |
| get_component_details | Get detailed information about a component type by catalog identity (e.g., 'BridgeDeck') or a game part by UUID. |
| delete_game | Permanently delete a game project. This action cannot be undone. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| new_game_setup | Guided workflow for creating a complete TGC game project with components and artwork. |
| estimate_game_cost | Get a cost estimate for a TGC game by reviewing its components and pricing. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| catalog | Full catalog of TGC printable component types (cards, boards, boxes, etc.). |
| component_sizes | Reference sheet of all TGC component pixel dimensions (width, height, bleed, safe zone). |