Craftybase MCP by usefulapi
Read materials, products, manufactures, recipes, purchases and stock history in Craftybase.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (3)
- LOWen craftybase_list_material_inventory_adjustments
- LOWen craftybase_list_component_inventory_adjustments
- LOWen craftybase_list_inventory_adjustments
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": {
"craftybase": {
"url": "https://craftybase.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://craftybase.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (14)
🟢craftybase_get_account
Get the account name, currency, time zone and subscription plan for the API key. Good first call to check the connection. StockSmith API: GET /api/v1/account.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_list_materials(state, name, sku, category_name, updated_since, ...)
List raw materials and supplies with stock on hand, available stock, reorder level, category and unit cost. Use state=all to include archived materials. StockSmith API: GET /api/v1/materials.
Esquema de entrada
{
"type": "object",
"properties": {
"state": {
"description": "Record state (default active).",
"type": "string",
"enum": [
"active",
"archived",
"all"
]
},
"name": {
"description": "Filter by name.",
"type": "string"
},
"sku": {
"description": "Filter by SKU.",
"type": "string"
},
"category_name": {
"description": "Filter by category name.",
"type": "string"
},
"updated_since": {
"type": "string",
"description": "ISO 8601 timestamp with a time zone, e.g. 2026-06-20T00:00:00Z. Returns records changed at or after it."
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page, 1 to 100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_get_material(material_id)
Get one material by id, with its stock levels, unit of measure, category and unit cost. StockSmith API: GET /api/v1/materials/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"material_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
}
},
"required": [
"material_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_list_material_inventory_adjustments(material_id, from, to, costed, reason, ...)
List the stock history of one material: starting stock, purchases, manufactures, manual adjustments and stocktakes, oldest first. Read long histories in month windows with from and to. StockSmith API: GET /api/v1/materials/{id}/inventory_adjustments.
Esquema de entrada
{
"type": "object",
"properties": {
"material_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date as YYYY-MM-DD (account time zone)."
},
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date as YYYY-MM-DD (account time zone)."
},
"costed": {
"description": "true for costed rows only, false for uncosted rows only.",
"type": "boolean"
},
"reason": {
"description": "Comma-separated reasons: starting, purchase, manufacture, adjustment, stocktake.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page, 1 to 100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"material_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_list_products(state, name, sku, category_name, updated_since, ...)
List finished products, including variations and stock levels. Use state=all to include archived products. StockSmith API: GET /api/v1/products.
Esquema de entrada
{
"type": "object",
"properties": {
"state": {
"description": "Record state (default active).",
"type": "string",
"enum": [
"active",
"archived",
"all"
]
},
"name": {
"description": "Filter by name.",
"type": "string"
},
"sku": {
"description": "Filter by SKU.",
"type": "string"
},
"category_name": {
"description": "Filter by category name.",
"type": "string"
},
"updated_since": {
"type": "string",
"description": "ISO 8601 timestamp with a time zone, e.g. 2026-06-20T00:00:00Z. Returns records changed at or after it."
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page, 1 to 100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_get_product(product_id)
Get one finished product by id, with its variations and stock levels. StockSmith API: GET /api/v1/products/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"product_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
}
},
"required": [
"product_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_list_components(state, name, sku, category_name, updated_since, ...)
List components (sub-assemblies used to build other products) with stock levels and categories. StockSmith API: GET /api/v1/components.
Esquema de entrada
{
"type": "object",
"properties": {
"state": {
"description": "Record state (default active).",
"type": "string",
"enum": [
"active",
"archived",
"all"
]
},
"name": {
"description": "Filter by name.",
"type": "string"
},
"sku": {
"description": "Filter by SKU.",
"type": "string"
},
"category_name": {
"description": "Filter by category name.",
"type": "string"
},
"updated_since": {
"type": "string",
"description": "ISO 8601 timestamp with a time zone, e.g. 2026-06-20T00:00:00Z. Returns records changed at or after it."
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page, 1 to 100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_get_component(component_id)
Get one component by id, with its stock levels and category. StockSmith API: GET /api/v1/components/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"component_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
}
},
"required": [
"component_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_list_component_inventory_adjustments(component_id, from, to, costed, reason, ...)
List the stock history of one component, oldest first: starting stock, manufactures, manual adjustments and stocktakes. StockSmith API: GET /api/v1/components/{id}/inventory_adjustments.
Esquema de entrada
{
"type": "object",
"properties": {
"component_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date as YYYY-MM-DD (account time zone)."
},
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date as YYYY-MM-DD (account time zone)."
},
"costed": {
"description": "true for costed rows only, false for uncosted rows only.",
"type": "boolean"
},
"reason": {
"description": "Comma-separated reasons: starting, purchase, manufacture, adjustment, stocktake.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page, 1 to 100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"component_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_list_manufactures(product_id, status, from, to, updated_since, ...)
List manufacture production runs, filtered by product, status and start-date range. StockSmith API: GET /api/v1/manufactures.
Esquema de entrada
{
"type": "object",
"properties": {
"product_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
},
"status": {
"description": "Run status, as shown in Stocksmith.",
"type": "string"
},
"from": {
"description": "Start of the start-date range (YYYY-MM-DD). Malformed values are ignored.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "End of the start-date range (YYYY-MM-DD). Malformed values are ignored.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"updated_since": {
"type": "string",
"description": "ISO 8601 timestamp with a time zone, e.g. 2026-06-20T00:00:00Z. Returns records changed at or after it."
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page, 1 to 100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_get_manufacture(manufacture_id)
Get one manufacture production run by id, with its line items. StockSmith API: GET /api/v1/manufactures/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"manufacture_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
}
},
"required": [
"manufacture_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_list_recipes(product_id, variation_id, updated_since, page, per_page)
List recipes with the full ingredient list and calculated costs. Cost fields appear only when the key's user can view financials. StockSmith API: GET /api/v1/recipes.
Esquema de entrada
{
"type": "object",
"properties": {
"product_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
},
"variation_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
},
"updated_since": {
"type": "string",
"description": "ISO 8601 timestamp with a time zone, e.g. 2026-06-20T00:00:00Z. Returns records changed at or after it."
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page, 1 to 100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_list_expenses(from, to, updated_since, category_id, supplier_id, ...)
List purchases (expenses) with line items and supplier details, filtered by purchase date. A key without purchase access gets HTTP 403. StockSmith API: GET /api/v1/expenses.
Esquema de entrada
{
"type": "object",
"properties": {
"from": {
"description": "First purchase date, inclusive (YYYY-MM-DD).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "Last purchase date, inclusive (YYYY-MM-DD).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"updated_since": {
"type": "string",
"description": "ISO 8601 timestamp with a time zone, e.g. 2026-06-20T00:00:00Z. Returns records changed at or after it."
},
"category_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
},
"supplier_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
],
"description": "Numeric record id as a number or digit string."
},
"received_status": {
"description": "Received status filter, as the API accepts it.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page, 1 to 100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢craftybase_list_inventory_adjustments(from, to, costed, reason, page, ...)
List inventory adjustments for the whole account (materials and components): how stock got to its current level. Filter by date window, costed rows and reason. To read one item's history, use the per-material or per-component tool. StockSmith API: GET /api/v1/inventory_adjustments.
Esquema de entrada
{
"type": "object",
"properties": {
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date as YYYY-MM-DD (account time zone)."
},
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date as YYYY-MM-DD (account time zone)."
},
"costed": {
"description": "true for costed rows only, false for uncosted rows only.",
"type": "boolean"
},
"reason": {
"description": "Comma-separated reasons: starting, purchase, manufacture, adjustment, stocktake.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page, 1 to 100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia