GrepAwk Blog

Blog / GrepAwk

GrepAwk

Coyote Jump's remote MCP server: 36 tools for building, sharing and editing levels

A tour of the Coyote Jump remote MCP server: every tool group, its key parameters, and four sample prompts run against the live server.

By Yisheng Jiang · · 6 min read

Coyote Jump now has a remote MCP server at https://grepawk.com/jumper/mcp. Any MCP client can use it to build a platformer level, prove it can be beaten, publish it with a short link, and come back later to edit it. This post walks through the 36 tools and four sample prompts I ran against the live server, with the real results and screenshots. The code is at github.com/yishengjiang99/coyote-jump. For how the level tools and validator work inside the game, see agentic level generation in Coyote Jump.

Connect a client to the remote MCP server

The server speaks Streamable HTTP and needs no sign-in. In Claude, for example, open Settings, Connectors, Add custom connector, paste https://grepawk.com/jumper/mcp, and leave authentication empty. Other MCP clients take the same URL.

None of the 36 tools call a model. They are deterministic level tools, a validator and a small level store, so using them costs nothing. Each IP gets 120 tool calls and 20 saves per hour (saves, forks and updates all count). Sessions are stateful and expire after 30 minutes idle, but saved levels and their edit tokens last, so editing works across chats.

The tools

Each call returns JSON with ok. A failed call returns ok:false with an error and usually a hint, and leaves the level unchanged.

Build (18 tools)

Components build the level left to right from a cursor. new_level returns the jump limits up front: a flat gap can be 5 tiles, 5 with the far side 1 or 2 rows higher, 3 with it 3 rows higher, and a step up can be 3 rows.

Tool Key params What it does
new_level name, theme, palette Starts a level and returns design guidelines
start_area length, top First ground and the spawn point
ground length, top, coins Flat run, optional height change and coin line
gap width (1 to 5), next_top Pit with a coin arc
stairs steps, direction, step_height Steps up or down
floating_platforms count, width, gap, row_delta One-way platforms over a pit
enemy_gauntlet kinds, count, length Ground with walkers, hoppers and bats
coyote_challenge gap_width, rise, runway, checkpoint Runway, wide gap, landing
spike_hop length, spike_width Spikes to jump over
checkpoint, coin_trail back; count, shape Flag or coins on the last ground piece
end_area length Final ground and goal; finishes the level
add_segment, add_enemy, add_coins absolute col, row, from, to Low-level placement
set_cursor, set_theme, undo col; theme; none Move the cursor, restyle, undo the last call

Build calls return what was added (for example ground cols 8-13 top row 9) and the cursor state.

Inspect (4 tools)

  • validate_level checks the schema, checks placement (spawn, goal and enemies stand on ground), then runs a search with the real player physics from spawn to goal. It returns valid, errors with hints, warnings and stats. Pass level to check JSON from elsewhere.
  • describe_level lists every component with its index and column range, and every enemy with its index. The edit tools use those indexes.
  • get_level returns the session level, or a stored level when you pass id (and optionally version).
  • play_url validates and returns a long link with the level encoded in it.

Edit (6 tools)

insert_component (at, type, params), replace_component (index, type, params) and remove_component (index) edit the component list in place, and the level after them shifts to fit. move_enemy and remove_enemy take an enemy index, and set_meta changes the name or theme. Each returns the new summary plus a validation block, so the client sees right away whether the edit broke the level.

Share and community (5 tools)

  • save_level (alias share_level) validates, stores the level as version 1 and returns id, play_url and edit_token. The token is shown once and only its hash is stored, so the client has to keep it.
  • list_levels (alias browse_levels) pages through community levels with sort (new or popular), limit and cursor. Each item has the name, plays, a prompt snippet, a mini-map summary and the fork parent.
  • fork_level (id) copies any level into a new id with a new edit token.

Iterate (3 tools)

  • open_level (id, optional version) loads a stored level into the session for editing, even in a new chat.
  • update_level (id, edit_token) validates and publishes the session level as the next version. The share link ?l=<id> always plays the latest. A wrong token returns an error that suggests fork_level.
  • list_versions (id) lists every version with its width, enemies and coins.

Four sample prompts, run against the live server

I ran these with a scripted client built on the official MCP TypeScript SDK (@modelcontextprotocol/sdk), not a model. The script made the calls a model would make for each prompt, against the production server. Results below are trimmed to the key fields and are otherwise real; edit tokens are redacted. Screenshots come from the live game at each share link in headless Chrome, with the player moved to the feature worth seeing.

1. A themed level from scratch

Build me a sunset canyon level with hoppers, a staircase climb and some floating platforms. Save it and give me the link.

