Contractbook MCP by usefulapi
Read contracts, templates and spaces; create contract drafts from templates in Contractbook.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin contractbook_create_document_from_template
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"contractbook": {
"url": "https://contractbook.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://contractbook.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (7)
🟢contractbook_list_documents(title, states, types, tags, owned, ...)
List contracts (documents) with state, type, parties, tags and dates. Filter by title, state, type or tag, or by updated date. Cursor-paginated. Contractbook API: GET /documents.
Eingabe-Schema
{
"type": "object",
"properties": {
"title": {
"description": "Filter by document title.",
"type": "string"
},
"states": {
"description": "Filter by document states, for example draft, sent, signed.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"types": {
"description": "Filter by document type names.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"tags": {
"description": "Filter by tags.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"owned": {
"description": "Only documents owned by the API key's user.",
"type": "boolean"
},
"updated_at_gte": {
"description": "Updated at or after this ISO 8601 date or date-time.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T([01]\\d|2[0-3]):[0-5]\\d(:([0-5]\\d|60)(\\.\\d+)?)?(Z|[+-]([01]\\d|2[0-3]):?[0-5]\\d)?)?$"
},
"updated_at_lt": {
"description": "Updated before this ISO 8601 date or date-time.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T([01]\\d|2[0-3]):[0-5]\\d(:([0-5]\\d|60)(\\.\\d+)?)?(Z|[+-]([01]\\d|2[0-3]):?[0-5]\\d)?)?$"
},
"signed_at_gte": {
"description": "Signed at or after this ISO 8601 date or date-time.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T([01]\\d|2[0-3]):[0-5]\\d(:([0-5]\\d|60)(\\.\\d+)?)?(Z|[+-]([01]\\d|2[0-3]):?[0-5]\\d)?)?$"
},
"signed_at_lt": {
"description": "Signed before this ISO 8601 date or date-time.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T([01]\\d|2[0-3]):[0-5]\\d(:([0-5]\\d|60)(\\.\\d+)?)?(Z|[+-]([01]\\d|2[0-3]):?[0-5]\\d)?)?$"
},
"integration_object_id": {
"description": "Filter by the id of the linked object in an integration.",
"type": "string"
},
"workspace_id": {
"description": "Filter by workspace id.",
"type": "string"
},
"full": {
"description": "Include data fields in each document (larger response).",
"type": "boolean"
},
"page_size": {
"description": "Results per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"cursor": {
"description": "Cursor from a previous response, for the next page.",
"type": "string"
},
"sort_column": {
"description": "Column to sort by (default created_at).",
"type": "string",
"enum": [
"created_at",
"updated_at",
"title"
]
},
"sort_direction": {
"description": "Sort direction (default desc).",
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢contractbook_get_document(id)
Get one document (contract) by id: state, parties, data fields, attachments and comments. Contractbook API: GET /documents/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Contractbook id (UUID)."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢contractbook_list_templates(exclude_spaces)
List the contract templates the API key can use, with their language and location. Contractbook API: GET /templates.
Eingabe-Schema
{
"type": "object",
"properties": {
"exclude_spaces": {
"description": "Leave out templates in spaces (shared folders).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢contractbook_get_template(id)
Get one template by id, including its data fields and attachments. Contractbook API: GET /templates/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Contractbook id (UUID)."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡contractbook_create_document_from_template(template_id, title, language, message, tags, ...)
Create a DRAFT document from a template, with an optional title, language, tags and data fields. The draft is NOT sent for signature. The reply is the new document from the Contractbook API. Contractbook API: POST /templates/{id}/create_document.
Eingabe-Schema
{
"type": "object",
"properties": {
"template_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Template to create the draft from."
},
"title": {
"description": "Title for the new draft.",
"type": "string"
},
"language": {
"description": "Language code, for example en.",
"type": "string"
},
"message": {
"description": "Message text for the signing parties.",
"type": "string"
},
"tags": {
"description": "Tags to set on the draft.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"data_fields": {
"description": "Data field values as the Contractbook API defines them (objects passed unchanged).",
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"required": [
"template_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢contractbook_get_space_tree(id)
Get a space (shared folder) and its child spaces as a tree. Contractbook API: GET /spaces/{id}/tree.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Contractbook id (UUID)."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢contractbook_list_automations(trigger_type)
List automations that match a trigger type (for example a document event). Contractbook API: GET /automations.
Eingabe-Schema
{
"type": "object",
"properties": {
"trigger_type": {
"type": "string",
"minLength": 1,
"description": "Trigger type, as the Contractbook API names it."
}
},
"required": [
"trigger_type"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis