agentsync
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENTSYNC_REPO | Yes | Path to your local clone | |
| AGENTSYNC_BRANCH | No | Coordination branch name | agentsync |
| AGENTSYNC_REMOTE | No | Git remote name | origin |
| AGENTSYNC_AGENT_ID | Yes | Your unique agent id | |
| AGENTSYNC_PARTNER_GITHUB | No | Partner's GitHub user, invited by provision() |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_collaboratorA | Invite one or more people as collaborators on the shared repo so they can push to it. Use this when the repo already exists and you just want to grant partners access (provision() does this too, but only as part of first-time setup). This is how you build a team of more than two. github_username : one or more GitHub users, comma- or space-separated (e.g. "jarmstrong158" or "alice, bob, carol"). permission : pull | triage | push | maintain | admin (default push). Each invited user must accept the GitHub invitation before they can push.
Requires the |
| provisionA | Create the shared GitHub repository if it doesn't exist yet, then leave both collaborators ready to use the claim protocol. Run this ONCE, by one person, before anyone calls survey()/claim(). It is idempotent — safe to re-run; each step is skipped if already done. What it does, in order:
repo : 'owner/name', bare 'name' (owner = you), or '' to use the AGENTSYNC_REPO folder name. partner_github : one or more GitHub usernames to invite, comma- or space-separated (overrides env). Supports a whole team. private : create the repo private (default) or public. description : optional GitHub repo description. Requires the |
| surveyA | Pull the latest coordination state and report what every other agent has claimed: task, files touched, dependencies, branch, status, timestamp. Works for any number of collaborators, not just one. Each partner entry is annotated with |
| claimA | Stake a claim on a unit of work. touches : files/modules you will modify requires : files/modules you depend on (omit if none) branch : the branch your work will live on force : claim even if an overlap with an active peer claim is detected Refuses (status="blocked") if your plan collides with a peer's active claim, returning exactly what overlaps and with whom, unless force=True. The overlap is evaluated against freshly fetched state immediately before the push, so a peer who claimed first will be seen here. |
| check_conflictsA | Detect conflicts between your branch and your partners' branches. Reports two levels:
claim_overlap : set intersection of touched files (intent level)
merge_conflict : a real dry-run merge via against_branch lets you check one specific branch; default checks every branch named in a peer's active claim. Your own branch is taken from your current claim. claim_overlap is intent-level, so it only exists where intent was declared. If against_branch names a branch no active claim mentions, claim_overlap is reported as an explicit {"status": "unknown"} object naming the reason — never as an empty list, which would read as a verified all-clear. |
| releaseA | Abandon your current claim WITHOUT marking it done, freeing the files you were holding so a partner can take them over. Use this when you're dropping the task or stepping away — otherwise a crashed or abandoned claim blocks those files indefinitely (the only other exits are 'done' or manual git surgery). Pushes immediately. |
| update_statusA | Update your own claim's status (e.g. 'in-progress' -> 'done') and
optionally attach a note for your partner. Pushes immediately. On 'done' the
claim is auto-annotated with |
| finishA | Close the loop: mark your claim done AND open a GitHub pull request from your claimed branch into the default branch, so your work lands in review. note : PR body (falls back to your claim's existing note). title : PR title (falls back to your claim's task). draft : open the PR as a draft. Your branch must already be pushed. If a PR for the branch already exists,
its URL is returned instead of erroring. Requires the |
| historyA | The coordination timeline: who claimed, finished, or released what, and
when — read from the git history of claims.json. Newest first. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jarmstrong158/agentsync'
If you have feedback or need assistance with the MCP directory API, please join our Discord server