new_level {"name":"Sunset Canyon","theme":"canyon"}   -> New level "Sunset Canyon". Call start_area next.
start_area {}                                       -> start ground cols 0-7, spawn at col 2
ground {"length":6,"coins":4}                       -> ground cols 8-13 top row 9
enemy_gauntlet {"kinds":["hopper","walker"]}        -> ground cols 14-27 with 2 enemies (hopper, walker)
stairs {"steps":3}                                  -> 3 steps up cols 28-33, now at top row 6
floating_platforms {"count":3}                      -> 3 one-way platforms over a pit, cols 34-50
ground {"length":8}                                 -> ground cols 51-58 top row 6
checkpoint {}                                       -> checkpoint at col 57
gap {"width":3}                                     -> gap cols 59-61; next ground top row 6
enemy_gauntlet {"kinds":["bat","hopper"]}           -> ground cols 62-75 with 2 enemies (bat, hopper)
end_area {}                                         -> end ground cols 76-83, goal at col 81; level width is 84
validate_level {}                                   -> valid:true  width 84, 13 coins, 4 enemies, 1 checkpoint
save_level {"prompt":"Sunset canyon with hoppers, ..."} -> id d2qbp7zz, version 1, play_url .../jumper/?l=d2qbp7zz
Sunset Canyon version 1 in game: the fox at the top of a three-step staircase with one-way platforms floating ahead over a pit

Version 1 is shown here. Prompt 4 later edits this level, so its share link now plays version 2.

2. A hard coyote-gap gauntlet

Make a hard level: three 5-tile coyote gaps, each landing higher, with spikes between them. Validate and save it.

new_level {"name":"Coyote Gauntlet","theme":"sky"}  -> New level "Coyote Gauntlet". Call start_area next.
start_area {}                                     -> start ground cols 0-7, spawn at col 2
coyote_challenge {"gap_width":5}                  -> runway cols 8-12, 5-tile gap, landing flat
spike_hop {}                                      -> ground cols 24-35 with spikes at cols 29-30
coyote_challenge {"gap_width":5,"rise":3}         -> ok:false "A 5-tile gap with rise 3 is not jumpable (max 3)."
                                                     hint: "Use gap_width <= 3 or a smaller rise."
coyote_challenge {"gap_width":5,"rise":1}         -> runway cols 36-40, 5-tile gap, landing rises 1
spike_hop {"spike_width":3}                       -> ground cols 52-63 with spikes at cols 56-58
coyote_challenge {"gap_width":5,"rise":2}         -> runway cols 64-68, 5-tile gap, landing rises 2
end_area {}                                       -> goal at col 85; level width is 88
validate_level {}                                 -> valid:true  width 88, 24 coins, 3 checkpoints, 3 coyote gaps
                                                     warning: "the 5-wide gap at col 69 is very tight (only 1/6 jump timings work)"
save_level {"prompt":"Hard: three 5-tile coyote gaps ..."} -> id tvy7973n, play_url .../jumper/?l=tvy7973n

The gap tool refused a 5-tile gap rising 3 rows before anything was placed. The third gap, rising 2 rows from a ledge that was already 1 row up, passed both the tool check and the physics search, with a warning that only 1 of 6 late-press timings works. Play Coyote Gauntlet.

Coyote Gauntlet in game: the fox at a checkpoint on a sky-themed runway, facing a 5-tile gap with the landing two rows higher

3. Browse and fork a community level

Show me the most played community levels, fork the top one and rename it as my remix.

list_levels {"sort":"popular","limit":5}   -> ju6p7shl "Iter Pass" plays:3, mun0ytx9 "Mcp Remix" plays:2,
                                              vhweyztk "Canyon Sunset Hop" plays:2, ...
fork_level {"id":"ju6p7shl"}               -> id lijaiii4, version 1, play_url .../jumper/?l=lijaiii4
open_level {"id":"lijaiii4"}               -> Opened "Iter Pass" (lijaiii4 v1) for editing.
set_meta {"name":"Iter Pass REMIX"}        -> Updated name/theme.
update_level {"id":"lijaiii4","edit_token":"<token>"} -> version 2, play_url .../jumper/?l=lijaiii4

The fork has its own id and token, and keeps a link to its parent. The original is unchanged. Play the remix.

Iter Pass REMIX in game: the fox next to a checkpoint flag on canyon ground, with a raised ledge across a gap ahead

4. Edit a saved level across turns

(A later chat) Open my Sunset Canyon level, add a coyote gap before the goal, publish it, and show me the versions.

This ran in a new MCP session, so nothing carried over except the level id and the edit token from prompt 1.

open_level {"id":"d2qbp7zz"}                         -> Opened "Sunset Canyon" (d2qbp7zz v1) for editing.
describe_level {}                                    -> 10 components (index 9 is end_area), 4 enemies, width 84
insert_component {"type":"coyote_challenge",
                  "params":{"gap_width":5}}          -> Inserted coyote_challenge at index 9. validation.valid: true
update_level {"id":"d2qbp7zz","edit_token":"<token>"} -> version 2, play_url .../jumper/?l=d2qbp7zz
list_versions {"id":"d2qbp7zz"}                      -> v1 width 84, v2 width 100

insert_component defaults to the slot just before end_area, so the goal moved 16 columns right to make room. The same share link now plays version 2: Sunset Canyon.

Sunset Canyon version 2 in game: the fox at the new checkpoint on a canyon runway, with the inserted 5-tile coyote gap ahead

All four prompts took 34 tool calls and 5 saves, well inside the hourly limits.

Try it

Add https://grepawk.com/jumper/mcp to your MCP client and ask for a level. Play any result at grepawk.com/jumper, where the title screen also lists community levels. The code, including a local stdio version of the same tools, is at github.com/yishengjiang99/coyote-jump.