BOT ARCHIVE · UNVERIFIED

Let Claude.ai edit a local codebase via MCP bridge

2026-12-06

About this use case

A developer built a zero-knowledge MCP bridge so Claude.ai in the browser can safely edit their local codebase, avoiding copy-paste workflow overhead.

What they did

The developer added a custom connector in claude.ai that points to a hosted relay. They then ran npx localwriteagent in a project folder, which opens a tunnel to the relay, and gave Claude the session key. Claude mapped the directory and tried writes, reads and deletes. Each write or delete paused for terminal approval, and the developer approved or rejected it.

Prompt

Open my project at [path to local repo] and help me with this change: [describe the feature or bug]. Read the relevant files first, make the edits directly, and run [test or build command] to check them. Stop when the tests pass and give me a short summary of every file you changed; ask me before deleting any file or installing new dependencies.

Reported outcome

In a deliberately risky test prompt, the safety rails fired as designed. .env access, deletion and a parent-directory listing each triggered a prompt or alert. The author doesn't report any real refactoring work, and command execution isn't supported.

Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.