# turnale MCP server

Run racket-sport tournaments from your AI assistant: fair draws, scores, live standings.

## Links
- Registry page: https://www.getdrio.com/mcp/app-turnale-turnale
- Repository: https://github.com/turnale-app/turnale
- Website: https://www.turnale.app

## Install
- Endpoint: https://mcp.turnale.app
- Auth: Not captured

## Setup notes
- Remote endpoint: https://mcp.turnale.app

## Tools
- ping (Ping) - Health check. Returns a static confirmation that the Turnale MCP server is reachable. Endpoint: https://mcp.turnale.app
- create_tournament (Create tournament) - Create a new tournament. Keep setup SHORT: ask the organiser only for sport, players, court count and start time — sensible defaults cover everything else. FORMAT: never ask an open 'which format?' question. If the organiser clearly named one, pass it; otherwise omit format — the call then returns a ready-to-show menu of options (nothing is created) for you to relay so the organiser can read and choose in one reply. Players can be added later with add_players. NEVER invent placeholder or fake player names ('Player 1', made-up names): if the organiser only knows the headcount, create with signup_open: true and signup_cap set to it — players add themselves by name via the page link. If the organiser gives a time budget instead of rounds (e.g. 'we have 2 hours'), derive rounds ≈ total minutes ÷ (match + break minutes) and confirm. If they ask for a format that is not listed, offer to note it with record_feedback. Returns the organiser key (tk_…): relay it with the warning that it cannot be recovered, plus the shareable page link. Endpoint: https://mcp.turnale.app
- add_players (Add players) - Add players to the roster in bulk (parse pasted lists or spreadsheets yourself and send structured entries — never invent placeholder names; use signup mode when names aren't known yet). Duplicate names are rejected for disambiguation. If an unlocked draw exists it is regenerated automatically. Endpoint: https://mcp.turnale.app
- update_player (Update players) - Rename a player or set their gender/level/note. Updates MANY in one call: pass `updates` with one object per player and never loop one-by-one — setting levels for a whole roster used to be one call per player, which on a phone meant approving each one and left the roster half-updated when some were mis-tapped. The whole batch applies or none of it does. Endpoint: https://mcp.turnale.app
- remove_player (Remove players) - Remove one or MANY players before any result is recorded (afterwards use withdraw_player or replace_player) — pass player_names to clear several in one call, never loop one-by-one. Regenerates an existing unlocked draw. Endpoint: https://mcp.turnale.app
- set_pairs (Set doubles pairs) - Fix the doubles pairs: pass explicit pairs by name, or auto-pair (random or level-balanced). Only before results exist. Regenerates an existing unlocked draw. Endpoint: https://mcp.turnale.app
- update_settings (Update settings) - Change the tournament name, start time, match duration, break/changeover minutes, courts (count or names), house rules, or courtside score entry from the page. Court changes recompute the remaining schedule; played matches never move. Endpoint: https://mcp.turnale.app
- promote_player (Promote from waitlist) - Move a waitlisted player onto the active roster when a spot opens (signed-in players are notified by email). The cap can be raised with update_settings. Endpoint: https://mcp.turnale.app
- generate_draw (Generate draw) - Generate (or regenerate) the draw and schedule. This IS the start action: the first draw moves the tournament from setup to active and closes self-signup — when the organiser says "start the tournament", call this. The result includes rounds_text — SHOW it to the organiser as-is, in whatever language they are writing to you in (it is English already, so relay it unchanged unless they are writing something else) so they can check who plays whom — and the seed that produced the draw: preview first, then confirm with that SAME seed to apply exactly the previewed draw. Free until the first result is recorded; after that this DISCARDS recorded results and requires BOTH confirm: true and discard_results: true. If the organiser asks for a format that is not supported, offer to note it with record_feedback. Optional overrides adjust the format first. Endpoint: https://mcp.turnale.app
- get_briefing (Get tournament briefing) - Compact full state of the tournament — settings, roster, progress, next matches, standings, page link. Call this first when resuming work in a new conversation with just the key. Endpoint: https://mcp.turnale.app
- list_players (List players) - Full roster with status, level, and doubles partner. Endpoint: https://mcp.turnale.app
- list_matches (List matches) - Matches with sides, scores, courts and times. Filter by state or round; paginate with after_match_number for large tournaments. Endpoint: https://mcp.turnale.app
- get_schedule (Get schedule) - Upcoming matches in playing order with courts and estimated times. Endpoint: https://mcp.turnale.app
- get_standings (Get standings) - Current standings per group/structure, tiebreak-ordered (wins → head-to-head → set diff → game diff; americano: total points). Endpoint: https://mcp.turnale.app
- get_results (Get final results) - Final placements (or placements-so-far for a tournament that ended early). Endpoint: https://mcp.turnale.app
- get_audit_log (Get change log) - Chronological record of every change (newest first) — the answer to "who changed that?". Paginate with before_id. Ids are global across all tournaments, so gaps between ids are normal. Endpoint: https://mcp.turnale.app
- get_export (Export tournament data) - Full structured export of the tournament document (players, draws, results) — for the organiser's own records or data portability. Endpoint: https://mcp.turnale.app
- get_pdf_link (Get PDF links) - Download links for the printable PDF. pdf_url is the merged tournament document (match sheet with write-in score boxes, player sheet, standings/results when they exist) — hand this to the organiser. results_pdf_url and plan_pdf_url are deprecated pre-merge variants kept for comparison. Endpoint: https://mcp.turnale.app
- get_pdf (Get PDF document) - The printable PDF itself, returned as a base64 embedded resource — use this when the organiser wants the file handed to them and your client cannot fetch URLs. Default "sheet": the merged tournament document (match sheet with write-in score boxes, player sheet, standings/results when they exist). "results" and "plan" are deprecated pre-merge variants kept for comparison. For a lighter response, get_pdf_link returns download URLs instead. Endpoint: https://mcp.turnale.app
- record_results (Record results) - Record one or many results. Score is conversational text: "6-4 3-6 10-7" (sets) or "16-8" (americano points). Outcomes: completed (default), walkover, retired (partial score allowed), cancelled, reinstate — reinstate CLEARS a recorded result and returns the match to scheduled (the fix for a mis-entered score). Corrections simply re-record. Winner (a|b = first|second listed side) only needed when the score alone does not decide. Endpoint: https://mcp.turnale.app
- replace_player (Replace player (substitution)) - A substitute takes over a player's spot. During play: slot takeover — completed results stay, the change is shown ("Anna, for Kristjan from R3"). Before the first result: choose mode slot_swap (default) or regenerate (re-pair and redraw using levels). Unknown substitute names are added to the roster automatically. Endpoint: https://mcp.turnale.app
- withdraw_player (Withdraw player) - Withdraw a player (or their pair) mid-tournament. Remaining matches become walkovers for the opponents; americano regenerates its future rounds instead. Preview first, confirm to apply. Endpoint: https://mcp.turnale.app
- swap_partners (Swap partners) - Exchange two players' places. Fixed-pair doubles: swaps partners between two pairs permanently (name one player from each pair). Americano/mexicano: pass `round` to swap two players' places in ONE unplayed round — the courtside patch for a late arrival, an injury, or two friends who want a game together. One of them may be sitting that round, which is how you put a late arrival on court. Preview first, confirm to apply: the preview names any partnership or meeting the swap would repeat. Results already played never move. Endpoint: https://mcp.turnale.app
- reschedule (Reschedule) - Shift the start time, add a delay, or move one match to a specific court/slot. Played matches never move. Endpoint: https://mcp.turnale.app
- end_tournament (End tournament) - Finish the tournament. If matches are still pending it ends early and current standings freeze as the final results. Preview first, confirm to apply. Endpoint: https://mcp.turnale.app
- undo_last_change (Undo changes) - Roll the tournament back. Without to_change_id: restore exactly how it was before the most recent change (tool call or courtside page entry). With to_change_id (an id from get_audit_log): restore to just before that change — it and every later change are discarded in one step, so a burst of unwanted calls unwinds with a single revert. Preview lists exactly what would be discarded; confirm: true applies. A follow-up plain undo restores what the previous undo discarded. Endpoint: https://mcp.turnale.app
- delete_tournament (Delete tournament) - Soft-delete the whole tournament (recoverable by support for 7 days, then gone). Preview first; confirm: true to apply. Endpoint: https://mcp.turnale.app
- record_feedback (Record product feedback) - Record a request for something Turnale does not support yet (a format, scoring variant, or feature), so it can be considered for the roadmap. Call this only when the organiser asked for something unsupported AND agreed to have it noted. Describe the missing capability in general terms — NEVER include player names, contact details, or tournament keys. Endpoint: https://mcp.turnale.app
- suggest_format (Suggest a format) - Recommend tournament formats in plain language, with the round/time math done by the engine. Call this FIRST when the organiser has not named a format, names one hesitantly, or comes from a background where americano/mexicano need explaining — then relay the `menu` text as-is instead of asking an open 'which format?' question. SINGLES OR DOUBLES IS A PREREQUISITE: omit `discipline` and this returns the question to put to the organiser rather than a menu, because it decides which formats exist at all (americano and mexicano are doubles). Never infer it from the sport. Needs no key. Endpoint: https://mcp.turnale.app
- get_player_template (Get the player-list template) - A blank Excel workbook the organiser fills in and hands back: Name, Level, Gender, Comments, one player per row, with a sheet explaining each column. Offer it when the organiser has no list ready, asks how to send their players, or would rather work in a spreadsheet than paste names into chat. Needs no key. The file comes back both as a download link and as an attachable file. Reading a filled-in sheet needs no tool: parse it yourself and send the rows to add_players. Endpoint: https://mcp.turnale.app

## Resources
Not captured

## Prompts
- plan_tournament - Plan a tournament Guided kickoff: interview the organiser and set everything up.

## Metadata
- Owner: app.turnale
- Version: 0.1.2
- Runtime: Streamable Http
- Transports: HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Aug 3, 2026
- Source: https://registry.modelcontextprotocol.io
