Orbit

Deploy and Manage Orbit Apps with an AI Agent

Orbit includes a Model Context Protocol server for authenticated app deployment and operations. Connect a compatible AI agent, ask it to inspect or manage your apps, and approve the actions you want it to perform. This guide explains the connection flow, available tools, security model, and recommended workflow.

What the Orbit MCP server does

Model Context Protocol, commonly called MCP, gives AI clients a standard way to discover and call tools. The Orbit MCP server exposes the same deployment and management capabilities used by the Orbit interface through a stateless HTTP endpoint at https://orbit.runonflux.com/mcp.

  • Inspect: list plans and owned apps, analyze repositories, inspect sanitized app specifications, check instances and deployment status, measure network capacity, and read bounded logs.
  • Deploy: validate an app specification, register a deployment, test the installation, and create an authoritative Stripe checkout when payment is required.
  • Operate: trigger builds and perform approved start, stop, restart, pause, unpause, redeploy, or remove actions on assigned instances.
  • Maintain: update supported app settings, preserve the remaining subscription period, and renew an app for an approved duration.

Connect your agent

You need an Orbit account signed in with Google or email and an MCP client that supports Streamable HTTP plus custom authorization headers. Wallet-only ZelCore and SSP sessions cannot create an agent connection at this time.

  • Sign in to Orbit with Google or email.
  • Open Dashboard, then Connect an agent.
  • Select Generate connection config.
  • Copy the generated JSON into your MCP client configuration.
  • Reconnect with a newly generated configuration after the credential expires.
{
  "mcpServers": {
    "orbit": {
      "type": "http",
      "url": "https://orbit.runonflux.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_FIREBASE_ID_TOKEN"
      }
    }
  }
}

Treat the generated configuration like a password. Do not commit it, include it in support messages, paste it into prompts, or share it with another person. Generate the configuration directly in your own dashboard.

Available agent tools

CapabilityToolsWhat they do
Discoverylist_plans, analyze_repositoryCompare plans and inspect a repository with Orbit compatibility rules.
App inspectionlist_apps, get_app, get_instancesRead owned Orbit apps, sanitized specifications, and assigned nodes.
Status and capacityget_deployment_status, get_network_capacityCheck registration state, live locations, and suitable Flux capacity.
Deploymentvalidate_deployment, deploy_appPreview an authoritative specification, then register and test an approved app.
Paymentscreate_stripe_checkoutCreate Stripe checkout from an owned Flux transaction and server-calculated price.
Logs and buildsget_logs, trigger_buildRead a bounded log tail or request a new Orbit build.
Instance controlcontrol_instancePerform an allowlisted action on a node assigned to an owned app.
Maintenanceupdate_app, renew_appApply constrained changes or extend an app subscription.

A safe deployment workflow

  • Start with analysis. Ask the agent to analyze the repository and explain the detected runtime, port, branch, and project directory.
  • Validate before deployment. Use validate_deployment to review the generated specification, required resources, and authoritative network price without registering anything.
  • Review mutating calls. Require confirmation in your MCP client for deploy_app, trigger_build, control_instance, update_app, and renew_app.
  • Keep the transaction handle. Save the transaction ID returned by a deployment, update, or renewal. It identifies the submitted Flux operation and can be used for status and checkout.
  • Check the result. Ask for deployment status and instances after registration. Read a bounded log tail if the application is not healthy.

Authentication, ownership, and data storage

Each request verifies the Firebase bearer credential, derives the user's Flux identity through FluxCore, and creates a request-scoped session. The MCP transport is stateless. Orbit does not create a separate MCP user database or store a long-lived agent session.

Firebase, FluxCore, the Flux blockchain, and the Stripe payment bridge remain the systems of record. Orbit checks app ownership before returning app details or contacting an assigned node. Repository credentials, management secrets, Enterprise plaintext, and credential-bearing URLs are redacted from tool results.

A Firebase ID token is short lived. The current connection flow does not include refresh credentials, so the agent cannot silently extend access. Generate a fresh configuration from the dashboard when the token expires.

Troubleshooting

  • Unauthorized: generate a new configuration, confirm the entire Authorization header was copied, and make sure the account uses Google or email sign-in.
  • Tool not found: reconnect the MCP client so it performs tool discovery against the current server version.
  • App not listed: confirm the app belongs to the Flux identity linked to the signed-in Firebase account and that it is an Orbit deployment.
  • Repository cannot be analyzed: verify the repository URL, branch, subdirectory, and private repository credential.
  • Payment required: use the transaction ID returned by the mutating call to create an authoritative Stripe checkout.
  • Timeout: retry a read-only call once. Do not repeat a mutating call unless you first check its returned transaction ID or deployment status.

Frequently asked questions

Which AI clients work with the Orbit MCP server?
Any MCP client that supports Streamable HTTP connections and custom Authorization headers can connect. Add the generated JSON using the configuration method documented by your client.
Does Orbit store a separate agent account or agent database?
No. The MCP endpoint is stateless and uses your existing Firebase account, Flux identity, blockchain records, and Stripe payment flow. Orbit does not add a separate database for agent users or deployments.
Can an agent deploy without my approval?
That depends on the approval policy in your MCP client. Orbit marks mutating tools as destructive or non-read-only where appropriate. Configure your client to ask before deployments, builds, instance controls, updates, renewals, and payments.
Can I use ZelCore or SSP to connect an agent?
Not currently. The MCP connection requires a Firebase session created through Google or email sign-in because agent-side request signing depends on Firebase SSO.
How long does an agent connection last?
The generated connection uses a short-lived Firebase ID token. Its expiration is shown on the Connect an agent page. Generate a new configuration after it expires.
Can the agent see my repository tokens or app secrets?
Orbit accepts private repository credentials as secret inputs when needed, but it does not return them. Tool responses redact repository credentials, management secrets, Enterprise plaintext, and known secret environment variables.