Repository navigation
Move the sprites MCP server to mcp.fly.io - #7
Merged
Merged
Conversation
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
force-pushed
the
mcp-fly-io-endpoint
branch
from
November 13, 2026 20:06
e4a59fd to
600197d
Compare
aezell
marked this pull request as ready for review
November 13, 2026 20:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
We are transitioning from the Sprites MCP at
https://sprites.dev/mcpto the new Fly MCP server athttps://mcp.fly.io. This moves the plugin to the new endpoint.mcp_config.json:serverUrlis nowhttps://mcp.fly.io. The server key staysspritesand the twoFly-Client-*headers are unchanged.tests/test_repository.py: the URL test now expects hostmcp.fly.iowith 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, selectsprites, and authenticate once more.Hook name patterns to verify against the live server
The hooks do not depend on the server key: both
hooks.jsonmatchers 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-guardmatcher inhooks.jsonruns 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_publicThe script (
DESTRUCTIVE_PATTERNS) then asks ondestroy[_-]?sprite,delete[_-]?sprite,checkpoint[_-]?restore,restore[_-]?(sprite|checkpoint),delete[_-]?checkpoint,policy[_-]?network[_-]?(update|set),update[_-]?network[_-]?policy,privilege[_-]?policy,resource[_-]?policy, and (EXPOSURE_PATTERNS) onmake[_-]?publicor a truthypublic/public_url/is_public/expose_*argument.sprites-checkpoint-nudgematcher is.*exec.*; the script acts only when the tool name ends inexec(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__andmcp_sprites_prefixes):destroy_spritecheckpoint_restorepolicy_network_updatepolicy_network_getservice_create,service_startexecexec_list,exec_kill,exec_machine_commandThe 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
/mcp, authenticatesprites, and confirm the Sprites tools list and work. I did not runagy; nothing here was tested against a live Antigravity session.toolCall.name) on the new server, and thatdestroy_sprite,checkpoint_restore,policy_network_update, and a riskyexecstill prompt.mcp.fly.ioaccepts theFly-Client-Agent/Fly-Client-Interactiveheaders and still attributes the traffic as described indocs/attribution.md. Not verified.exec_machine_commandnow 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, andexec_machine_commandget no confirmation from this plugin. The README now says so. Extending the hooks is a separate decision.Outside this PR
plugin.jsonis still0.1.0and the repo has no changelog. Nothing in the validators ties a version to this change, so I left it; bump and release when ready.fly-mcpfor 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) andpython -m compileall -q scripts testsall 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