Give your AI agents source control without learning git
Connect Claude, ChatGPT, Cursor or your own code to Tunc SRC: agents keep your projects and every saved version, in plain words.
Updated
An agent that builds a website or a tool with you over many chats needs a place to keep the files, and a way back when a change goes wrong. Source control does that, but it usually asks for a local copy, a command line and words like commit and branch. Tunc SRC is source control built for agents: five tools, one call each, and plain words. A project holds your files, a version is one save, and the agent does the saving.
1. Connect your AI app over MCP
Connect your assistant to https://mcp.tuncsrc.com/mcp and sign in with your Tunc account in the browser. In Tunc Hub, the same five tools are built in.
| Client | Steps |
|---|---|
| claude.ai, Claude Desktop and Claude mobile | Customize → Connectors → Add custom connector → name Tunc SRC, URL https://mcp.tuncsrc.com/mcp → Add → Connect. The Free plan allows one custom connector; on Team and Enterprise an Owner adds it under Organization settings → Connectors. This link opens the dialog with the name and URL filled in: |
| Claude Code | Add the server, then run /mcp, choose tunc-src and Authenticate. |
| ChatGPT | Settings → Apps & Connectors → Advanced → turn on Developer mode → Create → name Tunc SRC, URL https://mcp.tuncsrc.com/mcp, Authentication OAuth → Create → Connect. |
| Cursor | Add it to ~/.cursor/mcp.json, then Settings → MCP: it shows “Needs login” → Login. |
| VS Code (Copilot) | Command Palette → MCP: Add Server → HTTP → https://mcp.tuncsrc.com/mcp → name tunc-src → allow the sign-in prompt. |
| Gemini CLI | Add it to settings.json, then run /mcp auth tunc-src. |
| Copilot Studio | Tools → Add a tool → New tool → Model Context Protocol → URL https://mcp.tuncsrc.com/mcp → Authentication OAuth 2.0, Dynamic discovery. |
2. Ask in plain words
- “Keep this website in Tunc SRC and save a version after each change.” The agent creates a project with src_repo and saves with src_write: the changed files and one sentence saying what changed.
- “What changed since yesterday?” The agent lists the versions with src_read: who saved each one, when, and its sentence.
- “The last change broke it, go back one version.” The agent restores the earlier version with src_write. It is saved as a new version, so nothing is lost.
3. Several agents, one project
Every save names the version it started from. If another agent saved in between, the save is refused with version_conflict, and the agent reads again and redoes its change, so two agents cannot silently overwrite each other. src_events says what happened in a project since a position, so an agent can catch up before it starts.
From your own code, over REST or A2A
Agents use Tunc SRC natively over MCP and A2A. For scripts and your own software, create an API key at https://tunchub.com/account/keys/new and call https://api.tuncsrc.com/v1/tool with a tool name and its arguments:
# Your projects, each with its latest version
curl -s https://api.tuncsrc.com/v1/tool \
-H "Authorization: Bearer $TUNC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"src_repo","arguments":{"operation":"list"}}'
# Create a project, then save two files as its first version
curl -s https://api.tuncsrc.com/v1/tool \
-H "Authorization: Bearer $TUNC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"src_repo","arguments":{"operation":"create","project":"my-site"}}'
curl -s https://api.tuncsrc.com/v1/tool \
-H "Authorization: Bearer $TUNC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"src_write","arguments":{"project":"my-site",
"summary":"First version of the home page.",
"changes":[{"path":"index.html","content":"<h1>Hello</h1>"},
{"path":"css/site.css","content":"h1 { color: teal; }"}]}}'
# Every later save names the version it started from (if_version);
# a stale one is refused with version_conflict: read again and redo the change
curl -s https://api.tuncsrc.com/v1/tool \
-H "Authorization: Bearer $TUNC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"src_write","arguments":{"project":"my-site",
"summary":"Say hello to visitors by name.","if_version":"<version>",
"changes":[{"path":"index.html","content":"<h1>Hello, visitor</h1>"}]}}'
# The saved versions, newest first
curl -s https://api.tuncsrc.com/v1/tool \
-H "Authorization: Bearer $TUNC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"src_read","arguments":{"project":"my-site","operation":"versions"}}'Or call the A2A 1.0 agent:
curl -s https://a2a.tuncsrc.com -H "Authorization: Bearer $TUNC_API_KEY" -H 'A2A-Version: 1.0' \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"SendMessage","params":{"message":{
"messageId":"m-1","role":"ROLE_USER",
"parts":[{"data":{"skill":"src_repo","arguments":{"operation":"list"}},"mediaType":"application/json"}]}}}'
# → {"jsonrpc":"2.0","id":1,"result":{"message":{"role":"ROLE_AGENT",
# "parts":[{"data":{…the tool's result…},"mediaType":"application/json"}],…}}}Stay in control
Every connected app and API key is listed under Agents & keys on your account (https://tunchub.com/account?tab=agents). Narrow an agent to read-only or disconnect it at any time; a disconnected agent is refused within a minute.
Free: 1 GB of storage shared by Tunc Hub, Tunc Art, Tunc Doc, Tunc Orb and Tunc SRC.
