Sandbox
@K9i-0/ccpocket

Mobile client for Codex and Claude via WebSocket bridge

CC Pocket is a phone-first client for Codex and Claude. The app connects to a local Bridge Server running on your machine, so you can start tasks, approve steps, review diffs, and continue the same session across devices.

1,066 stars108 forksDartUpdated 7d ago
Who it's for

Builders who want to control Codex or Claude sessions from a phone, tablet, or desktop without moving code off their own machine.

What it delivers

You can start, steer, and review agent work from mobile instead of staying at the terminal.

What it does

Mobile chat for agent sessions

Each session is a room for prompts, replies, approvals, and follow-up questions, with markdown, voice input, and image attachments.

Cross-device session continuity

You can resume the same session from the CLI, phone, tablet, or Mac, with larger screens showing chat, files, and git changes side by side.

Offline message handling

Outgoing messages queue while you are offline, then resend after reconnecting, and missed streaming updates are recovered.

File, diff, and git review

You can browse files, inspect code and image diffs, stage changes, commit, push, or revert.

Local bridge connection

The app connects to the Bridge Server on your own machine over QR code, saved host, mDNS, or manual WebSocket URL.

Self-hosted remote access

The bridge can run as a background service on macOS launchd or Linux systemd, and the README recommends Tailscale for remote access.

How to get it

  1. 1Start the CC Pocket Bridge Server
    npx @ccpocket/bridge@latest

README

CC Pocket

Your agents. In your pocket.

Codex and Claude, with a chat UI made for your phone. Start a task, approve the next step, and review the result. Pick up the same work on your tablet or Mac.

Explore CC Pocket · Free to use · Open source

日本語版 README | 简体中文版 README | 한국어 README

CC Pocket screenshots

Install

  1. Install at least one agent CLI on the machine that will run your sessions: Codex or Claude.
  2. Install Node.js 20.18.1 or newer on that same machine.
  3. Start the CC Pocket Bridge Server:
npx @ccpocket/bridge@latest
  1. Install CC Pocket and scan the QR code printed by the Bridge Server.
  2. Pick a project, choose Codex or Claude, and start coding from the app.
PlatformInstall
iOS / iPadOSDownload on the App Store
AndroidGet it on Google Play
macOSDownload the latest .dmg from GitHub Releases. Look for releases tagged macos/v*. You can also install using Homebrew Cask with brew install --cask cc-pocket.
Linux (experimental)Download the latest .tar.gz from GitHub Releases. Look for releases tagged linux/v*. Alternatively, install the community-maintained AUR package with yay -S cc-pocket-bin.
Windows (experimental)Download the latest .zip from GitHub Releases. Look for releases tagged windows/v*.

Free to Use

CC Pocket is free to use. If it helps your workflow, please consider becoming a Supporter in the app. Supporter purchases help cover development and AI tooling costs.

New to mobile coding agents? See How to run Codex from iPhone or Android.

What You Can Do

  • Chat first. Each session is a room for prompts, replies, approvals, and questions. Markdown, voice input, and image attachments make it easier to give direction on mobile.
  • Continue across devices. Resume sessions from the CLI or app on your phone, tablet, or Mac. Larger screens show chat, files, and Git changes side by side.
  • Keep your place on weak networks. Outgoing messages wait while you are offline and resend after reconnecting. Missed streaming updates are recovered. New agent requests need a connection.
  • Create and preview media. Generate images with Codex Imagegen, open results in chat, and play video or audio files in the app.
  • Review and ship. Browse files, inspect code and image diffs, stage changes, commit, push, or revert. Use git worktrees to separate parallel tasks.
  • Use your own machines. Agents run on your Mac, Linux, or Windows host through the Bridge Server. Connect by QR code, saved host, or Tailscale; manage the Bridge over SSH.

Why Fork CC Pocket?

