asynkor

asynkor

Coordination layer for AI coding agents working on the same codebase. Adds file locks, shared project memory, and cross-machine file sync so Claude Code, Cursor, Windsurf, and other MCP agents stop overwriting each other.

Category
访问服务器

README

<p align="center"> <a href="https://asynkor.com"> <img src="media/banner.png" alt="Asynkor — coordination layer for AI coding agents" /> </a> </p>

<p align="center"> <strong>The coordination layer for AI coding agents.</strong><br /> Git prevents conflicts at merge time. Asynkor prevents them at edit time. </p>

<p align="center"> <a href="https://www.npmjs.com/package/@asynkor/mcp"><img src="https://img.shields.io/npm/v/@asynkor/mcp?style=flat-square&color=0D7C72" alt="npm" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square" alt="License" /></a> <a href="https://github.com/asynkor/asynkor/stargazers"><img src="https://img.shields.io/github/stars/asynkor/asynkor?style=flat-square" alt="Stars" /></a> <a href="https://asynkor.com/docs"><img src="https://img.shields.io/badge/docs-asynkor.com-black?style=flat-square" alt="Docs" /></a> <img src="https://img.shields.io/badge/status-production-3FB950?style=flat-square" alt="Status: production" /> </p>

<p align="center"> <a href="https://asynkor.com">Website</a> · <a href="https://asynkor.com/docs">Documentation</a> · <a href="#quickstart">Quickstart</a> · <a href="#self-hosting">Self-hosting</a> · <a href="https://github.com/asynkor/asynkor/discussions">Community</a> </p>


<p align="center"> <img src="media/dashboard-hero.png" alt="Asynkor dashboard — live view of agents, leases, and team activity" /> </p>

What is Asynkor

Your team runs Claude Code on one laptop, Cursor on another, Windsurf on a third. The agents don't know about each other. They overwrite each other's edits, duplicate each other's work, and forget yesterday's decisions.

Asynkor gives them one shared brain. Atomic file leases stop two agents from editing the same file. File snapshots flow across machines without git pull. Architectural decisions accrue in a memory every agent inherits. Run any MCP-compatible agent — Claude Code, Cursor, Windsurf, JetBrains, Codex.

See it in action

Live overview — who's working, on what, where

<p align="center"> <img src="media/demo-overview.gif" alt="Live dashboard showing agents, active work, leases, and team activity" /> </p>

Connected agents, what each is doing, which files are leased, recent activity, the long-term project context — one screen, real-time.

Put it on a second monitor. You'll see conflicts forming before they happen and notice when an agent goes silent.

Board — four ways to view the same work

<p align="center"> <img src="media/demo-board.gif" alt="Board page cycling through Table, Board, Timeline, and Graph views" /> </p>

One Board page, four lenses. Table to scan everything in rows. Board for the live state (active / parked / leases). Timeline for who ran what when, with pan/zoom. Graph for the agent ↔ files constellation with conflict pulses.

Each view answers a different question: what's happening now, when did it happen, who's sharing files with whom.

Everything else — context, rules, zones, members, audit, settings

<p align="center"> <img src="media/demo-more.gif" alt="Walkthrough of Context, Rules, Memory, Zones, Members, API Keys, Audit Log, and Settings" /> </p>

The rest of the dashboard in one pass: Context (the long-term project doc), Rules (architectural guardrails), Memory (compounding team knowledge), Zones (protected paths), Members (invites and roles), API Keys, Audit Log, Settings. Every agent inherits all of it on the next session.

Five minutes of setup, then every future agent on the team inherits all of it — no onboarding, no re-explaining.

When to use it

  • Multi-machine teams — two devs on separate laptops, both with agents editing the same repo. No more "I'll wait until you push."
  • Solo devs across IDEs — Claude Code at work, Cursor on the personal Mac, Windsurf in JetBrains. One brain across all three.
  • Large agent fleets — five or more concurrent agents on one codebase. Path-level leasing prevents the chaos that emerges past 3.
  • Cross-repo orchestration — agents on frontend/ and backend/ that need to know about each other's work without manual sync.

How it works

Agent A                          Asynkor                          Agent B
  │                                │                                │
  ├─ asynkor_start(paths=[api.ts]) │                                │
  │  ◄── lease acquired ──────────►│                                │
  │                                │◄── asynkor_start(paths=[api.ts])│
  │                                │──► BLOCKED: api.ts leased      │
  │  ... editing api.ts ...        │                                │
  │                                │     ... works on other files...│
  ├─ asynkor_finish(snapshots)     │                                │
  │  ◄── leases released ────────►│                                │
  │                                │◄── asynkor_lease_wait(api.ts)  │
  │                                │──► acquired + file snapshot    │
  │                                │     writes snapshot to disk    │
  │                                │     edits on top of A's work   │
  │                                │                                │
  │         Both commit. Zero conflicts.                            │

When an agent starts work, it leases the files it plans to touch. Other agents wait. When the first agent finishes, it uploads a snapshot of the files it changed. The next agent receives the snapshot, writes it locally, and edits on top. No git pull. No merge conflicts.

