Skip to main content
Glama
Toast MCP Server

Toast MCP Server

by atthewm

Toast MCP Server

An MCP (Model Context Protocol) server for the Toast restaurant platform. Gives AI assistants structured, safe access to restaurant operations: menus, orders, configuration, and more.

What This Is

Toast MCP Server connects AI tools (Claude Desktop, Claude Code, or any MCP client) to the Toast POS API. It exposes a curated set of read and write tools that let you query restaurant data, search menus, inspect orders, and even create orders with layered safety controls.

This is not a 1:1 API wrapper. It is an opinionated tool surface designed for operational workflows: checking what is on the menu, reviewing today's orders, validating pricing, and monitoring restaurant health.

Related MCP server: Toast MCP Server

Who It Is For

  • Restaurant operators who want AI assisted access to their Toast data

  • Developers building automations on top of Toast

  • Automation builders integrating restaurant operations into AI workflows

  • Teams using Claude who want natural language access to POS data

Features

Read Tools (11)

Query restaurant info, configuration, menus, orders, and system health without modifying anything.

Write Tools (3, gated)

Price orders, create orders, and update orders. All write operations require explicit opt in through environment variables and per call confirmation.

Event System

Normalized event types for menu changes, order thresholds, health checks, and more. Ready for webhook ingestion and downstream routing.

Teams Bridge Foundation

Scaffold for forwarding Toast events to Microsoft Teams channels via incoming webhooks, with MessageCard formatting and severity based color coding.

What Is Not Yet Supported

  • Webhook ingestion (event types are defined but no inbound listener yet)

  • Full reporting endpoints (require specific Toast API scopes)

  • Partner discovery across management groups

  • Bidirectional Teams communication (bot framework, adaptive cards)

  • Menu change detection via polling

  • Order threshold alerting

See docs/roadmap.md for the full plan.

Quick Start

1. Install

npm install toast-mcp-server

Or clone and build from source:

git clone https://github.com/matthewmckenzie/toast-mcp-server.git
cd toast-mcp-server
npm install
npm run build

2. Configure

Copy the example environment file and fill in your Toast API credentials:

cp .env.example .env

At minimum, you need:

TOAST_CLIENT_ID=your_client_id
TOAST_CLIENT_SECRET=your_client_secret
TOAST_RESTAURANT_GUID=your_restaurant_guid

3. Run

# Via npx (if installed globally or as a dependency)
npx toast-mcp-server

# Or directly
node dist/index.js

# Or in development mode
npm run dev

Environment Variables

Variable

Required

Default

Description

TOAST_CLIENT_ID

Yes

Toast API client ID

TOAST_CLIENT_SECRET

Yes

Toast API client secret

TOAST_RESTAURANT_GUID

Yes*

Single restaurant GUID

TOAST_RESTAURANT_GUIDS

No

Comma separated list for multi location

TOAST_API_HOST

No

https://ws-api.toasttab.com

Toast API base URL

ALLOW_WRITES

No

false

Enable write tools (price, create, update orders)

DRY_RUN

No

true

Validate write payloads without executing

LOG_LEVEL

No

info

Logging level: debug, info, warn, error

PARTNER_MODE

No

false

Enable partner integration mode

WEBHOOK_SECRET

No

Secret for future webhook ingestion

WEBHOOK_PORT

No

3100

Port for future webhook listener

MICROSOFT_TEAMS_WEBHOOK_URL

No

Teams incoming webhook URL

MICROSOFT_BRIDGE_ENABLED

No

false

Enable Teams event forwarding

*Either TOAST_RESTAURANT_GUID or TOAST_RESTAURANT_GUIDS should be set.

MCP Client Configuration

Claude Code

Add to your MCP configuration:

{
  "mcpServers": {
    "toast": {
      "command": "npx",
      "args": ["toast-mcp-server"],
      "env": {
        "TOAST_CLIENT_ID": "your_client_id",
        "TOAST_CLIENT_SECRET": "your_client_secret",
        "TOAST_RESTAURANT_GUID": "your_restaurant_guid"
      }
    }
  }
}

