Choose how to connect
The plugins package the local MCP server with the Build with Offline Protocol integration guidance. They are coming soon from a public plugins repository and cannot be installed yet. To join the preview, email support@offlineprotocol.com and name your client. Until your client’s plugin is available, use local MCP; it gives the agent the same tools.
Local MCP starts the published CLI through npx, so no global installation is needed:
scaffold_project, integrate_packages and init_project write local files and are available only in local mode.
Hosted MCP runs at https://mcp.offlineprotocol.com/mcp. Send an app API key as a bearer token and the matching App ID in x-app-id. Organization keys are rejected. Hosted mode offers the 15 read-only tools. Claude Desktop and Claude.ai cannot send these headers, so use the public read-only endpoint https://mcp.offlineprotocol.com/public/mcp there as a custom connector, or local MCP to scaffold or edit projects. See Hosted MCP for limits.
Configure one mode per client under the offline-protocol name, not both.
Set up your client
Replaceapp_your_application_id with your App ID. Keep API keys out of files you commit.
- Claude Code
- Codex
- Cursor
- VS Code
- Claude Desktop
- Other MCP clients
Local MCP. Run once:Or commit this as Hosted MCP. With
.mcp.json in your project:OFFLINE_API_KEY set in your environment, a project .mcp.json can keep an environment reference:offline-protocol is connected.
Try a first request
Ask your agent for a concrete integration, for example:Add an encrypted local handoff to this React Native app. Explain the device requirements, choose compatible packages, and show how the receiving app will persist the handoff.Give it your platform, SDK version and target devices, as described in Build with an AI agent. Then compile the changed application and test on the target devices; a successful agent session does not establish radio delivery. For the full command reference and the globally installed
offline command, see CLI and MCP.
