Catalog PyPI
PACKAGE EXPLORERView in registry

agentdraft-mcp

PyPI

MCP server for AgentDraft — expose inbox, conflict-free calendar, and audit tools to MCP-aware AI clients

agentdraftai-agentscalendarmcpmodel-context-protocolscheduling
Versions collected1
Direct dependencies2From release 0.1.1
Last observed20 Oct, 21:49 UTC

README

Version 0.1.1 documentation

agentdraft-mcp — MCP server for AgentDraft

PyPI License: MIT

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-mcp

Requires Python 3.10+ and a valid avs_live_… agent key from the AgentDraft dashboard.

Upgrade

pip install -U agentdraft-mcp

Release 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.

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

ToolPurpose
whoamiConfirm the API key and return the agent's identity, priority, scopes, and the owner's timezone
get_availabilityList slots open to the calling agent in [start, end)
create_holdReserve a slot tentatively (30 s TTL); optional title / invitee
release_holdRelease a hold so other agents can claim it
commit_bookingFinalize a booking — atomic compare-and-swap; optional title / invitee
cancel_bookingCancel 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 SDKMCP server
CallerApp code you wroteAn AI client (Claude Desktop, etc.)
TransportHTTPS direct to api.agentdraft.iostdio between the MCP host and this process
AuthClient(api_key=…)AGENTDRAFT_API_KEY env var
SemanticsSameSame
ErrorsTyped Python exceptionsStructured 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.

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.127 Aug 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
ryabinski-labs/agentdraft-mcp

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:49 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b0e7edcedad79c46e276073f0a15551e6e0658cc8d6ee46c5897656cc6216a05