Apicbase MCP by usefulapi
Read recipes, ingredients, suppliers, stock and purchase orders in Apicbase.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (11)
- LOWin apicbase_list_libraries
- LOWin apicbase_list_outlets
- LOWin apicbase_list_users
- LOWin apicbase_get_user
- LOWin apicbase_list_suppliers
- LOWin apicbase_get_supplier
- LOWin apicbase_list_supplier_packages
- LOWin apicbase_get_ingredient
- LOWin apicbase_get_recipe_financials
- LOWin apicbase_get_purchase_order
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": {
"apicbase": {
"url": "https://apicbase.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://apicbase.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (22)
🟢apicbase_get_active_library
The library these tools read (id, name, status) and the signed-in user's name. Start here to check the connection.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_libraries
Every library the signed-in user can access (id, name, status). Switching libraries in Apicbase changes the active library.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_get_currency
The library's default currency (code, symbol, name). Monetary values are shown in this currency.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_custom_fields(name, type, model)
The custom fields defined in the library, with their type and the model they apply to. Use them to read custom values on other records.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"description": "Only fields with this name.",
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"type": {
"description": "Only fields of this type.",
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"model": {
"description": "Only fields for this model.",
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_outlets(name, ordering, page)
The outlets (locations) of the library, one page at a time, with their details.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"description": "Only outlets whose name matches.",
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"ordering": {
"description": "Sort field, for example name or -modified_date (prefix - for descending).",
"type": "string",
"maxLength": 60,
"pattern": "^-?[a-z_]+$"
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_users(page, page_size)
The users of the library, one page at a time. The reply includes each user's name and email.
Eingabe-Schema
{
"type": "object",
"properties": {
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_get_user(user_id)
One user of the library by id, with the roles and outlets they hold.
Eingabe-Schema
{
"type": "object",
"properties": {
"user_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The user id (from apicbase_list_users)."
}
},
"required": [
"user_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_user_roles(name, page, page_size)
The user roles defined in the library. Roles set what each user may do in Apicbase.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"description": "Only roles whose name matches.",
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_suppliers(ordering, page, page_size)
The suppliers of the library, one page at a time.
Eingabe-Schema
{
"type": "object",
"properties": {
"ordering": {
"description": "Sort field, for example name or -modified_date (prefix - for descending).",
"type": "string",
"maxLength": 60,
"pattern": "^-?[a-z_]+$"
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_get_supplier(supplier_id)
One supplier by id, with its contact and ordering details.
Eingabe-Schema
{
"type": "object",
"properties": {
"supplier_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The supplier id (from apicbase_list_suppliers)."
}
},
"required": [
"supplier_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_supplier_packages(supplier_id, stock_item_id, active, orderable, ordering, ...)
The supplier packages (how a supplier sells a stock item: package size, article number, price), one page at a time.
Eingabe-Schema
{
"type": "object",
"properties": {
"supplier_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The supplier id (from apicbase_list_suppliers)."
},
"stock_item_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The stock item id (from apicbase_list_stock_items)."
},
"active": {
"description": "Only active (true) or inactive (false) packages.",
"type": "boolean"
},
"orderable": {
"description": "Only orderable (true) or not orderable (false) packages.",
"type": "boolean"
},
"ordering": {
"description": "Sort field, for example name or -modified_date (prefix - for descending).",
"type": "string",
"maxLength": 60,
"pattern": "^-?[a-z_]+$"
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_ingredients(name, supplier, modified_date__gt, ordering, page, ...)
The ingredients of the library, one page at a time. Filter by name, supplier or the last change date.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"description": "Only ingredients whose name matches.",
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"supplier": {
"description": "Only ingredients from this supplier.",
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"modified_date__gt": {
"description": "Only ingredients changed after this date (sync).",
"type": "string",
"maxLength": 40,
"pattern": "^\\d{4}-\\d{2}-\\d{2}([T ][\\d:.+Z-]*)?$"
},
"ordering": {
"description": "Sort field, for example name or -modified_date (prefix - for descending).",
"type": "string",
"maxLength": 60,
"pattern": "^-?[a-z_]+$"
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_get_ingredient(ingredient_id)
One ingredient by id, with its composition and allergen data.
Eingabe-Schema
{
"type": "object",
"properties": {
"ingredient_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The ingredient id (from apicbase_list_ingredients)."
}
},
"required": [
"ingredient_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_recipes(name, outlet, modified_date__gt, ordering, page, ...)
The recipes of the library, one page at a time. Filter by name, outlet or the last change date.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"description": "Only recipes whose name matches.",
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"outlet": {
"description": "Only recipes linked to this outlet id.",
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"modified_date__gt": {
"description": "Only recipes changed after this date (sync).",
"type": "string",
"maxLength": 40,
"pattern": "^\\d{4}-\\d{2}-\\d{2}([T ][\\d:.+Z-]*)?$"
},
"ordering": {
"description": "Sort field, for example name or -modified_date (prefix - for descending).",
"type": "string",
"maxLength": 60,
"pattern": "^-?[a-z_]+$"
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_get_recipe(recipe_id)
One recipe by id: its yield, sell price, outlet prices and nutrition summary. Ingredient lines are in the reply.
Eingabe-Schema
{
"type": "object",
"properties": {
"recipe_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The recipe id (from apicbase_list_recipes)."
}
},
"required": [
"recipe_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_get_recipe_financials(recipe_id, outlet, food_cost_mode)
The food cost and margin of one recipe, optionally for one outlet.
Eingabe-Schema
{
"type": "object",
"properties": {
"recipe_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The recipe id (from apicbase_list_recipes)."
},
"outlet": {
"description": "The outlet id whose prices and costs to use.",
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"food_cost_mode": {
"description": "The food cost mode the vendor accepts (see the reply).",
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
}
},
"required": [
"recipe_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_menus(name, modified_date__gt, ordering, page, page_size)
The menus of the library, one page at a time. Filter by name or the last change date.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"description": "Only menus whose name matches.",
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"modified_date__gt": {
"description": "Only menus changed after this date (sync).",
"type": "string",
"maxLength": 40,
"pattern": "^\\d{4}-\\d{2}-\\d{2}([T ][\\d:.+Z-]*)?$"
},
"ordering": {
"description": "Sort field, for example name or -modified_date (prefix - for descending).",
"type": "string",
"maxLength": 60,
"pattern": "^-?[a-z_]+$"
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_stock_items(name, ordering, page, page_size)
The stock items of the library (what is counted and ordered), one page at a time.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"description": "Only stock items whose name matches.",
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"ordering": {
"description": "Sort field, for example name or -modified_date (prefix - for descending).",
"type": "string",
"maxLength": 60,
"pattern": "^-?[a-z_]+$"
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_waste_events(outlet_id, status, ordering, page, page_size)
The waste events recorded for one outlet (stock thrown away), one page at a time.
Eingabe-Schema
{
"type": "object",
"properties": {
"outlet_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The outlet id (from apicbase_list_outlets)."
},
"status": {
"description": "Only events with this status.",
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"ordering": {
"description": "Sort field, for example name or -modified_date (prefix - for descending).",
"type": "string",
"maxLength": 60,
"pattern": "^-?[a-z_]+$"
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [
"outlet_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_list_purchase_orders(supplier, outlet, status, ordering, page, ...)
The purchase orders of the library, one page at a time. Filter by supplier, outlet or status.
Eingabe-Schema
{
"type": "object",
"properties": {
"supplier": {
"description": "Only orders for this supplier id.",
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"outlet": {
"description": "Only orders for this outlet id.",
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"status": {
"description": "Only orders with this status.",
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
},
"ordering": {
"description": "Sort field, for example name or -modified_date (prefix - for descending).",
"type": "string",
"maxLength": 60,
"pattern": "^-?[a-z_]+$"
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_get_purchase_order(purchase_order_id)
One purchase order by id, with its lines.
Eingabe-Schema
{
"type": "object",
"properties": {
"purchase_order_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The purchase order id (from apicbase_list_purchase_orders)."
}
},
"required": [
"purchase_order_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢apicbase_global_search(q, page, page_size)
Search ingredients, recipes, menus, stock items, purchase orders and more for a text. The reply groups the hits by type.
Eingabe-Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$",
"description": "The text to search for."
},
"page": {
"description": "Page number, from 1 (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"page_size": {
"description": "Records per page, 1-200 (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [
"q"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis