@alltcgapi/mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port used by the HTTP transport. | |
| ALLTCG_API_KEY | No | alltcgapi key, starting with atcg_live_. Without a key the server starts and lists its tools, but calls report what is missing (except atcg_get_coverage). | |
| ALLTCG_BASE_URL | No | Base URL of the alltcgapi API. | https://api.alltcgapi.com |
| ALLTCG_OAUTH_ISSUER | No | OAuth issuer setting for the HTTP transport. | |
| ALLTCG_MCP_PUBLIC_URL | No | Public URL of the HTTP MCP server, e.g. http://localhost:8080/mcp. | |
| ALLTCG_MCP_PROXY_SECRET | No | Proxy secret setting for the HTTP transport. | |
| ALLTCG_MCP_ALLOWED_HOSTS | No | Allowed hosts setting for the HTTP transport. | |
| ALLTCG_MCP_ACCEPT_API_KEYS | No | Accept API keys in place of OAuth tokens on the HTTP transport; for local testing only. | |
| ALLTCG_MCP_INTROSPECTION_URL | No | OAuth token introspection endpoint URL for the HTTP transport. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| atcg_search_cardsA | Search trading cards by name or collector number, in one game or across every game the API serves. Returns one row per card with its id, game, set, number and rarity; pass the id to atcg_get_card or atcg_get_prices. name matches the START of the card name, ignoring case: "charizard" finds "Charizard ex" but not "Dark Charizard", and spelling, accents and punctuation must match the printed name. If nothing comes back, retry with a shorter prefix (the first word) before concluding the card is missing. Rows come back in id order, not by release date or relevance: narrow with game, set or number rather than paging through a common name. 1 credit per call (up to 50 rows). If a call is refused with TRIAL_EXPIRED or QUOTA_EXCEEDED, tell the user as written and do not retry; RATE_LIMITED says how many seconds to wait. |
| atcg_get_cardA | One card by id: game, set, number, rarity, names in every language the catalogue holds, the game attributes it carries, the image URL and its Cardmarket and TCGplayer product ids. With include_prices it also returns every current quote in the same call. 1 credit, plus 2 with include_prices. attributes are whatever the game publishes, unevenly filled: a missing attribute means we do not hold it, never that the card lacks it. If a call is refused with TRIAL_EXPIRED or QUOTA_EXCEEDED, tell the user as written and do not retry; RATE_LIMITED says how many seconds to wait. |
| atcg_list_setsA | Sets newest first, with code, name, game, print line, release date, card count and id. One call answers "every One Piece set released in 2025" or "which Lorcana set is called Azurite Sea". The print line is WEST (international) or EAST (Asian prints: Japanese, Chinese, Korean); an Asian set is its own row, not a translation of a Western one. name keeps sets whose name or code contains the text. 1 credit per page: a name or date filter reads pages of 250 and keeps the matching sets, up to 8 pages. If a call is refused with TRIAL_EXPIRED or QUOTA_EXCEEDED, tell the user as written and do not retry; RATE_LIMITED says how many seconds to wait. |
| atcg_list_set_cardsA | The cards of one set in collector-number order, by set id or code from atcg_list_sets. A set code can exist in more than one game: pass the set id to be exact, and check the game on the first line of the result. name (start of the card name) and number narrow the list. 1 credit per call (up to 50 rows). If a call is refused with TRIAL_EXPIRED or QUOTA_EXCEEDED, tell the user as written and do not retry; RATE_LIMITED says how many seconds to wait. |
| atcg_search_sealedA | Sealed products (booster boxes, booster packs, starter decks, tins, collections) of a game or a set, with kind, set, release date, pack count and the languages each product exists in. kind is the product kind as the catalogue writes it, e.g. BOOSTER_BOX, BOOSTER_PACK, ETB: read the values off a search rather than guessing, an unknown kind returns no rows. name keeps products whose name contains the text. 1 credit per 50 rows; a name or language filter reads pages of 100 (2 credits each) and keeps the matches, up to 8 pages. Quotes are a separate call: atcg_get_prices with type "sealed" and the id returned here. If a call is refused with TRIAL_EXPIRED or QUOTA_EXCEEDED, tell the user as written and do not retry; RATE_LIMITED says how many seconds to wait. |
| atcg_get_pricesA | Every current quote for one card or one sealed product, by the id a search returned: source, variant, language of the copy, condition, printing, region, amount with its currency, and the as_of date. The result opens with one line per currency saying how many quotes and how recent. Cardmarket quotes are in EUR and TCGplayer quotes in USD. Nothing is converted: never add, average or compare a EUR figure with a USD figure as if they were one number. Report each market separately, with its currency. Every quote carries as_of, the day (UTC) the source last quoted it. Quotes are current, not live: the API serves each source about a day behind, some quotes are older, and the result says how old the newest one is. Never quote a price without its source and its as_of date. variant says what the number measures: LOWEST_NEAR_MINT is the lowest asking price for a near mint copy, LOWEST the lowest asking price in any condition (sealed products), TREND the trend price published by the source, AVG_7D and AVG_30D the average sale price over 7 or 30 days, MARKET the TCGplayer market price based on recent sales. An asking price is an offer, not a sale: say which one you quote. One item usually has several quotes: per source, per variant, per language of the copy, and on TCGplayer per printing (NORMAL, HOLOFOIL, …). Read language, condition and printing on the row you quote rather than taking the first number, and say which row it is. An empty list means no source quotes the item today, not that it does not exist. Only the latest quote of each series: this tool has no price history, and the API has no graded prices. 2 credits per call. If a call is refused with TRIAL_EXPIRED or QUOTA_EXCEEDED, tell the user as written and do not retry; RATE_LIMITED says how many seconds to wait. |
| atcg_get_coverageA | What the API covers, measured live: each game with its id and its set, card and sealed counts, how many cards and sealed products have a current quote from each source and how recent the newest is, when the catalogue was last refreshed, and what the API does not hold at all. Call this before telling a user what the API can or cannot answer, or which games have prices. 1 credit for the game counts; price coverage and refresh times are public and answer even without a key. If a call is refused with TRIAL_EXPIRED or QUOTA_EXCEEDED, tell the user as written and do not retry; RATE_LIMITED says how many seconds to wait. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool has a clear resource+action target (search vs. get card vs. prices vs. sets vs. sealed vs. coverage). Minor overlap: atcg_list_set_cards also accepts a name prefix like atcg_search_cards, and atcg_get_card's include_prices duplicates atcg_get_prices, but the descriptions explicitly steer agents between them.
Every tool follows the same atcg_verb_noun pattern (get_prices, search_cards, get_card, list_sets, list_set_cards, search_sealed, get_coverage) with verbs chosen consistently by action type. No camelCase/snake_case mixing or synonym drift.
Seven tools map cleanly onto the domain's distinct operations: card search/lookup, set browsing, sealed browsing, pricing, and capability discovery. Nothing appears redundant or ornamental for a read-only catalogue API.
The catalogue+quote lifecycle is well covered for a read-only API (search, detail, sets, sealed, prices, coverage). Gaps: atcg_get_prices handles only one id per call so bulk portfolio pricing requires many calls, and there is no get-sealed-product-by-id detail tool (only search + a priced lookup). Price history and graded prices are deliberately absent and documented.