Update to current Orbit API and bundle Orbit's MCP server - #1
Open
avdev4j wants to merge 3 commits into
Open
Conversation
Mirrors the change made to orbit-claudecode-plugin. The endpoint moved from fabric-gateway.postmanlabs.com/api/search to api.buildwithorbit.ai/v1/search. Rather than re-hardcode the new URL, the plugin now bundles Orbit's MCP server via .mcp.json (referenced from the manifest as "mcpServers"), so the API contract lives server-side and Orbit can change parameters without breaking installed copies. The skill now drives the search and integrate tools and keeps what is actually this plugin's value: capability decomposition, reading "Not supported" lines as design gaps, iteration, and saving the blueprint to orbit-output/. Adds the integrate step, which turns chosen endpoints into a task brief covering auth, base URLs, and request steps. Also corrects parameters that the old skill had wrong or missing: limit and cursor, q's 512-char cap, nextCursor being absent rather than null on the last page, the 40-result pagination ceiling, resourceType/provider on results, integrate's 10-resource limit, and Orbit's own query-style guidance (one intent per call, no OR-queries). New references/orbit-api.md documents the REST endpoints as a fallback for sessions where the MCP tools are unavailable. Co-Authored-By: Claude <noreply@anthropic.com>
Testing the Claude Code sibling plugin against the live Orbit server showed a 5-resource integrate call returning a one-line restatement instead of a task brief, while a 2-resource call returned the full document. The schema still accepts up to 10. Co-Authored-By: Claude <noreply@anthropic.com>
Keeps Stripe as the illustrative provider. The values are now taken from an actual Orbit response rather than being invented. The heading is "Stripe create subscription" rather than "payment processing" because the generic query does not return Stripe at all — it returns Adyen, Moneris, and Peach Payments. Naming the provider is the query guidance the skill already documents, so the example now demonstrates it instead of contradicting it. Co-Authored-By: Claude <noreply@anthropic.com>
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.
Why
The skill was pointing at
fabric-gateway.postmanlabs.com/api/search, which no longer exists. Orbit's API is now atapi.buildwithorbit.ai/v1/search, documented at buildwithorbit.ai.Rather than just swap in the new URL and wait for the next move, this bundles Orbit's MCP server so the API contract lives server-side. Orbit can change its parameters without breaking installed copies of the plugin.
Mirrors Postman-Devrel/orbit-claudecode-plugin#1.
What changed
Bundles the MCP server. New
.mcp.jsonpoints athttps://mcp.buildwithorbit.ai/mcp, referenced from the manifest as"mcpServers": "./.mcp.json". Installing the plugin now registers thesearchandintegratetools — nocodex mcp add, noconfig.tomledits, no API key.Skill drives the tools instead of curl.
SKILL.mdcallssearchandintegrateand keeps everything that is actually this plugin's value: capability decomposition, readingNot supported:lines as design gaps, iteration, saving the blueprint toorbit-output/.Adds
integrate. Turns chosen endpoints into a task brief covering auth requirements, base URLs, ordered request steps, and gotchas. Wired into the README's design process as step 5.Corrects the parameters. The old skill had several wrong or missing:
cursorlimitqnextCursorresourceTyperesourceType; alsoprovider/productintegrateresourcesAdds
references/orbit-api.md. This repo had no reference file; it now documents the REST endpoints as a fallback for sessions where the MCP tools are unavailable.README example output is now real. It previously showed a fabricated Stripe result; replaced with an actual Brevo result from a live call.
Codex-specific details
Codex's plugin format differs enough that copying the Claude Code
.mcp.jsonverbatim would not have worked. Verified against the Codex source rather than the docs:.mcp.json— it requires"mcpServers": "./.mcp.json"in.codex-plugin/plugin.json. Without it the file is inert..mcp.jsonis camelCase. OpenAI's docs saymcp_servers;PluginMcpServersFilecarries#[serde(rename_all = "camelCase")], so the loader wantsmcpServers. See Docs: plugin .mcp.json example uses mcp_servers but Codex expects mcpServers openai/codex#22105 (still open).streamable-http. The native normalizer also accepts"http", but Codex's test fixtures usestreamable-httpon the parallel agent-plugin parse path, so that value is accepted by both.deny_unknown_fieldson the transport enum makes a wrong key a hard parse error, not a warning.Bundled HTTP servers are supported at all per the source comment: "Native plugin HTTP servers share the regular MCP transport configuration."
Verification
Probed the Orbit MCP server directly over JSON-RPC (
initialize→tools/list→tools/call) and called both REST endpoints live, so the tool names and schemas are confirmed.Codex-side loading is source-verified only —
codexis not installed on the machine this was written on, so nothing was exercised end-to-end. Worth one/orbit:discoverrun on a real install. If the bundled server does not register, the README documents the~/.codex/config.tomlfallback.Generated with Claude Code