Claude Desktop

{
  "mcpServers": {
    "toast": {
      "command": "node",
      "args": ["/path/to/toast-mcp-server/dist/index.js"],
      "env": {
        "TOAST_CLIENT_ID": "your_client_id",
        "TOAST_CLIENT_SECRET": "your_client_secret",
        "TOAST_RESTAURANT_GUID": "your_restaurant_guid",
        "ALLOW_WRITES": "false",
        "LOG_LEVEL": "info"
      }
    }
  }
}

Example Usage

Check connection health

Use toast_healthcheck to verify the server is properly connected.

Returns authentication status, API connectivity, and configuration summary.

Search the menu

Use toast_search_menu_items with query "burger" to find all burger items on the menu.

Returns matching items with their menu context, group, price, and modifiers.

List today's orders

Use toast_list_orders with businessDate "20260321" to see today's orders.

Returns recent orders with check details, amounts, server info, and timing.

Price an order before creating it

Use toast_price_order with selections to validate pricing before placing an order.

Returns calculated subtotal, tax, and total without creating a real order.

Write Safety Model

Write operations use three layers of protection:

  1. ALLOW_WRITES environment variable must be set to true. When false (the default), write tools are not even registered with the MCP server. They are invisible to the client.

  2. DRY_RUN environment variable defaults to true. When enabled, write tools validate payloads and return what would happen without executing the operation. Set to false only when you are ready for real writes.

  3. confirm_write parameter on each write tool call. The caller must explicitly pass confirm_write: true on every invocation. This prevents accidental writes even when the environment is configured for them.

All three layers must be satisfied for a write to execute. This means you cannot accidentally create a real order.

Tool Reference

Read Tools

Tool

Description

toast_auth_status

Verify API credentials and connection status

toast_list_restaurants

List all configured restaurants with basic info

toast_get_restaurant_info

Get detailed info for a specific restaurant

toast_get_config_summary

Revenue centers, dining options, service areas

toast_get_menu_metadata

Lightweight menu overview (names, counts)

toast_get_menu

Full menu with items, modifiers, prices

toast_search_menu_items

Search menu items by keyword

toast_get_order

Get a specific order by GUID

toast_list_orders

List recent orders with filters

toast_healthcheck

Validate config, auth, and connectivity

toast_api_capabilities

Report available features and permissions

Write Tools

Tool

Description

Safety

toast_price_order

Validate and price a proposed order

Requires ALLOW_WRITES

toast_create_order

Create a real order in Toast

Requires ALLOW_WRITES + DRY_RUN=false + confirm_write

toast_update_order

Modify an existing order

Requires ALLOW_WRITES + DRY_RUN=false + confirm_write

See docs/tools.md for full tool documentation.

Development

Build

npm run build        # Compile TypeScript
npm run clean        # Remove dist/

Test

npm test             # Run tests
npm run test:watch   # Watch mode
npm run test:coverage # With coverage

Lint

npm run lint         # Check for issues
npm run lint:fix     # Auto fix
npm run typecheck    # Type checking only

Dev Mode

npm run dev          # Watch mode with tsx

Architecture

The server is organized into layers: configuration, Toast API client, tool registry, event system, and notification bridge. Tools are curated for operational use cases rather than exposing every API endpoint.

See docs/architecture.md for details.

Roadmap

The project follows a phased plan from core read tools through real time event processing and Teams integration.

See docs/roadmap.md for the full roadmap.

Toast API Access

This server requires valid Toast API credentials. To obtain them:

  1. Register as a Toast partner or contact Toast to get API access

  2. Obtain a client ID and client secret

  3. Get the restaurant GUID(s) for the location(s) you want to access

Toast API access is subject to Toast's terms of service and partner agreements. This project is not affiliated with or endorsed by Toast, Inc.

License

MIT. See LICENSE.

Available Tools

12 tools
toast_api_capabilitiesB

