agentdraft-mcp
agentdraft-mcp — AgentDraft用MCPサーバー
エージェント向けオペレーションAPI(受信トレイ、競合のないカレンダー、監査ツールを備えたAgentDraft)を、MCP対応のAIクライアントが呼び出せるツール群として公開するMCPサーバーです。
エージェントの実行環境がClaude Desktop、Claude Code、Cursor、Cline、OpenAI Agents SDKアプリ、その他のMCPホストであれば、このサーバーを利用できます。このサーバーはagentdraftPython SDKの薄いラッパーであり、REST APIや言語SDKと同じ認証、同じエラー、同じセマンティクスを提供します。
インストール
pip install agentdraft-mcpPython 3.10以上と、AgentDraftダッシュボードで取得した有効なavs_live_…エージェントキーが必要です。
Related MCP server: Labradoc MCP Server
アップグレード
pip install -U agentdraft-mcpリリースノート: https://agentdraft.io/changelog
MCPクライアントの設定
agentdraft-mcpはPyPIに公開されているため、インストールすれば以下のJSON設定でどのMCPホストでもすぐに動作します。追加のダウンロードは不要です。
Claude Desktop / Claude Code — JSON設定(推奨)
~/Library/Application Support/Claude/claude_desktop_config.json(macOS)、またはWindows/Linuxの同等のファイルを編集します:
{
"mcpServers": {
"agentdraft": {
"command": "agentdraft-mcp",
"env": {
"AGENTDRAFT_API_KEY": "avs_live_..."
}
}
}
}Cursor / Cline / 汎用stdioホスト
{
"mcpServers": {
"agentdraft": {
"command": "python",
"args": ["-m", "agentdraft_mcp"],
"env": {
"AGENTDRAFT_API_KEY": "avs_live_..."
}
}
}
}開発用バックエンドでのローカル開発を行う場合は、AGENTDRAFT_BASE_URL=http://localhost:8080も設定してください。
Claude Desktop — .mcpbデスクトップ拡張機能(ドラッグ&ドロップ)
各リリースにはGitHub Releasesで.mcpbデスクトップ拡張機能バンドルも同梱されています。agentdraft-mcp.mcpbをClaude Desktop → 設定 → 拡張機能にドラッグ&ドロップし、avs_live_…APIキーを貼り付けるだけです。JSONの編集もpip installも不要です。
ツール
ツール | 目的 |
| APIキーを確認し、エージェントのID、優先度、スコープ、所有者の |
| [start, end) の範囲で呼び出し元エージェントが利用可能なスロットを一覧表示する |
| スロットを仮予約する(TTL 30秒)。任意で |
| ホールドを解放し、他のエージェントが取得できるようにする |
| 予約を確定する — アトミックな比較交換(compare-and-swap)。任意で |
| 呼び出し元エージェントが所有する確定済み予約をキャンセルする |
すべての時刻はISO 8601文字列(2026-06-01T14:00:00Z)です。すべての書き込みツールは、安全なリトライのためにidempotency_keyを受け付けます。create_holdとcommit_bookingは、スロットの対象者を記録する任意のtitleとinvitee({name, email, notes})も受け付けます。これらはダッシュボードで所有者に表示されます。
競合の検出方法
2つのエージェントが同じスロットを競合した場合、正確に1つだけが勝ちます。負けたエージェントには、文字列エラーではなく構造化されたoutrankedペイロードが返されます:
{
"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."
}エージェントはこれに基づいて分岐し、同じスロットをリトライするのではなく代替案を提案する必要があります。
AgentDraft SDKとの違い
Python/TS SDK | MCPサーバー | |
呼び出し元 | 自分が書いたアプリコード | AIクライアント(Claude Desktopなど) |
トランスポート | api.agentdraft.ioへの直接HTTPS | MCPホストとこのプロセス間のstdio |
認証 |
|
|
セマンティクス | 同じ | 同じ |
エラー | 型付きPython例外 | ツール結果の構造化JSON |
自分でエージェントを書く場合はSDKを使用してください。他の誰かのエージェント実行環境(Claude Desktop、Cursor、Cline、汎用MCPホスト)がカスタムコードなしでユーザーに代わってAgentDraftを呼び出す必要がある場合は、このMCPサーバーを使用してください。
リンク
プロトコル仕様: https://agentdraft.io/spec
APIドキュメント: https://agentdraft.io/docs
チェンジログ: https://agentdraft.io/changelog
Python SDK:
agentdraftTypeScript SDK:
agentdraftイシュー: https://github.com/ryabinski-labs/agentdraft-mcp/issues
セキュリティ
脆弱性を発見しましたか?SECURITY.mdを参照してください。セキュリティレポートについては公開イシューを開かないでください。
コントリビューション
CONTRIBUTING.mdを参照してください。ryabinski-labs/agentdraft-mcpはAgentDraftのプライベートアプリケーションリポジトリ内のディレクトリの公開ミラーです。イシューとプルリクエストはそこで読まれ、次のリリース同期を通じて反映されます。
ライセンス
MIT — LICENSEを参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
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.
Identity, authorization, audit trails, and revocable permissions for AI agents accessing MCP tools.
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.32MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Labradoc's document management, email ingestion, task extraction, and integration features through MCP tools.1716MIT
- AlicenseBqualityCmaintenanceExposes Gmail (send/draft) and Google Docs (append) capabilities as tools for any MCP-compliant agent.347ISC
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to send emails, create drafts in Gmail, and append content to Google Docs via standardized MCP tools.47ISC
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/ryabinski-labs/agentdraft-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server