The DraftPilot MCP server is DraftPilot’s public API for AI agents. It lets an assistant such as Claude or ChatGPT find, search, read and edit the contract playbooks your DraftPilot account can access, so the assistant can answer questions using your organization’s approved negotiation positions.
It is a hosted service. There is no package, SDK or CLI to install: you add a URL to your MCP client and sign in with your normal DraftPilot account.
Availability
The MCP server is available to DraftPilot customers. It uses your existing DraftPilot account, so there is nothing extra to sign up for. If your organization hasn’t turned on AI assistant connections, contact [email protected]. To try DraftPilot itself, request a demo.
Connect from Claude
- In Claude, open Customize → Connectors.
- Find DraftPilot in the directory.
- Select Connect.
- Sign in with your DraftPilot account and approve the connection.
Claude can then use your DraftPilot playbooks when you ask about them.
Connection URL
For other MCP clients, add DraftPilot as a custom connector using the connection URL for your region, then sign in when the client asks.
Signed-in users find their exact URL in the DraftPilot web app under Profile → MCP connections. Always use the URL shown there.
| Region | MCP endpoint |
|---|---|
| EU | https://api.draftpilot.ai/mcp |
| US | US customers: contact [email protected] |
EU and US are separate deployments. Connect to the region your organization’s account lives in.
Transport
- Streamable HTTP, stateless, JSON responses (
POST /mcp) - MCP protocol versions 2025-11-25, 2025-06-18 and 2025-03-26
- No server-initiated notifications
Authentication
The server uses OAuth 2.1. There are no API keys and no client secrets.
- Discovery: an unauthenticated request returns
401with aWWW-Authenticateheader naming the protected resource metadata URL - Client registration: dynamic client registration (RFC 7591) for public clients with HTTPS redirect URIs, or loopback http redirects (
localhost,127.0.0.1) for native clients such as Claude Code - Grant: authorization code with PKCE (
S256), plus refresh tokens - Consent: each person signs in and approves the connection for their own account, including any SSO their organization requires
Access tokens last 15 minutes. Refresh tokens last 90 days and rotate on every use. A user can revoke a connection at any time from MCP connections in DraftPilot.
Machine-readable metadata
- Protected resource metadata (RFC 9728): https://api.draftpilot.ai/.well-known/oauth-protected-resource/mcp
- Authorization server metadata (RFC 8414): https://api.draftpilot.ai/.well-known/oauth-authorization-server
- API catalog (RFC 9727): https://draftpilot.ai/.well-known/api-catalog
Scopes
Request only the scopes your agent needs. If no scope is requested, the server grants playbooks:read.
| Scope | Grants |
|---|---|
playbooks:read | Find, search and read the playbooks the signed-in user can access |
usage:read | Read DraftPilot usage statistics, for users allowed to view usage |
contracting:write | Create and progress contracting requests on the user’s behalf |
A scope never widens a user’s access. Every call is also limited by the user’s DraftPilot workspace permissions, including accepted guest workspaces in other organizations. The metadata above is the authoritative list of supported scopes.
Tools
Read playbooks
| Tool | What it does |
|---|---|
list_workspaces | Lists the workspaces the user can access |
list_playbooks | Lists the playbooks the user can access, with their workspaces |
get_playbook | Reads a complete playbook’s guidance, in order |
get_playbook_entry | Reads one playbook entry in full |
search_playbook_entries | Searches playbook guidance and returns matching excerpts |
Edit playbooks
These tools need edit rights in the playbook’s workspace. Changes go live in DraftPilot straight away.
| Tool | What it does |
|---|---|
create_playbook | Creates a playbook in a workspace |
update_playbook | Updates a playbook’s name and details |
create_playbook_entry | Adds an entry to a playbook |
update_playbook_entry | Updates an entry’s guidance, such as its preferred position or fallbacks |
reorder_playbook_entries | Changes the order of a playbook’s entries |
Usage
This tool needs the usage:read scope and is available to users who can view usage in DraftPilot.
| Tool | What it does |
|---|---|
get_usage | Reads DraftPilot usage statistics for the user’s organization |
Results are paged. Keep calling with next_cursor until complete is true. Search results can be excerpts, so read the whole playbook with get_playbook before relying on its full guidance.
When to use it
Use the DraftPilot MCP server when an agent needs an organization’s own contract positions, for example to:
- Check what a team’s playbook says about a clause, such as a liability cap, indemnity or governing law
- Quote the preferred position, fallbacks and escalation rules for a contract type
- Compare a counterparty’s proposed wording against the approved playbook guidance
- List which playbooks and workspaces a user can draw on
Do not use it to redline a Word document. DraftPilot’s reviews and tracked-change redlines run inside the Microsoft Word add-in, not over MCP.
Example prompts
- “What does our NDA playbook say about governing law?”
- “Check this liability clause against our supplier playbook.”
- “Add a fallback position for the indemnity entry in our MSA playbook.”
- “Show DraftPilot usage for my organization last month.”
- “List the DraftPilot playbooks I can access, with their workspaces.”
Privacy and data
- Claude only sees the playbooks and workspaces the signed-in user can access in DraftPilot.
- DraftPilot doesn’t read your Claude chats or files. It only receives the requests Claude makes to its tools.
- Read the DraftPilot privacy policy for how we handle your data.
- You can revoke a connection at any time in DraftPilot under Profile → MCP connections.
Troubleshooting
| Message | What to do |
|---|---|
| “AI assistant connections aren’t turned on for your organization” | Ask your DraftPilot administrator to turn them on, or contact [email protected]. |
| “This connection URL doesn’t match your account” | Your account is in a different region. Use the connection URL for your own region, shown under Profile → MCP connections, and connect again. |
| “Your DraftPilot session timed out” | Reconnect DraftPilot from your assistant. In Claude, open Customize → Connectors and connect DraftPilot again. |