agentdraft-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentdraft-mcpWhat time slots are available for me tomorrow?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agentdraft-mcp — MCP server for AgentDraft
An MCP server that exposes AgentDraft — the ops API for AI agents with inbox, conflict-free calendar, and audit tools — as a set of tools any MCP-aware AI client can call.
Use this if your agent runtime is Claude Desktop, Claude Code, Cursor,
Cline, an OpenAI Agents SDK app, or any other MCP host. The server is
a thin wrapper around the agentdraft
Python SDK — same auth, same errors, same semantics as the REST API
and the language SDKs.
Install
pip install agentdraft-mcpRequires Python 3.10+ and a valid avs_live_… agent key from the
AgentDraft dashboard.
Related MCP server: Generic MCP Server for Google Workspace
Upgrade
pip install -U agentdraft-mcpRelease notes: https://agentdraft.io/changelog
Configure your MCP client
agentdraft-mcp is on PyPI, so once it's installed the JSON config below
works on any MCP host right now — no extra downloads.
Claude Desktop / Claude Code — JSON config (recommended)
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or the equivalent on Windows/Linux:
{
"mcpServers": {
"agentdraft": {
"command": "agentdraft-mcp",
"env": {
"AGENTDRAFT_API_KEY": "avs_live_..."
}
}
}
}Cursor / Cline / generic stdio host
{
"mcpServers": {
"agentdraft": {
"command": "python",
"args": ["-m", "agentdraft_mcp"],
"env": {
"AGENTDRAFT_API_KEY": "avs_live_..."
}
}
}
}For local development against a dev backend, also set
AGENTDRAFT_BASE_URL=http://localhost:8080.
Claude Desktop — .mcpb Desktop Extension (drag-drop)
Each release also ships a .mcpb Desktop Extension bundle on
GitHub Releases. Drag agentdraft-mcp.mcpb into Claude
Desktop → Settings → Extensions and paste your avs_live_… API key — no
JSON editing, no pip install.
Tools
Tool | Purpose |
| Confirm the API key and return the agent's identity, priority, scopes, and the owner's |
| List slots open to the calling agent in [start, end) |
| Reserve a slot tentatively (30 s TTL); optional |
| Release a hold so other agents can claim it |
| Finalize a booking — atomic compare-and-swap; optional |
| Cancel a committed booking the calling agent owns |
All times are ISO 8601 strings (2026-06-01T14:00:00Z). All write
tools accept an idempotency_key for safe retries. create_hold and
commit_booking also accept an optional title and invitee
({name, email, notes}) recording who the slot is for — surfaced to the
owner in the dashboard.
How conflicts surface
When two agents race for the same slot, exactly one wins. Losing agents receive a structured outranked payload — not a string error:
{
"error": "outranked",
"winning_booking_id": "bkg_…",
"winning_agent_id": "agt_…",
"winning_agent_priority": 1,
"your_priority": 3,
"message": "Your booking was outranked. Read winning_agent_id and propose an alternate slot rather than retrying."
}Your agent should branch on this and propose an alternate, not retry the same slot.
How this differs from the AgentDraft SDKs
Python/TS SDK | MCP server | |
Caller | App code you wrote | An AI client (Claude Desktop, etc.) |
Transport | HTTPS direct to api.agentdraft.io | stdio between the MCP host and this process |
Auth |
|
|
Semantics | Same | Same |
Errors | Typed Python exceptions | Structured JSON in the tool result |
Use the SDK when you are writing the agent. Use this MCP server when someone else's agent runtime (Claude Desktop, Cursor, Cline, generic MCP host) needs to call AgentDraft on a user's behalf without custom code.
Links
Protocol spec: https://agentdraft.io/spec
API docs: https://agentdraft.io/docs
Changelog: https://agentdraft.io/changelog
Python SDK:
agentdraftTypeScript SDK:
agentdraftIssues: https://github.com/ryabinski-labs/agentdraft-mcp/issues
Security
Found a vulnerability? See SECURITY.md. Do not open a public issue for a security report.
Contributing
See CONTRIBUTING.md. ryabinski-labs/agentdraft-mcp
is a published mirror of a directory in AgentDraft's private application
repository — issues and pull requests are read there, and land back through
the next release sync.
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Phone, SMS & email for AI agents — one remote MCP endpoint, OAuth login, zero install.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceExposes identity, tools, workflows, guardrails, and evaluation as MCP tools — so any AI agent can read and write your ecosystem programmatically.3 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to send emails, create drafts in Gmail, and append content to Google Docs via standardized MCP tools.20 npmISC
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to send and draft Gmail emails and append content to Google Docs through standardized MCP tools.5 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to register, send/receive email, store encrypted credentials, emit audit events, and query behavioral trust scores via MCP tools.1 npm5MIT