Architecture

allternit-ai/src/components/deployments/OpenShipPanel.tsx is the shared settings UI. src/lib/deployments/openship.ts adapts OpenShip’s MCP tools through Allternit’s existing bridge. The Code project header opens the infrastructure deployment panel. The browser calls the selected Allternit gateway, never OpenShip directly. Web and phone requests use the paired-runtime relay. OpenShip itself must be reachable from that runtime. mcp_apps.rs loads connections by connector ID and authenticated user ID. It retains URL validation, DNS pinning, private-host restrictions, token refresh and tool visibility checks. OAuth storage and callbacks use the existing sealed token implementation. This feature adds no credential database or browser token persistence. integration/api-client.ts classifies the connector routes and MCP bridge as runtime-only. It checks the configured gateway as well as the cached base, so one same-origin relay request cannot send the next OAuth request to the cloud control plane. Cloud /api/v1/mcp/approvals remains distinct.

Provider contract

The adapter follows OpenShip’s MCP tool catalog, projects API and deployment API, inspected on November 2, 2026. It discovers tools before enabling controls. Tool pagination is bounded and repeated cursors fail. Workspace discovery is the only call without a selected organizationId; every resource operation passes that ID explicitly. Provider grants continue to enforce access on each call. Arguments follow OpenShip’s organizationId, id, query and body envelope. MCP isError and operation-level failures are rejected even when transport status is 200. Unknown list formats fail visibly. The adapter accepts structured content or JSON text results and unwraps the HTTP data envelope.

Release semantics

The UI stores an immutable review snapshot before each mutation and uses a synchronous lock to prevent duplicate approval clicks. Writes are sent once. A lost response blocks another mutation until the user inspects and explicitly refreshes provider records. Submission must return a deployment ID. Readiness comes from the persisted build status, with ready and no_changes accepted only when no decision is pending. Queued, unknown, failed, cancelled, partial and action-required states are not success. Polling stops on terminal status or a read failure; the user can refresh status. Hidden pages defer polling, and unmount cancels future polls. Logs are React text content, never HTML. External links accept only HTTP(S) URLs without embedded credentials. The installation form requires HTTPS and rejects embedded credentials, query strings and fragments. This first integration does not upload local folders, provision servers, edit secrets or DNS, manage database recovery, or operate an Allternit hosting subscription. Configuration and provider-held decisions remain in OpenShip’s dashboard.

Verification

Run the focused adapter, release UI and routing suites from allternit-ai:
The tests exercise the real client and panel with the network boundary replaced by provider fixtures. They do not establish live OpenShip compatibility or successful production deployment. A live acceptance pass requires an authorized installation: sign in, deploy a disposable GitHub app, inspect persisted state and logs, open its HTTPS endpoint, deliberately fail a build, and roll back to a prior successful release. Verify credential revocation and separate-user access before general availability. See the user guide and MCP servers API.

Hosting ownership

Allternit supplies the integration. The user supplies the OpenShip installation, destination servers and provider accounts, and pays those providers directly. Allternit does not buy infrastructure, run the user’s application workloads, subsidize hosting or resell compute through this feature. No Allternit hosting budget, billing meter or paid-server bootstrap belongs to this integration.