Martin Andrt CZ
Home / Insights / The loop where nothing gets copied
Integration · MCP

The Loop Where Nothing Gets Copied

Diagram: a phone, an app and a Mac connected in a loop; writes travel directly, with no copying between windows.

Claude AI on my phone now writes straight into my personal app, with no copying between windows. The app has its own MCP server, which I built with Claude Code without an SDK: plain JSON-RPC over Streamable HTTP in a single file. Here is why it exists, how it is built, and what the first day in use showed.

The weak spot in the loop

I have my own app for daily records, and three of us work with it: me, Claude Code on the Mac, and Claude AI on my phone. One spot kept snagging, though. Claude AI on the phone would prepare an entry, from a photo for example, and hand back a block of data, I copied it into Claude Code, and only then did Claude Code write it into the app. Three windows and two copy-pastes for every entry.

What came out

The app (SvelteKit on Vercel, Turso database) got its own MCP server. Claude AI has it connected on claude.ai as a connector and reaches into the app directly:

That is ten tools, all with Czech names.

How it is built

What the first day in use showed

I tried it for real right away, and Claude AI reported what did not fit:

Why it matters

An entry into the app is now one message on the phone instead of three windows and two copy-pastes. The server is a single file without an SDK, and both sides, Claude AI on the phone and Claude Code on the Mac, work on the same data. The pattern pays off wherever I repeatedly move the same kind of data between two tools I control.


Related. How the agent remembers between sessions is in the piece on persistent memory without a vector database, and how I isolate agent jobs from prompt injection is in the one on isolating autonomous jobs.