Choose how to connect
The plugins package the local MCP server with the Build with Offline Protocol integration guidance. They are being validated client by client. 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 application 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. 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 application’s ID. Keep API keys out of files you commit.
- Claude Code
- Codex
- Cursor
- Gemini CLI
- VS Code and Copilot
- 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.
