Repository navigation
Point the default MCP endpoint at mcp.fly.io - #8
Merged
Merged
Conversation
The plugin now registers the Fly MCP server at https://mcp.fly.io instead of https://sprites.dev/mcp, as part of the transition to the new Fly MCP server, keeping the sprites server name and tool names. The README gains an upgrade note about re-authorizing.
aezell
force-pushed
the
mcp-fly-io-endpoint
branch
from
November 13, 2026 20:06
855a617 to
41a7b9e
Compare
aezell
marked this pull request as ready for review
November 13, 2026 20:30
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.
Part of superfly/sprites-ecosystem#184
We are transitioning from the Sprites MCP at
https://sprites.dev/mcpto the new Fly MCP server. This moves the plugin's default endpoint to the Fly MCP athttps://mcp.fly.io.What changed
src/shared.js:DEFAULT_MCP_URLis nowhttps://mcp.fly.io. The MCP server name stayssprites, so the generatedsprites_*tool names, the guarded permission patterns, the commands and the guidance text are unchanged. The Sprites tool names are the same on both servers.README.md: the endpoint in the intro, the feature list and the options table; plus a new "Upgrading from thesprites.dev/mcpendpoint" section.test/v1.test.js,test/v2.test.js,test/plugin.bun.js): the default-URL assertions. They asserthttps://mcp.fly.io/with a trailing slash, because the existing option parser returnsnew URL(url).toString(), which adds the slash to a URL with no path. I did not change the parser.Users must re-authorize
The two endpoints have separate OAuth grants. Every existing user has to authorize once after updating (
opencode mcp auth sprites/opencode2 mcp auth spritesif the browser flow does not start by itself). The README upgrade section says so. Anyone who pinned the old address through theurloption, or defined thespritesserver themselves, has to change it by hand.Needs a manual test before this leaves draft
Nothing here was exercised against the live server with a real OAuth login. The automated tests only check the registered configuration.
https://mcp.fly.io(discovery throughhttps://mcp.fly.io/.well-known/oauth-protected-resource, authorization serverhttps://fly.io/mcp/oauth) and list the Sprites tools.https://mcp.fly.io/, while the server's protected-resource metadata nameshttps://mcp.fly.io. An unauthenticated POST to either form returns the same 401 challenge, but I could not check how OpenCode's OAuth client compares the two when it builds theresourceparameter.fly:*as well assprites:readandsprites:write), and the plugin sets noscope. Check what OpenCode requests and what the consent screen offers. With more than Sprites access granted, non-Sprites Fly tools appear under the samesprites_prefix; the README now says this./sprites-statusand/sprites-smokestill pass, and the three guarded tools (destroy_sprite,checkpoint_restore,policy_network_update) still prompt.oauth: falseplusheaderspath (OpenCode 2) is documented for header credentials. Whether static bearer tokens work onmcp.fly.iois unverified; assume they do not until tested.Left unchanged on purpose
CONTRIBUTING.mdand a code comment say the Sprites MCP server does not support the Code Mode dispatcher call shape; I did not verify whether the Fly MCP does, so the default and that wording are as they were.mcp-default, Full access wording) describe the previous consent screen. I did not verify them against the Fly consent screen, so they are untouched. A reviewer who knows the Fly grant model should check them.src/shared.jsstill describes thesprites_*tools as the Sprites control plane and does not mention non-Sprites Fly tools.sprites.devproduct links (README.md,package.jsonhomepage) and thesprites.devtrigger phrase in the guidance activation tests are not the MCP endpoint.0.1.0. The repository has no changelog, and nothing ties the version to one.Outside this repository
npm view @flydotio/sprites-opencode-pluginreturns 404 today, so this looks like it would be the first publication; decide whether0.1.0ships with the new endpoint or the version is bumped first. Nothing was published or tagged from this branch.Checks run locally (Node 22.19.0)
npm run check(prettier,tsc --noEmit, export test 3/3, OpenCode 1 unit and integration 16/16, OpenCode 2 unit and integration 33/33): passnpm pack --dry-run: passgit diff --check: cleannpm run test:bun: not run, Bun is not installed here. The two assertions intest/plugin.bun.jswere updated to match; CI'sbunjob will exercise them.🤖 Generated with Claude Code