DEV Community

Cover image for Show DEV: I Built a Zero-Knowledge MCP Bridge to Let Claude.ai Edit My Local Codebase Safely

Show DEV: I Built a Zero-Knowledge MCP Bridge to Let Claude.ai Edit My Local Codebase Safely

QuantumTechCoder on December 04, 2026

If you use claude.ai in the browser for coding, you already know the workflow tax: ask Claude for a refactor, wait for the artifact, copy the file,...
Collapse
 
quantumtechcoder profile image
QuantumTechCoder Necoz •

Whats the next update we should add to this? Adding command execution?
Let me know in the comments!

P.S: @effessdev Bro, I know this feels like I'm copying your ReptClip, but uh the reality is that I saw your ReptClip project after I was halfway done through LocalWriteAgent-MCP.

Collapse
 
effessdev profile image
EffessDev Necoz •

No no no hehe this is completely fine 😊 Its purpose is quite different from ReptClip. We are deliberately not adding these kinds of features to it because we need it to be compatible with any chatbot with zero setup! Continue building!!! πŸ”₯

Collapse
 
quantumtechcoder profile image
QuantumTechCoder Necoz •

Ha ha, I just aimed for frontier models - those always have MCP server linking configurations in settings 😁

Thread Thread
 
effessdev profile image
EffessDev Necoz •

Yeah yeah I understand! This project is different from ReptClip! It's made for clipboard only! ⚑ Zero setup, just install and use!

Thread Thread
 
quantumtechcoder profile image
QuantumTechCoder Necoz •

Zero setup? ReptClip definitely
Autonomy + Frontier model? LocalWriteAgent
🀣
P.S: star the project on github, im kinda star-less 🀣

Thread Thread
 
effessdev profile image
EffessDev Necoz •

Ok I'll star the project πŸ˜„ Please start ReptClip as well if you haven't already :)

Collapse
 
nyaomaru profile image
nyaomaru Necoz •

Interesting approach! πŸ˜ΈπŸ’š

I like the idea of keeping developers in control through interactive diff reviews and explicit permissions.

I'm curious to see how this architecture evolves! πŸ‘

Collapse
 
maxbuildsdev profile image
Max Kaya •

realpathSync closes the ../ and symlink escapes, but not hardlinks: ln .env notes.txt gives a path that canonicalizes to itself while the inode is still your credentials file, and your pattern list only ever sees the name. Comparing dev+ino of each write target against the guarded set (plain fs.statSync, no realpath) closes it, and it also catches the cp -l case for free.

The bigger hole is the entry point. npx localwriteagent resolves latest from npm on every run, so the thing getting read/write in my working directory is whatever was published most recently β€” I'd pin [email protected] in the README and have the CLI refuse to start when its own version doesn't match a configured one. Related: when the 45s relay timeout fires and the readline prompt aborts, what happens to a keypress that was already buffered in the tty? I'd want the pending approval record deleted before the abort, otherwise a late Y lands in the next prompt and approves something the model already gave up on.