Directo MCP by usefulapi
Read customers, items, stock levels, orders and invoices in Directo.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"directo": {
"url": "https://directo.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://directo.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (7)
🟢directo_get_api_description
Show which resources and filter names this Directo API key can read (GET /v1/openapi.json). Call it first to learn the field names for the other tools.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢directo_list_customers(code, name, country, closed, ts)
List customer cards (code, name, country, city, VAT number, payment terms, credit limit, contacts). Filter by code, name, country, closed or ts. Directo API: GET /v1/customers.
Esquema de entrada
{
"type": "object",
"properties": {
"code": {
"description": "Code (exact match), for example K001. Use !K001 to exclude it.",
"type": "string"
},
"name": {
"description": "Name, for example Kalev. Wildcards: %kalev%.",
"type": "string"
},
"country": {
"description": "ISO 2-letter country code, for example EE or !EE. Comma list: EE,LV,LT.",
"type": "string"
},
"closed": {
"description": "1 = closed, 0 = open.",
"type": "string"
},
"ts": {
"description": "Only records changed since this time, ISO 8601, for example >2026-11-20T07:00:00Z (use this for incremental sync).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢directo_list_items(code, name, class, status, warehouse, ...)
List item cards (code, name, class, unit, price, supplier, barcode, weight) with stock quantity by warehouse. Filter by code, name, class, status, warehouse, country, quantity or ts. Directo API: GET /v1/items.
Esquema de entrada
{
"type": "object",
"properties": {
"code": {
"description": "Code (exact match), for example K001. Use !K001 to exclude it.",
"type": "string"
},
"name": {
"description": "Name, for example Kalev. Wildcards: %kalev%.",
"type": "string"
},
"class": {
"description": "Item class code, for example KAUP.",
"type": "string"
},
"status": {
"description": "Status code, for example NEW or CLOSED. Comma list allowed: NEW,PENDING. Use !CLOSED to exclude.",
"type": "string"
},
"warehouse": {
"description": "Warehouse code, for example AALTR. Comma list allowed.",
"type": "string"
},
"country": {
"description": "ISO 2-letter country code, for example EE or !EE. Comma list: EE,LV,LT.",
"type": "string"
},
"quantity": {
"description": "Quantity with an operator, for example >10 or <5.",
"type": "string"
},
"ts": {
"description": "Only records changed since this time, ISO 8601, for example >2026-11-20T07:00:00Z (use this for incremental sync).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢directo_list_orders(number, date, status, customer_code, row_item, ...)
List sales orders with their lines (header fields plus row_* line fields). Filter by number, date, status, customer_code, row_item, warehouse, closed or ts. Directo API: GET /v1/orders.
Esquema de entrada
{
"type": "object",
"properties": {
"number": {
"description": "Document number, for example 12345.",
"type": "string"
},
"date": {
"description": "Document date with an operator, for example >2026-09-01T00:00:00 or <2026-12-31T23:59:59.",
"type": "string"
},
"status": {
"description": "Status code, for example NEW or CLOSED. Comma list allowed: NEW,PENDING. Use !CLOSED to exclude.",
"type": "string"
},
"customer_code": {
"description": "Customer code, for example CUST001.",
"type": "string"
},
"row_item": {
"description": "Item code on a document line, for example 9810. Matches documents that contain the item.",
"type": "string"
},
"warehouse": {
"description": "Warehouse code, for example AALTR. Comma list allowed.",
"type": "string"
},
"closed": {
"description": "1 = closed, 0 = open.",
"type": "string"
},
"ts": {
"description": "Only records changed since this time, ISO 8601, for example >2026-11-20T07:00:00Z (use this for incremental sync).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢directo_list_invoices(number, date, customer_code, row_item, row_quantity, ...)
List sales invoices with their lines (header fields plus row_* line fields). Filter by number, date, customer_code, row_item, row_quantity or ts. Directo API: GET /v1/invoices.
Esquema de entrada
{
"type": "object",
"properties": {
"number": {
"description": "Document number, for example 12345.",
"type": "string"
},
"date": {
"description": "Document date with an operator, for example >2026-09-01T00:00:00 or <2026-12-31T23:59:59.",
"type": "string"
},
"customer_code": {
"description": "Customer code, for example CUST001.",
"type": "string"
},
"row_item": {
"description": "Item code on a document line, for example 9810. Matches documents that contain the item.",
"type": "string"
},
"row_quantity": {
"description": "Quantity on a line, with an operator, for example >10.",
"type": "string"
},
"ts": {
"description": "Only records changed since this time, ISO 8601, for example >2026-11-20T07:00:00Z (use this for incremental sync).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢directo_list_stock_levels(code, warehouse, quantity, ts)
List stock quantities per item and warehouse. Filter by code, warehouse, quantity or ts. Directo API: GET /v1/stocklevels.
Esquema de entrada
{
"type": "object",
"properties": {
"code": {
"description": "Code (exact match), for example K001. Use !K001 to exclude it.",
"type": "string"
},
"warehouse": {
"description": "Warehouse code, for example AALTR. Comma list allowed.",
"type": "string"
},
"quantity": {
"description": "Quantity with an operator, for example >10 or <5.",
"type": "string"
},
"ts": {
"description": "Only records changed since this time, ISO 8601, for example >2026-11-20T07:00:00Z (use this for incremental sync).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢directo_list_records(resource, filters)
Read any other enabled resource, for example suppliers, purchase_invoices, receipts (incoming payments), projects, accounts or transactions. Pass the resource name and optional filters as field name → value pairs; get the field names from directo_get_api_description. Directo API: GET /v1/{resource}.
Esquema de entrada
{
"type": "object",
"properties": {
"resource": {
"type": "string",
"enum": [
"sales_quotations",
"orders",
"invoices",
"purchase_orders",
"stock_receipts",
"purchase_invoices",
"purchase_payments",
"customers",
"suppliers",
"contacts",
"items",
"itemclasses",
"priceformulas",
"stocklevels",
"stocklevels_sn",
"stocks",
"allocations",
"accounts",
"transactions",
"deleted",
"financial_budgets",
"events",
"receipts",
"deliveries",
"movements",
"objects",
"projects",
"resources",
"sales_contracts",
"replacementlogs",
"users",
"recipes",
"nettings",
"usagelogs",
"expenses",
"approvals",
"absences",
"assets",
"customer_assets",
"wage_calculations"
],
"description": "The resource to read, for example suppliers or receipts."
},
"filters": {
"description": "Filter name → value, for example { \"ts\": \">2026-11-20T07:00:00Z\" }. Names must match [A-Za-z_][A-Za-z0-9_]*.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"resource"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia