# Contractbook — MCP server on mcp.ai > Connect your Contractbook account and use 9 tools for documents straight from your AI agent. Connect with your own API key. Contractbook is a contract lifecycle management platform for creating, organizing, sharing, sending, and signing contracts. By: mcp.ai · official Page: https://mcp.ai/contractbook ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_contractbook?ms=1787296080000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/contractbook/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/contractbook/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/contractbook/skill.md Postman collection (v2.1): https://mcp.ai/contractbook/postman.json ## Tools - contractbook_create_document_from_template(tags?: string[], title?: string, message?: string, parties?: object[], language?: string, attachments?: object[], data_fields?: object[], template_id: string, dynamic_tables?: object[], to_be_signed_by?: string, company_logo_url?: string, signing_order_mode?: string, attachments_signed_separately?: boolean) — Create a draft document from a Contractbook template, optionally overriding its document fields; this does not send the draft for signature. - contractbook_delete_document(document_id: string) — Permanently destroy a Contractbook document with no restore option. Signed documents cannot be deleted through this API; Contractbook rejects signed or otherwise undeletable documents rather than repo - contractbook_get_document(document_id: string) — Get the full current Contractbook document, including the version required for a safe update. - contractbook_get_document_pdf_link(document_id: string) — Get a short-lived PDF download URL for a document, or a not-ready message when Contractbook is still generating it. - contractbook_get_template(template_id: string) — Get a template's full fields, parties, attachments, and signing configuration before creating a draft from it. - contractbook_list_automations(trigger_type: string) — List Contractbook automations for one trigger type; this only discovers automations and does not run them. - contractbook_list_documents(full?: boolean, tags?: string[], owned?: boolean, title?: string, cursor?: string, states?: string[], contexts?: string[], page_size?: integer, sort_column?: string, workspace_id?: string, signed_before?: string, document_types?: string[], sort_direction?: string, updated_before?: string, signed_at_or_after?: string, updated_at_or_after?: string, integration_object_id?: string) — Search and filter documents visible to the connected Contractbook account, returning one page and a cursor for continuation. - contractbook_list_templates(exclude_spaces?: boolean) — List all Contractbook templates visible to the connected account for choosing a template ID. - contractbook_update_document(tags?: string[], title?: string, message?: string, parties?: object[], version: string, language?: string, attachments?: object[], data_fields?: object[], document_id: string, dynamic_tables?: object[], to_be_signed_by?: string, company_logo_url?: string, signing_order_mode?: string, attachments_signed_separately?: boolean) — Update selected fields of a draft or stored contract using its current version; supplied collection fields replace their complete existing collections. ## Example prompts - "What can I do in Contractbook?" - "Show me a summary of my Contractbook account" ## Links Docs: https://mcp.ai/docs/mcps/contractbook Website: https://mcp.ai/mcps/contractbook