Skip to content

Move the sprites MCP server to mcp.fly.io - #7

Merged
aezell merged 1 commit into
mainfrom
mcp-fly-io-endpoint
Nov 13, 2026
Merged

aezell merged 1 commit into
mainfrom
mcp-fly-io-endpoint

Conversation

@aezell

@aezell aezell commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

What changed

We are transitioning from the Sprites MCP at https://sprites.dev/mcp to the new Fly MCP server at https://mcp.fly.io. This moves the plugin to the new endpoint.

  • mcp_config.json: serverUrl is now https://mcp.fly.io. The server key stays sprites and the two Fly-Client-* headers are unchanged.
  • tests/test_repository.py: the URL test now expects host mcp.fly.io with no path.
  • README.md: install text describes browser sign-in and the Fly consent screen, adds an upgrade note, and says which tools the safety hooks cover.
  • rules/AGENTS.md, skills/sprites/SKILL.md: name the Fly MCP, and tell the agent to stay with the Sprites tools even when other Fly tools were granted.

hooks.json, scripts/sprites_hook.py, the commands, and the other skills are untouched. No version bump (see below).

Existing users must re-authorize

The two endpoints keep separate OAuth grants. After updating, every existing user has to open /mcp, select sprites, and authenticate once more.

Hook name patterns to verify against the live server

The hooks do not depend on the server key: both hooks.json matchers start and end with .*, and the script searches the lowercased tool name and arguments for substrings. They do depend on these tool-name fragments.

sprites-safety-guard matcher in hooks.json runs the hook for any tool name containing one of:

destroy_sprite, delete_sprite, checkpoint_restore, restore_checkpoint, delete_checkpoint, policy_network, network_policy, privilege_policy, resource_policy, service_create, service_start, service_update, make_public

The script (DESTRUCTIVE_PATTERNS) then asks on destroy[_-]?sprite, delete[_-]?sprite, checkpoint[_-]?restore, restore[_-]?(sprite|checkpoint), delete[_-]?checkpoint, policy[_-]?network[_-]?(update|set), update[_-]?network[_-]?policy, privilege[_-]?policy, resource[_-]?policy, and (EXPOSURE_PATTERNS) on make[_-]?public or a truthy public / public_url / is_public / expose_* argument.

sprites-checkpoint-nudge matcher is .*exec.*; the script acts only when the tool name ends in exec (exec$) and the command matches a risky-command pattern.

I ran both matchers and the script against the 95 tool names listed in https://mcp.fly.io/guide.md today (bare, and with sprites__ and mcp_sprites_ prefixes):

Tool Matcher Script decision with empty args
destroy_sprite safety ask
checkpoint_restore safety ask
policy_network_update safety ask
policy_network_get safety allow
service_create, service_start safety allow (asks only with a truthy public/expose argument)
exec checkpoint allow (asks when the command is risky)
exec_list, exec_kill, exec_machine_command checkpoint allow

The other fragments (delete_sprite, restore_checkpoint, delete_checkpoint, network_policy, privilege_policy, resource_policy, service_update, make_public) match no tool in the guide. That was already true on the old server.

Needs a manual test

  • Install the branch in Antigravity CLI, run /mcp, authenticate sprites, and confirm the Sprites tools list and work. I did not run agy; nothing here was tested against a live Antigravity session.
  • Confirm how Antigravity names the tools in the hook payload (toolCall.name) on the new server, and that destroy_sprite, checkpoint_restore, policy_network_update, and a risky exec still prompt.
  • Confirm mcp.fly.io accepts the Fly-Client-Agent / Fly-Client-Interactive headers and still attributes the traffic as described in docs/attribution.md. Not verified.
  • exec_machine_command now reaches the checkpoint hook because of the .*exec.* matcher. The script allows it; check that the extra hook call is harmless.

Known gap, not changed here

The safety hooks cover Sprites tools only. If a user grants other Fly products at consent, destructive tools such as delete_app, delete_machine, delete_volume, delete_app_secret, update_app_secrets, and exec_machine_command get no confirmation from this plugin. The README now says so. Extending the hooks is a separate decision.

Outside this PR

  • A release: plugin.json is still 0.1.0 and the repo has no changelog. Nothing in the validators ties a version to this change, so I left it; bump and release when ready.
  • Any marketplace or directory listing that describes this plugin or the old endpoint.
  • The guide at mcp.fly.io registers the server as fly-mcp for Antigravity. A user who followed it as well will have two servers pointing at the same endpoint.

Checks run locally

ruff check ., ruff format --check ., python scripts/check_repository.py, python -m unittest discover --start-directory tests (10 tests) and python -m compileall -q scripts tests all pass. This is the full CI job, run on Python 3.15 rather than CI's 3.12.

Part of superfly/sprites-ecosystem#184

🤖 Generated with Claude Code

Switch the hosted MCP endpoint from https://sprites.dev/mcp to the Fly MCP at https://mcp.fly.io, keeping the sprites server key, and update the docs and URL test to match.
@aezell
aezell force-pushed the mcp-fly-io-endpoint branch from e4a59fd to 600197d Compare November 13, 2026 20:06
@aezell
aezell marked this pull request as ready for review November 13, 2026 20:32
@aezell
aezell requested a review from a team as a code owner November 13, 2026 20:32
@aezell
aezell merged commit 72c5e8f into main Nov 13, 2026
1 check passed
@aezell
aezell deleted the mcp-fly-io-endpoint branch November 13, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant