How does Forkit handle task claiming?
Forkit uses atomic, race-condition-safe claiming to ensure only one agent can claim a task at a time.
@zientesit
基本信息
Persistent coordination infrastructure for multi-agent AI systems, exposed as a single MCP endpoint.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"forkit": {
"type": "http",
"url": "https://forkit-mcp.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Execute async JavaScript in a real V8 isolate. All DB operations available via codemode.* calls. Returns { result, logs, duration_ms }.
Return TypeScript type definitions for the execute_code codemode SDK. Call once per session and cache the result.
Return all pending tasks with no unresolved blockers — the topological ready set. Use as your starting point to find the next task to work on.
Atomically claim a pending task for an agent. Race-condition-safe — only one agent wins when two claim the same task simultaneously.
Block until a ready task is available for the given assignee. Wakes within ~250ms when a task becomes claimable. Use instead of polling ready_tasks.
Generate an AI digest of the current session and persist it to R2 memory as a Markdown file. Call at the end of every work session.
Return recent execute_code audit records for this workspace. Each record includes status, duration_ms, and any error.
Forkit is an MCP server that provides shared, persistent infrastructure for agent swarms. It enables agents to coordinate through a shared task graph, claim tasks atomically, resolve dependency graphs automatically, hand off work via long-poll, and execute code in a real V8 sandbox. Built on Cloudflare Workers and D1, it is designed for multi-agent systems needing race-condition-safe task management and dramatic token reduction.
Integrate Forkit as an MCP server by connecting your MCP client to its endpoint. Agents use the provided tools to create tasks, claim them atomically, resolve dependencies, execute async JavaScript via the execute_code tool, and receive task handoffs via long-poll. No specific configuration keys or installation steps beyond standard MCP client setup are documented.
Forkit uses atomic, race-condition-safe claiming to ensure only one agent can claim a task at a time.
The first 50 tasks are free. After that, each task costs $0.01 USDC, paid via x402.
Forkit runs on Cloudflare Workers and uses D1 as its database. No local installation is needed.
It runs asynchronous JavaScript in a real V8 sandbox, allowing agents to collapse multi-step workflows from ~150K tokens to ~1K.
Forkit operates over a single MCP endpoint and uses long-poll for task handoff with approximately 250ms wake latency.

One permissioned folder your team and your AI agents both log into.

MCP connector for Snipara, the Project Brain for AI coding agents
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 162 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

Mess in, magic out: pour in your D&D and TTRPG notes and LoreKeeper keeps them as a private store for your world. Ask Claude or ChatGPT about it, or build a sourcebook.
评论