Offline Protocol — Claude Code MCP server: SDK search, guides
Gives your coding agent Offline Protocol tooling: locate SDK packages, read integration guides, plan an app and scaffold it locally.
claude mcp add cli -- npx -y @offline-protocol/cliWhat Offline Protocol does
The server equips an agent with Offline Protocol tools: look up an SDK package, pull up the integration guide, draft an implementation plan, then lay down a project skeleton on your machine. It stays at the documentation and scaffolding layer. Discovering nearby devices, running a mesh or driving live hardware is outside what the tools do.
Most setups start the local server from the CLI with npx -y @offline-protocol/[email protected] mcp serve. A hosted endpoint also exists at https://mcp.offlineprotocol.com/mcp; reaching it takes an application API key and an application ID issued at dev.offlineprotocol.com. The local route asks for no Offline Protocol account and ships no telemetry.
You need Node.js 18 or newer with npx available. That first call fetches the pinned CLI release from npm, so a machine without network access won't get past startup. The repo itself is produced by export-agent-plugins.mjs from the CLI source tree, with file hashes checked against SOURCE.json; fixes land upstream and get re-exported rather than merged here.
What it helps with
- find the right Offline Protocol SDK package for a job
- pull integration instructions without piecing them together from chat
- plan an app implementation before writing code
- scaffold a local project with its dependencies wired up
Example prompts for the agent
- Find the Offline Protocol SDK package for offline sync and show me how to wire it in
- Plan the Offline Protocol integration for my project and scaffold a starting app
How to install Offline Protocol
Platform CLI
claude mcp add cli -- npx -y @offline-protocol/cliPlatform CLI
codex mcp add offline-protocol -- npx -y @offline-protocol/cliConfig file
{
"mcpServers": {
"offline-protocol": {
"command": "npx",
"args": [
"-y",
"@offline-protocol/cli"
]
}
}
}Config file
{
"servers": {
"offline-protocol": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@offline-protocol/cli"
]
}
}
}Platform CLI
gemini mcp add offline-protocol npx -y @offline-protocol/cliStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Offline Protocol
How do I install Offline Protocol in Claude Code?
Add the marketplace first: claude plugin marketplace add https://github.com/Offline-Protocol/offline-protocol-agent-plugins.git. Then run claude plugin install offline-protocol@offline-protocol.
What does Offline Protocol do?
It hands the agent tools to search SDK packages, read integration guides, plan work and scaffold an app. Hardware control and mesh operation are not part of it.
Do I need an account to use it?
The local server runs through npx without an Offline Protocol account and sends no telemetry. The hosted server instead requires an application API key and application ID from dev.offlineprotocol.com.