Summarize which features are available based on current configuration and credentials. Helps understand what operations the server can perform.

Inputs: no named parameters.

toast_auth_statusA

Verify Toast API credentials and report connection status. Returns whether authentication is successful, the API host, and configured restaurant GUIDs.

Inputs: no named parameters.

toast_get_config_summaryA

Get a summary of restaurant configuration including revenue centers, dining options, and service areas. Useful for understanding how a restaurant is set up before making queries or creating orders.

Inputs: restaurantGuid.

toast_get_menuA

Get full menu details including groups, items, modifiers, and prices. This can return a large payload. Consider using toast_get_menu_metadata first to identify the specific menu you need.

Inputs: menuGuid, restaurantGuid.

toast_get_menu_metadataA

Get a lightweight overview of available menus without full item details. Returns menu names, GUIDs, and group counts. Use this before fetching the full menu to understand what is available.

Inputs: restaurantGuid.

toast_get_orderA

Get details for a specific order by its GUID. Returns order info including checks, selections, amounts, server, and timing.

Inputs: orderGuid (required), restaurantGuid.

toast_get_restaurant_infoA

Get detailed information about a specific restaurant including name, address, timezone, and currency.

Inputs: restaurantGuid.

toast_healthcheckA

Validate configuration, authentication, and core API connectivity in one call. Returns a health status for each check. Useful for verifying that the server is properly configured.

Inputs: no named parameters.

toast_list_ordersB

List orders for a business day. Returns accurate totalSales across ALL orders and summary details for a subset (controlled by detailCount). Use businessDate in YYYYMMDD format.

Inputs: fetchAll, detailCount, businessDate, restaurantGuid.

toast_list_restaurantsA

List configured restaurants. Returns basic info for each restaurant GUID configured in the server. In partner mode, may discover restaurants via the management group.

Inputs: no named parameters.

toast_list_shiftsA

List labor data for a business date: scheduled shifts, actual clock in/out time entries, employee names, and job roles. Use businessDate in YYYYMMDD format.

Inputs: businessDate (required), restaurantGuid.

toast_search_menu_itemsA

Search menu items by name, group, modifier, or keyword. Searches across all menus and returns matching items with their menu and group context. Case insensitive.

Inputs: query (required), maxResults, restaurantGuid.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 12 tools

    Disambiguation4/5

    Menu tools are well differentiated (metadata vs full menu vs item search) and order/restaurant/shift tools each target distinct resources. However, toast_auth_status, toast_healthcheck, and toast_api_capabilities all report on configuration/auth/connectivity with fuzzy boundaries, so an agent may hesitate over which diagnostic to call.

    Naming Consistency4/5

    All tools share a consistent toast_ prefix and snake_case, with a clear verb_noun pattern for the bulk of them (get_*, list_*, search_*). A few are noun-only status/diagnostic names (auth_status, healthcheck, api_capabilities), a minor deviation from the pattern.

    Tool Count5/5

    Twelve tools is well within the sweet spot and each maps to a meaningful read operation across restaurants, menus, orders, and labor. Nothing seems redundant padding—the metadata/health helpers earn their place by avoiding payload-heavy calls.

    Completeness3/5

    The surface is coherent read-only coverage but notably lacks any write operations: no create/update order, no payment handling, and config summary explicitly anticipates 'creating orders' that cannot be done. Only shifts are exposed for labor, with no employee or sales-reporting endpoints, creating dead ends for common POS lifecycle workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to query live Toast POS data and generate sales, labor, and cash reports while answering restaurant operations questions, all in a read-only manner.
      -
    • A
      license
      C
      quality
      C
      maintenance
      Enables Claude or any MCP client to query a Toast POS using plain English, with 55 read-only tools covering orders, sales, labor, employees, menus, inventory, customers, and cash.
      55
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to query a retail and food-service point-of-sale database through predefined business tools for sales summaries, top products, margins, stagnant inventory, cash reconciliation, and optional stock adjustments, returning formatted markdown answers.
      MIT