JecBridge MCP
Allows ChatGPT to connect to a local code project via a custom connector over MCP, enabling reading, editing, creating, deleting files, running commands and dev servers, managing checkpoints, and undoing changes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@JecBridge MCPcreate a Vite + React landing page and start the dev server"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
JecBridge MCP
π¬π§ English Β· πΊπΏ O'zbekcha
Connects any code project on your computer to any AI over MCP: claude.ai, ChatGPT, Claude Desktop, Cursor, Claude Code, VS Code. The AI can read the project, change it, run its tests or build it from scratch. A checkpoint is taken automatically before every change, so if the AI makes a mistake you roll back with one command.
Quick start
The only requirement is Node.js 22+. Then one line:
npx jecbridge my-app --tunnelThat's it. The folder is created if it doesn't exist, the tunnel tool (cloudflared) is downloaded automatically the first time, and the connector URL is copied to your clipboard. Paste it into your AI:
claude.ai: Settings β Connectors β Add custom connector
ChatGPT: Settings β Apps & Connectors β Developer mode β Create
Gemini: Settings β Connected Apps β Add a custom app
Then ask, for example: "Build a calculator with HTML and CSS in this project." or "Create a Vite + React site and start it." The AI starts the dev server itself and gives you the http://localhost:... link.
git is optional but recommended: with it, every change gets an automatic checkpoint and can be undone. Without git, everything else works.
Related MCP server: codebase-mcp
Install from source
git clone https://github.com/sanakulovme/jecbridge.git
cd jecbridge
npm install
npm link # optional: makes the "jecbridge" command available everywhereWindows
Install Node.js (and optionally git) once, from PowerShell:
winget install OpenJS.NodeJS.LTS
winget install Git.Git # optional: enables checkpoints and undoClose and reopen PowerShell, then:
npx jecbridge $HOME\Desktop\my-app --tunnelWindows notes:
Paths with spaces. Put them in quotes:
npx jecbridge "C:\My Projects\app" --tunnelnpx in JSON config. Claude Desktop on Windows may not find
npxdirectly; use"command": "cmd"with"args": ["/c", "npx", "-y", "jecbridge", ...].JSON config. In Claude Desktop or Cursor config, write
\twice ("C:\Users\Abbos\my-app") or use/("C:/Users/Abbos/my-app").Windows Firewall. If asked, allow Private networks. The server only listens on
127.0.0.1and is reachable from outside only through the tunnel.CRLF files. Windows line endings (CRLF) are handled automatically: edits don't break the file format.
1. Web AIs (claude.ai, ChatGPT, Gemini)
A web AI can't see your computer, so JecBridge opens a tunnel:
npx jecbridge ~/projects/my-app --tunnelThe terminal prints a public URL like https://xxxx.trycloudflare.com/mcp/<token> and copies it to the clipboard. If cloudflared isn't installed, the official binary is downloaded once from Cloudflare's GitHub releases into ~/.jecbridge/bin.
β οΈ The URL contains a secret token, never share it. The token is stored in
.jecbridge/token; delete that file to get a new one. A quick tunnel URL changes on every start. For a permanent address, use a Cloudflare named tunnel or an ngrok static domain.
2. Local clients (stdio)
Claude Desktop (claude_desktop_config.json) and Cursor (.cursor/mcp.json):
{
"mcpServers": {
"jecbridge": {
"command": "npx",
"args": ["-y", "jecbridge", "/FULL/PATH/my-app", "--stdio"]
}
}
}Claude Code:
claude mcp add jecbridge -- npx -y jecbridge /path/my-app --stdio3. A new project from scratch
npx jecbridge ~/projects/new-project --tunnelThen tell the AI: "Build a Next.js + Tailwind landing page in this folder and check it with npm run build."
Options
Option | What it does |
| stdio transport (Claude Desktop, Cursor, Claude Code) |
| HTTP port (default |
| HTTP host (default |
| Public HTTPS URL for web AIs (cloudflared is downloaded automatically) |
| Secret token (default: generated and saved; also |
| No writes, no commands, nothing saved in the project |
| Replace the command allowlist |
| Allow any shell command (use with care) |
Tools the AI gets
Tool | What it does |
| Project type and key files (package.json, READMEβ¦) |
| File tree (respects .gitignore, skips node_modules) |
| Read with line numbers, optionally a line range |
| Regex search across the project (ripgrep) |
| Create a file or replace it completely |
| Replace an exact text snippet (no full rewrite) |
| Delete, move, rename |
|
|
| Run a dev server or watcher in the background ( |
| Read a background process's logs, stop it |
| Save and list project states |
| What changed since a checkpoint |
| Roll back to a checkpoint (the undo itself can be undone) |
Security
Folder jail.
../, absolute paths and symlinks can't escape the project.Secrets are hidden.
.env*,.git/,*.pem,*.keyand SSH keys can't be read, written or found by search.Command allowlist. By default only
npm,node,python,pytest,go,cargo⦠are allowed. Chaining with&&,|,;,$(, plusgit pushandgit -C/--git-dir, is blocked.Command arguments are checked too:
cat .env,cat ../file,ls /and--prefix=..are rejected.Environment variables whose names contain
TOKEN,SECRET,PASSWORD,API_KEYorAUTHare not passed to commands.No shell is used:
%VAR%isn't expanded on Windows, and arguments with spaces stay intact.On timeout the command is stopped together with all its child processes.
Change the list:
--allow npm,node,pythonAllow everything:
--allow-all-commands. Only on your own machine and with an AI you trust.
Separate checkpoints. Stored in
.jecbridge/shadow.git. Your own.githistory is never touched.Token. Required on every HTTP request, in the URL or as
Authorization: Bearer.--read-only. Read-only mode (for code review). Nothing is written into the project; server data lives in the temp folder.
β οΈ Safe mode is not a sandbox. Allowed programs such as
node,pythonornpm testrun project code, and that code can read any file on disk. The allowlist protects against accidents, not against a malicious AI or project. For real isolation, run JecBridge inside a Docker container or as a separate user.
Add
.jecbridge/to your own.gitignore.
AIs without MCP support
Plain APIs like DeepSeek, Ollama or the OpenAI API need an agent with an MCP client, for example:
Cline or Continue (VS Code). They work with any OpenAI-compatible API and MCP servers.
OpenAI Agents SDK. Connect to the same URL with
MCPServerStreamableHttp.
Tests
npm test # 28 end-to-end tests: build from scratch, edit, undo, security, dev servers, stdio, read-only, no-gitLicense
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client β Claude, ChatGPT, Cursor, Cline, Windsurf.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceTurns local project directories into persistent MCP workspaces, allowing AI agents to read files, modify code, run commands, manage Git, and save session progress across conversations.-
- AlicenseAqualityCmaintenanceZero-config MCP server that connects local codebases to AI assistants, providing secure project tree, regex search, file reading, and tech stack tools locally.48 npmMIT
- AlicenseAqualityBmaintenanceConnects ChatGPT to a local developer workspace through MCP, enabling bounded repository analysis, file and image inspection, direct edits, command verification, and Git-aware review.22MIT
- AlicenseNot gradedqualityBmaintenanceConnects MCP-compatible AI clients and agents to one durable Project Brain plus controlled access to authorized project folders on your own machine. Enables file editing, terminal and Git operations, project intelligence, browser automation, and local MCP server federation, all scoped to explicit workspace grants.38 npmApache 2.0