Features

  • File leasing — atomic Redis Lua scripts, 5-minute TTL, auto-refreshed while alive.
  • Cross-machine file sync — file content rides through the server in file_snapshots. Two laptops, no git pull.
  • Parking and handoffs — pause mid-work, hand off to another agent or developer via handoff_id. Plan, progress, and decisions inherit.
  • Overlap detection — path-level + plan-text similarity. Catches collisions before edits begin.
  • Compounding team memory — agents asynkor_remember() what they learned. Every future session inherits it.
  • Protected zoneswarn, confirm, or block on path globs. Guardrails for migrations/, billing/, secrets directories.
  • Live dashboardasynkor.com/dashboard shows active agents, leases, parked work, conflicts, and activity in real time.
  • Any MCP agent — Claude Code, Cursor, Windsurf, VS Code Copilot, JetBrains, Zed, Codex CLI.

Quickstart

One command. Auto-detects every IDE on your machine and wires Asynkor MCP into each.

npx -y @asynkor/mcp login

Opens your browser, signs you in, and runs asynkor install automatically — registering Asynkor in Claude Code, Cursor, Windsurf, Zed, VS Code, and Codex CLI (whichever are installed). Restart your editor afterwards.

Already have an API key from the dashboard:

ASYNKOR_API_KEY=cf_live_... npx -y @asynkor/mcp install

Installed a new IDE later? Re-run asynkor install — idempotent, picks up the new IDE without touching the others.

<details> <summary><strong>Manual / project-scope setup</strong></summary>

For project-scoped config (.asynkor.json + CLAUDE.md + per-IDE config inside one repo):

cd your-project
ASYNKOR_API_KEY=cf_live_... npx @asynkor/mcp init

Or wire any MCP-compatible agent manually:

{
  "mcpServers": {
    "asynkor": {
      "command": "npx",
      "args": ["-y", "@asynkor/mcp", "start"],
      "env": { "ASYNKOR_API_KEY": "your_key_here" }
    }
  }
}

Works with Cursor, Windsurf, VS Code (Copilot), JetBrains, Zed, Codex CLI, Trae, Antigravity, and any MCP-compatible agent.

</details>

MCP Tools

Coordination + history

Tool Purpose
asynkor_briefing Team state: active work, leases, parked sessions, memory, follow-ups, inbox
asynkor_start Declare work + acquire file leases
asynkor_check Check rules, zones, leases for specific paths
asynkor_remember / asynkor_forget Save / drop short-term staging memories
asynkor_finish Complete work, release leases, upload file snapshots
asynkor_park Pause work for another agent to resume
asynkor_lease_acquire / asynkor_lease_wait Lease additional files mid-work / wait for blocked ones
asynkor_cancel Clean up stale or orphaned work
asynkor_context / asynkor_context_update Read / atomically rewrite the long-term project doc
asynkor_switch_team Switch the active team (user-scoped API keys)

Agent comms (v0.2 — async messaging between agents)

Tool Purpose
asynkor_inspect Read live state of one teammate's work without interrupting
asynkor_ask Open an async thread (work / host / team)
asynkor_inbox List threads addressed to me
asynkor_thread Read a thread's full transcript
asynkor_reply Append a reply (optionally close)

Full reference at asynkor.com/docs.

Built with

  • Go — MCP server, Lua scripts for atomic Redis ops, NATS pub/sub
  • Redis — coordination spine: leases, work state, file snapshots
  • TypeScript — local stdio↔HTTP+SSE proxy that ships as @asynkor/mcp
  • MCPModel Context Protocol so any compliant agent works out of the box

Architecture

Agents (Claude Code, Cursor, Windsurf, Codex)
        │
        │  stdio (MCP protocol)
        ▼
┌─────────────────────────────────┐
│  @asynkor/mcp (TypeScript)      │  ← npm package, runs locally
│  Local MCP proxy                │
└────────────────┬────────────────┘
                 │  HTTP + SSE
                 ▼
        ┌───────────────────┐
        │  asynkor-mcp (Go) │  ← this repo
        │  Coordination     │
        └──┬─────┬─────┬────┘
           │     │     │
        Redis  NATS  HTTP → Backend API
        (leases, (pub/sub)  (auth, teams,
         work,              persistence)
         sync)

Go MCP server — real-time coordination. File leasing through atomic Lua scripts. Work tracking, overlap detection, team memory distribution, file snapshot sync.

TypeScript client — local stdio↔HTTP+SSE proxy. Bridges what IDEs speak (stdio MCP) to what the server speaks (HTTP+SSE). One npm install per developer.

Redis — the coordination spine. Leases, active work, sessions, file snapshots. All operations through atomic Lua scripts to eliminate race conditions.

Self-hosting

Run the full stack with Docker Compose:

git clone https://github.com/asynkor/asynkor.git
cd asynkor
cp .env.example .env  # edit with your values
docker compose up -d

Services: Go MCP server, Redis, NATS. The server is stateless — Redis holds all coordination state.

For production deployment with TLS, backups, and monitoring, see the self-hosting guide.

Documentation

Full docs at asynkor.com/docs:

Community

Contributing

See CONTRIBUTING.md for development setup and guidelines.

License

Apache 2.0

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选