Claude Desktop Coder MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Claude Desktop Coder MCP
Turn Claude Desktop (even the free tier & free Sonnet models) into a full local Claude Code alternative — 100% free, zero paid subscriptions, zero external runtime dependencies.
Claude Desktop Coder MCP (CLI: codebase-mcp) is a local, dependency-free Model Context Protocol (MCP) server and lightweight Desktop Web IDE (codebase_ui.html). Connect Claude Desktop (free tier / Sonnet), Claude Code, Codex CLI, Gemini CLI, Cursor, or ChatGPT directly to your PC so any AI can search large codebases via SQLite FTS5, edit files safely with automatic undo backups, run get_diagnostics and tests, use git tools, launch interactive ConPTY/PTY terminals, monitor embedded serial boards (ESP32/Arduino), and preserve plans, tasks, and checkpoints across free-tier usage limits.
Why Claude Desktop Coder MCP?
Free Claude Code alternative inside Claude Desktop: Use Claude Desktop's free Sonnet/Claude tier on real local repositories—index files, find references, edit code, run
get_diagnostics+ test suites, inspectgit_diff, and commit locally.Zero-dependency Python 3.9+ runtime: Uses only the Python standard library — no
pip install, no Docker, no heavy vector DBs.Persistent Cross-AI Handoff Memory: Hit a 5-hour usage limit mid-task? Plans, task lists, pinned notes, auto-checkpoints, and file/command activity survive in SQLite (
~/.codebase_mcp/index.db) so another AI (Claude, Codex, Gemini, or ChatGPT) resumes from the exact line where the previous one stopped.Built-in Desktop App & Live Web IDE: File tree, syntax-highlighted editor with disk-conflict detection, live ConPTY/PTY terminal dock (`Ctrl+``), Handoff prompt generator, Plan revisions, Task board, Activity timeline, and Notes.
58 MCP Tools + Safety Net: Every write/edit/patch/delete creates an automatic backup in
~/.codebase_mcp(undo&edit_history). Supports--read-only,--no-shell, and project-root path sandboxing.
Related MCP server: itaca
Architecture
Claude Desktop / Claude Code / Codex / Gemini CLI / Cursor / ChatGPT
│ MCP (stdio, Streamable HTTP /mcp, or Legacy SSE /sse)
▼
codebase_mcp.py ──► ~/.codebase_mcp/index.db (SQLite FTS5 + symbols + notes + tasks + checkpoints)
│
├──► cbmcp_terminal.py (ConPTY / POSIX PTY / pipe interactive terminal dock)
├──► cbmcp_hardware.py (USB serial monitors + ESP-IDF/PlatformIO/Arduino detection)
└──► codebase_ui.html (Live local Web IDE on http://127.0.0.1:8765)Quick Start
Option A: Windows Desktop App (No Python Needed)
Download
ClaudeDesktopCoderMCP-Setup-*.exe(or portableCodebaseMCP-win32.zip) from Releases.Run the installer — it installs
CodebaseMCP.exeandcodebase-mcp.exeto%LOCALAPPDATA%\Programs\CodebaseMCP, creates Start Menu & Desktop shortcuts, addscodebase-mcpto yourPATH, and can auto-register Claude Desktop.
Option B: Run or Install from Source (Windows / macOS / Linux)
git clone https://github.com/Mars-Shamim/claude-desktop-coder-mcp.git
cd claude-desktop-coder-mcp
# 1. Verify everything works (runs 106 end-to-end checks)
python selftest.py
# 2. One-click register in Claude Desktop (supports both standard & Windows Store MSIX)
python codebase_mcp.py --install-claude
# 3. Or launch the Web IDE + HTTP MCP server directly
python codebase_mcp.py --transport http --project /path/to/your/repo --openOn Windows, you can also double-click install.bat (or run powershell -ExecutionPolicy Bypass -File install.ps1) to build & install the standalone Desktop App locally.
Transports & Clients
Claude Desktop (auto-setup):
python codebase_mcp.py --install-claude(writesclaude_desktop_config.jsonwith--ui-port 8765, then restart Claude Desktop).Claude Code:
claude mcp add codebase -- python /path/to/codebase_mcp.py --project /path/to/repoCodex CLI (
~/.codex/config.toml):[mcp_servers.codebase] command = "python" args = ["/path/to/codebase_mcp.py", "--project", "/path/to/repo"]Gemini CLI (
~/.gemini/settings.json):{ "mcpServers": { "codebase": { "command": "python", "args": ["/path/to/codebase_mcp.py", "--project", "/path/to/repo"] } } }Web ChatGPT / Remote Connectors: Run
python codebase_mcp.py --transport http --project /path/to/repobehindcloudflared tunnel --url http://127.0.0.1:8765and connecthttps://<tunnel>/mcp?token=<TOKEN>(use--read-onlyor--no-shellwhen exposing remotely).
58 Built-in MCP Tools
Category | Tools |
Project & Context |
|
Search & Symbols |
|
Files (Read) |
|
Files (Edit + Undo) |
|
Diagnostics, Git & Web |
|
Shell & Processes |
|
Interactive Terminal |
|
Hardware & Serial |
|
Memory & Handoff |
|
Building the Standalone Desktop Bundle
pip install pyinstaller
python build.py --zip # creates dist/CodebaseMCP/ and dist/CodebaseMCP-win32.zip
iscc setup.iss # optional (Inno Setup 6): builds Output/ClaudeDesktopCoderMCP-Setup-1.0.1.exeSecurity
File tools are sandboxed to registered project roots by default (use
--unrestrictedonly if you want full PC access).run_command,bg_start, andterm_*run with your user permissions; use--no-shellor--read-onlyfor untrusted/remote sessions.HTTP/UI endpoints require a bearer token (
python codebase_mcp.py --print-token/--rotate-token) and bind to127.0.0.1by default.See SECURITY.md for reporting vulnerabilities.
Contributing & License
Contributions are welcome! See CONTRIBUTING.md and run python selftest.py before submitting a PR.
Licensed under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Context, runtime and review for AI coding agents. One local install.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
One memory for Claude Code, Cursor and Codex on every machine, versioned with diff and rollback
Let ChatGPT and Claude read and edit files, search and run commands on your own computer.
Related MCP Servers
- FlicenseBqualityDmaintenanceA fully local, privacy-first MCP server that gives AI coding assistants deep repository intelligence with file-and-line-cited answers, persistent semantic memory, and agentic abilities like task planning and code review—all without any cloud API calls.23-
- AlicenseNot gradedqualityCmaintenanceLocal-first MCP server that indexes all projects on your machine and provides coding agents with briefings about each project's stack, services, and run instructions, so they can start sessions with context across all repos. No cloud, no accounts, no telemetry.16 npmMIT
- AlicenseNot gradedqualityDmaintenanceProvides AI coding agents with low-latency project intelligence, including workspace setup, encrypted backups, diagnostics, evolution digests, and cross-project pattern scoring from local SQLite data.MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to read and write persistent local memory during sessions, storing and semantically searching project decisions, preferences, error patterns, guidelines, and cross-project standards from SQLite stores on the user's machine. An optional companion server also exposes an autonomous task queue for executing queued work.-