Bunmori
MCP Server

Tools Reference

Complete reference for all MCP tools

MCP Tools Reference

Authentication is handled via HTTP headers (see MCP Server for setup). All tools operate within the authenticated domain context.

Read Operations

ToolDescription
list_collectionsList all collections in the domain with their field schemas
list_itemsList items from a collection with optional filtering and pagination
get_itemGet a single item by ID or slug
get_singleGet a single item by collection slug

Required scope: read

list_items

ParameterTypeRequiredDescription
collectionstringYesCollection slug
languagestringNoLanguage code (defaults to collection's default language)
limitnumberNoMax items to return (default: 20, max: 100)
offsetnumberNoItems to skip for pagination
sortstringNoSort field: itemDate, createdAt, updatedAt, slug
orderstringNoSort order: asc or desc

get_item

ParameterTypeRequiredDescription
collectionstringYesCollection slug
idstringNoItem ID (either id or slug required)
slugstringNoItem slug (either id or slug required)
languagestringNoLanguage code (defaults to collection's default language)

Items are returned with content for a single language. The response includes:

  • title - Translatable title for the requested language
  • translationData - Custom translatable fields for the requested language
  • data - Non-translatable fields (same across all languages)

get_single

ParameterTypeRequiredDescription
collectionstringYesSingle collection slug
languagestringNoLanguage code (defaults to collection's default language)

Returns the single item for a single collection. Singles are collections with only one item (like Homepage, Settings). The response includes collection metadata and the item content.

Write Operations

ToolDescription
create_itemCreate a new item in a collection with an initial translation
update_itemUpdate an existing item's non-translatable fields (slug, date, data)
update_translationCreate or update an item translation for a specific language

Required scope: write

Trigger Operations

ToolDescription
list_triggersList all triggers configured for the domain
fire_triggerManually fire a trigger by ID

Required scope: read for list_triggers, write for fire_trigger

list_triggers

Returns all triggers configured for the domain with their URL and method.

fire_trigger

ParameterTypeRequiredDescription
triggerIdstringYesTrigger ID to fire

Manually executes the trigger and returns the execution result. The response includes:

  • success - Whether the trigger executed successfully
  • status - SUCCESS or FAILED
  • statusCode - HTTP response code (if applicable)
  • durationMs - Execution time in milliseconds
  • error - Error message (if failed)

Error Handling

Tools return errors in a consistent format:

{
  "isError": true,
  "content": [{ "type": "text", "text": "Error: <message>" }]
}

Common errors: unauthorized, collection not found, item not found, slug already in use, invalid language.

On this page