Skip to content

MCP set-up

EuroPlaybook runs a Model Context Protocol server. AI assistants use it to read your catalogue and obligations and to propose packaging, with the same API key and rules as the REST API.

Endpoint https://mcp.europlaybook.com/mcp
Transport Streamable HTTP
Auth Authorization: Bearer ep_... (create a key)

Give the key only the scopes the assistant needs. catalogue:read + compliance:read is a good start.

Terminal window
claude mcp add --transport http europlaybook https://mcp.europlaybook.com/mcp \
--header "Authorization: Bearer $EUROPLAYBOOK_API_KEY"
Tool Does Scope
find_products Search products by SKU, title, GTIN or identifier; with group_id and confirmation catalogue:read
get_product_packaging Effective packaging tree of a product: own and inherited lines with source, inherited, group_id catalogue:read
list_product_groups Product groups; with group_id one group, its members and its packaging tree catalogue:read
propose_packaging Create a packaging proposal (a person confirms it) catalogue:write
list_findings Packaging checks that need attention catalogue:read
list_obligations Obligations per country and regime compliance:read
explain_obligation Why an obligation applies, with its sources compliance:read
get_period_totals Totals of a reporting period compliance:read
explain_total Trace a total (period_id, pack line key) back to entries, products, packaging lines and sales compliance:read
push_sales Send sales lines sales:write
  • europlaybook://reference/materials
  • europlaybook://reference/layers
  • europlaybook://reference/regimes
  • europlaybook://reference/data-model (a short version of the data model; assistants read it first)
  • The assistant can only do what the key allows, and never more than the person who created it.
  • Packaging from an assistant is always a proposal with source: api; it counts only after a person confirms it. Sales lines sent with push_sales are stored directly, so give a key sales:write only when you want that.
  • Revoke the key in the app to disconnect the assistant at once.