Tools

Go MCP server

Go MCP server

Install

Not published. Build from the go-mcp directory.

Package

github.com/voxgig-sdk/foodhub-sdk/go-mcp

API reference

The API reference covers all entities. The tools section lists the operations this server exposes.

Entity Operations
Authorize load
Coupon create, list, load, remove
Deal create, list, load, remove, update
DeliveryZone update
DiscountDeal load, update
Driver remove, update
Floor list
KitchenSection create, list, remove, update
MealDeal load, update
Menu load, update
MenuCategory load, update
MenuItem load, remove, update
MenuModifier load, remove, update
MenuModifierGroup load
MenuSubcategory load
NForNDeal load, update
NForPriceNDeal load, update
OpeningHour load, update
Order create, list, load, update
Reservation create, list, load, update
Slot load
SpecialHour list, update
Store create, list, load, update
Table create, list
Token create

Configuration

Set the server URL and credentials for your environment. Enable only the features your application needs.

Features

Tools

foodhub_list

List records for an entity.

{
  "type": "object",
  "required": [
    "entity"
  ],
  "properties": {
    "entity": {
      "type": "string",
      "description": "authorize | coupon | deal | delivery_zone | discount_deal | driver | floor | kitchen_section | meal_deal | menu | menu_category | menu_item | menu_modifier | menu_modifier_group | menu_subcategory | n_for_n_deal | n_for_price_n_deal | opening_hour | order | reservation | slot | special_hour | store | table | token"
    },
    "query": {
      "type": "object",
      "description": "Optional match fields for the selected entity."
    }
  }
}

Supported entities: coupon, deal, floor, kitchen_section, order, reservation, special_hour, store, table.

foodhub_load

Load one record for an entity.

{
  "type": "object",
  "required": [
    "entity"
  ],
  "properties": {
    "entity": {
      "type": "string",
      "description": "authorize | coupon | deal | delivery_zone | discount_deal | driver | floor | kitchen_section | meal_deal | menu | menu_category | menu_item | menu_modifier | menu_modifier_group | menu_subcategory | n_for_n_deal | n_for_price_n_deal | opening_hour | order | reservation | slot | special_hour | store | table | token"
    },
    "query": {
      "type": "object",
      "description": "Optional match fields for the selected entity."
    }
  }
}

Supported entities: authorize, coupon, deal, discount_deal, meal_deal, menu, menu_category, menu_item, menu_modifier, menu_modifier_group, menu_subcategory, n_for_n_deal, n_for_price_n_deal, opening_hour, order, reservation, slot, store.