Skip to content

Mcode

Mcode是基于 Claude/Pi/codex Agent SDK 的ADE:实时对话、文件编辑、Git 管理、终端、内置浏览器、LSP 与手机端远程访问。

Install: git clone https://github.com/huangbh2020/mcode

Works with Claude Code, Codex · 42 GitHub stars

Install

$git clone https://github.com/huangbh2020/mcode

Install command taken from the project's README or registry entry. Always review code before running it.

Mcode

Mcode — my Code. A free, open-source desktop client for Claude Code / Codex / coding agents.

English | 简体中文


What is Mcode?

Mcode is a free, open-source desktop GUI for coding agents — a three-pane IDE that turns Claude Code, OpenAI Codex, and other agent platforms into a full-featured desktop application. Built on the official Claude Agent SDK, the OpenAI Codex SDK, and the Pi Coding Agent SDK, Mcode does not reimplement the agent. It provides the complete interaction surface: session management, real-time token-by-token streaming, visual tool-approval prompts, plan mode, and all the IDE affordances you expect — file tree, Monaco editor with 30+ languages, git, terminal, embedded browser, and LSP language servers — plus a mobile companion for remote control from your phone.

Search keywords: Claude Code GUI · Codex desktop client · Claude desktop app · open-source Claude client · AI coding agent IDE · Agent SDK desktop UI · tool approval UI

Key highlights

  • 🎛 Multi-provider — Claude, Codex, and Pi in one app; pick the agent before each session starts
  • ⚡ Real-time streaming — watch every token arrive as the agent works
  • ✅ Tool approval UI — allow / always-allow / deny with a per-session pending queue
  • 📋 Plan mode — the agent researches and presents a plan for your approval before executing
  • 🧩 Plugins & MCP — install agent plugins (skills / commands / MCP servers) from marketplaces, delivered to all three engines
  • 🌿 Worktree sessions — run parallel sessions on one repo in isolated git worktrees, merge back in one click
  • 🗂 Projects & sessions — multi-project management, SQLite persistence, resume anytime
  • 🧰 Full IDE — Monaco editor (30+ languages), diff view, multi-repo git, multi-tab terminal
  • 🌐 Embedded browser — element picking + agent-driven browser automation, login state persists across restarts
  • 🌍 Language servers (LSP) — TypeScript, Python, Go, Java — install and enable in one click
  • 🎨 Hand-drawn themes — sketch paper / kraft styles plus custom UI fonts
  • 📱 Mobile remote control — watch, chat, approve, and rewind from your phone (LAN or SSH tunnel)
  • 🆓 MIT licensed — free forever, no tracking, no account required

Features

🤖 Multi-provider agents

  • Built-in providers: Claude (@anthropic-ai/claude-agent-sdk), OpenAI Codex (@openai/codex app-server), and Pi (@earendil-works/pi-coding-agent) — pick one in the composer before the first message of a session.
  • Each provider declares its own capabilities and the UI adapts automatically: thinking levels / effort, permission modes, built-in models, custom endpoints.
  • The Codex provider supports third-party model providers (OpenAI-compatible / Responses API endpoints) with per-model context-window overrides (e.g. 1M-token models), and image generation rendered inline in the conversation.
  • Per-role model assignment: normal chat, git commit-message generation, and merge-conflict resolution can each use a different model.

💬 Real-time conversation & multi-session

Similar plugs

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

PluginDev tools+6,803 this week

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…

Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…

Explore related