FeaturesPricingAboutArticlesDocumentation
Developers

API, SDK, MCP and webhooks.

Developer PlatformQuickstartAuthenticationAPI ReferenceSDKMCPWebhooksErrorsPaginationRate LimitsIdempotencyChangelogMigration and Versioning Policy
Raw API docsOpenAPI YAMLAsyncAPI YAML
  1. Home
  2. /
  3. Developers
  4. /
  5. MCP

MCP

FabHub MCP (@fabhub/mcp) exposes a fixed, public-safe set of tools for API-backed agent workflows. Each tool maps to exactly one public API scope; there is no generic HTTP proxy.

Install

npx -y @fabhub/mcp

Local configuration

{
  "mcpServers": {
    "fabhub": {
      "command": "npx",
      "args": ["-y", "@fabhub/mcp"],
      "env": {
        "FABHUB_API_KEY": "pk_test_example"
      }
    }
  }
}

The server advertises only the tools your key has scopes for, so an agent can never call beyond the credential's permissions.


Tool safety

  • Read-only tools are available when the credential has the matching read scope.
  • Write tools require the matching write scope and an explicit confirmation input.
  • Destructive tools require the delete scope and explicit delete confirmation.
  • Hosted HTTP mode validates credentials per request and does not store tenant keys.

Tools

ToolScopesSafety
list_itemsitems:readread_only
get_itemitems:readread_only
list_item_ingredientsitems:readread_only
list_item_suppliersitems:readread_only
create_itemitems:writewrite, requires confirmation
update_itemitems:writewrite, requires confirmation
delete_itemitems:writedestructive, requires confirmation
get_organizationorganization:readread_only
list_ordersorders:readread_only
get_orderorders:readread_only
list_order_linesorders:readread_only
create_orderorders:writewrite, requires confirmation
update_orderorders:writewrite, requires confirmation
list_contactscontacts:readread_only
get_contactcontacts:readread_only
create_contactcontacts:writewrite, requires confirmation
update_contactcontacts:writewrite, requires confirmation
delete_contactcontacts:writedestructive, requires confirmation
get_usage_summaryusage:readread_only
list_webhookswebhooks:readread_only
get_webhookwebhooks:readread_only
create_webhookwebhooks:writewrite, requires confirmation
update_webhookwebhooks:writewrite, requires confirmation
delete_webhookwebhooks:deletedestructive, requires confirmation
list_webhook_deliverieswebhooks:deliveries:readread_only
list_audit_eventsaudit:readread_only
list_stock_levelsinventory:readread_only
list_stock_documentsinventory:readread_only
get_stock_documentinventory:readread_only
list_stock_document_linesinventory:readread_only
create_stock_documentinventory:writewrite, requires confirmation
update_stock_documentinventory:writewrite, requires confirmation
create_stock_document_lineinventory:writewrite, requires confirmation
update_stock_document_lineinventory:writewrite, requires confirmation
delete_stock_documentinventory:writedestructive, requires confirmation
delete_stock_document_lineinventory:writedestructive, requires confirmation
submit_stock_documentinventory:writewrite, requires confirmation
cancel_stock_documentinventory:writewrite, requires confirmation
approve_stock_documentinventory:writedestructive, requires confirmation
create_item_ingredientitems:writewrite, requires confirmation
update_item_ingredientitems:writewrite, requires confirmation
delete_item_ingredientitems:writedestructive, requires confirmation
create_item_supplieritems:writewrite, requires confirmation
update_item_supplieritems:writewrite, requires confirmation
delete_item_supplieritems:writedestructive, requires confirmation

Tool manifest

  • Download MCP tool manifest
HomeFeaturesPricingAboutArticlesDocumentationDevelopers
© FabHubPrivacy & CookiesTermsAccessibility