# jecbridge [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/sanakulovme/jecbridge  
**GitHub Stars:** 1  
**npm Downloads (last month):** 753  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/jecbridge

## Description
Connect any local code project to any AI (ChatGPT, Claude, Cursor) over MCP — read, edit, run and build, with automatic checkpoints and undo.

## Tools
Capabilities this server exposes over MCP:

- **project_info** — Project type and key files (package.json, README…)
- **list_files** — File tree (respects .gitignore, skips node_modules)
- **read_file** — Read with line numbers, optionally a line range
- **search_code** — Regex search across the project (ripgrep)
- **write_file** — Create a file or replace it completely
- **edit_file** — Replace an exact text snippet (no full rewrite)
- **run_command** — npm install`, `npm test`, `python main.py`…
- **start_process** — Run a dev server or watcher in the background (`npm run dev`) and get its URL
- **check_page** — Open a page in a headless browser: screenshot, console errors, failed requests; click and type to test it. Works for dev servers and plain HTML files
- **http_get** — Check a page or API of its own dev server (only ports started with `start_process`)
- **task_plan** — A checklist for multi-step work, so the AI doesn't report "done" too early
- **diff** — What changed since a checkpoint
- **undo** — Roll back to a checkpoint (the undo itself can be undone)

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "jecbridge": {
    "command": "npx",
    "args": ["-y","jecbridge"]
  }
}
```

## Documentation

## What jecbridge does

jecbridge gives an MCP-compatible AI access to a selected local project. The agent can inspect project metadata and file trees, read files with line numbers, search source code with regular expressions, create or replace files, and apply exact text edits. It can also delete or move paths, run commands, start background processes, inspect their output, and stop them.

The server is intended for work that needs execution and verification, not just code suggestions. An agent can install dependencies, run tests or builds, start a development server, inspect its logs, and test a page in a headless browser. `check_page` can capture screenshots, report console errors and failed requests, and interact with pages by clicking or typing. `http_get` checks pages or APIs served by processes started through the server.

## How it works

Run jecbridge against a project directory. With `--stdio`, a local MCP client launches it directly. With `--tunnel`, jecbridge exposes an HTTPS MCP endpoint through a Cloudflare tunnel so a web-based AI can connect. The tunnel URL includes a generated secret token; anyone who has the complete URL receives the same access as the connected AI.

A project can be new or already populated. The target folder is created when needed. Git is optional, but it enables the checkpoint and undo workflow described for project changes. jecbridge also maintains its own project-state checkpoints: changes are checkpointed automatically before modifications, and `diff` shows changes from a checkpoint. Undo restores the selected project state, and the state before the undo is retained so the undo can itself be reversed.

## Setup and configuration

Node.js 22 or newer is required. A quick start uses `npx jecbridge /path/to/project --tunnel`. Local clients can instead use a stdio configuration with `npx -y jecbridge /full/path/to/project --stdio`. The repository can also be cloned, installed with `npm install`, and linked with `npm link`.

Useful options include `--port` and `--host` for HTTP transport, `--token` for a chosen secret, and `--new-token` to invalidate the saved token and old tunnel URLs. `--deny` adds file patterns to hide, and `.jecbridgeignore` can provide those exclusions. `--read-only` disables writes, commands, and project saves. Command execution can be restricted with `--allow`, or broadened with `--allow-all-commands`.

When tunneling is enabled, cloudflared is downloaded automatically if needed. The tunnel URL should be treated like a password and regenerated if exposed.

## Tools and capabilities

- Inspect project metadata, key files, trees, file contents, and regular-expression search results.
- Write, edit, delete, move, and rename project paths.
- Run foreground commands and manage background development servers or watchers.
- Test local pages with screenshots, browser interactions, console output, and failed-request reporting.
- Track multi-step work with task plans, checkpoints, diffs, and reversible undo operations.
- Load and run scripts from configured skills.

## Limitations and notes

Undo restores project files within the selected project state. It does not restore ignored directories such as `node_modules`, `dist`, `build`, `.venv`, `.env*`, or other `.gitignore` matches. It also cannot reverse external side effects such as global installations, database changes, API calls, emails, Git operations outside the project, or changes outside the project folder.

The tunnel grants the connected AI broad access to the project according to the enabled tools and command settings. Keep the token private. On Windows, paths containing spaces need quoting, and some Claude Desktop configurations require launching `npx` through `cmd`.

_Full upstream README: https://allmcps.com/mcp/jecbridge/readme_