CC Pocket is MIT licensed so you can treat it as a starting point for your own agent workflow, not only as a finished app.

  • Build an internal client that combines Codex or Claude with your team's Jira, Linear, GitHub, or private REST APIs.
  • Remove surfaces you do not need and keep a focused app for your daily workflow.
  • Reuse the Bridge sync layer, approval flow, prompt history, git operations, file browsing, and image/diff viewers instead of rebuilding them from scratch.
  • Keep compatibility with the local agent tools and their session history while adding workflow-specific GUI features that are easier to use than prompts or MCP.
  • Extend desktop support. macOS, Linux, and Windows builds are available today; Linux and Windows remain experimental because the project does not have the same continuous verification coverage for those environments.

For a deeper implementation overview, see the technical stack page or the agent-readable Markdown.

How It Works

CC Pocket has two parts:

CC Pocket app  <->  Bridge Server on your machine  <->  Codex / Claude

The app is the interface you use. The Bridge Server runs locally on the machine that has access to your projects, shell, git repository, and agent CLI. Your code stays on your own machine instead of moving into a hosted IDE.

Remote Access

On the same network, connect with the QR code, mDNS discovery, or a manual ws:// / wss:// URL.

For access away from home or the office, Tailscale is the recommended setup:

  1. Install Tailscale on your host machine and phone.
  2. Join the same tailnet.
  3. Connect to ws://<host-tailscale-ip>:8765 from CC Pocket.

For an always-on host, the Bridge Server can also be registered as a background service:

npx @ccpocket/bridge@1 setup

Service setup supports macOS launchd and Linux systemd. For Bridge flags and persisted service settings such as BRIDGE_ALLOWED_DIRS, see the Bridge package README.

Notes

  • Claude sessions use ANTHROPIC_API_KEY by default. Subscription authentication requires explicit Bridge opt-in with BRIDGE_ALLOW_CLAUDE_OAUTH=1 because Anthropic's current official guidance has an unclear scope for this architecture. See Claude authentication troubleshooting.
  • CC Pocket is designed around self-hosting and minimal data collection. Supporter purchases restore within the same Apple ID or Google account, but do not sync across stores. See Supporter / Purchases.
  • Screenshot capture on macOS requires Screen Recording permission for the terminal app running the Bridge Server.
  • CC Pocket is not affiliated with, endorsed by, or associated with Anthropic or OpenAI.

Development

git clone https://github.com/K9i-0/ccpocket.git
cd ccpocket
npm install
cd apps/mobile && flutter pub get && cd ../..

Common commands:

CommandDescription
npm run bridgeStart Bridge Server in dev mode
npm run bridge:buildBuild the Bridge Server
npm run devRestart Bridge and launch the Flutter app
npm run test:bridgeRun Bridge Server tests
cd apps/mobile && flutter testRun Flutter tests
cd apps/mobile && dart analyzeRun Dart static analysis

For end-to-end checks with a local Bridge and mobile app, see Development Testing.

See CONTRIBUTING.md for contribution guidelines.

License

MIT

Files in the repo

Repository payload35 top-level entries
  • .agents
  • .claude
  • .codex
  • .github
  • .vscode
  • apps
  • docs
  • functions
  • packages
  • scripts
  • test
  • tmp
  • tools
  • .coderabbit.yaml
  • .firebaserc.example
  • .gitignore
  • .gtrconfig
  • .mcp.json
  • .mise.toml
  • AGENTS.md
  • CHANGELOG.md
  • CLAUDE.md
  • CONTRIBUTING.md
  • firebase.json
  • firestore.rules
  • LICENSE
  • package-lock.json
  • package.json
  • PRIVACY_POLICY.ko.md
  • PRIVACY_POLICY.md
  • README.ja.md
  • README.ko.md
  • README.md
  • README.zh-CN.md
  • SECURITY.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More connectors

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

86k

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

43k

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

14k
okf-memory/
okf-agent-memory

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

547
tirth8205/
code-review-graph

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

31k
2akouwu/
reverify

Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.

1.1k