188 lines
4.9 KiB
JSON
188 lines
4.9 KiB
JSON
{
|
|
"server": {
|
|
"command": "node",
|
|
"args": [
|
|
"/Users/jakeshore/.clawdbot/workspace/mcp-diagrams/mcp-servers/toast/dist/index.js"
|
|
],
|
|
"env": {
|
|
"TOAST_CLIENT_ID": "factory_discovery_dummy",
|
|
"TOAST_CLIENT_SECRET": "factory_discovery_dummy",
|
|
"TOAST_RESTAURANT_GUID": "factory_discovery_dummy"
|
|
}
|
|
},
|
|
"tests": {
|
|
"tools": {
|
|
"list_orders": {
|
|
"args": {
|
|
"start_date": "test_value",
|
|
"end_date": "test_value",
|
|
"page_size": 50,
|
|
"page_token": "test_value",
|
|
"business_date": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_orders:empty-page_token": {
|
|
"args": {
|
|
"start_date": "test_value",
|
|
"end_date": "test_value",
|
|
"page_size": 50,
|
|
"page_token": "",
|
|
"business_date": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_orders:empty-business_date": {
|
|
"args": {
|
|
"start_date": "test_value",
|
|
"end_date": "test_value",
|
|
"page_size": 50,
|
|
"page_token": "test_value",
|
|
"business_date": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"get_order": {
|
|
"args": {
|
|
"order_guid": "test-id-123"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_menu_items": {
|
|
"args": {
|
|
"menu_guid": "test-id-123",
|
|
"include_modifiers": true
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_menu_items:empty-menu_guid": {
|
|
"args": {
|
|
"menu_guid": "",
|
|
"include_modifiers": true
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"update_menu_item": {
|
|
"args": {
|
|
"item_guid": "test-id-123",
|
|
"quantity": "test_value",
|
|
"status": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"update_menu_item:empty-quantity": {
|
|
"args": {
|
|
"item_guid": "test-id-123",
|
|
"quantity": "",
|
|
"status": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"update_menu_item:empty-status": {
|
|
"args": {
|
|
"item_guid": "test-id-123",
|
|
"quantity": "test_value",
|
|
"status": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_employees": {
|
|
"args": {
|
|
"page_size": 50,
|
|
"page_token": "test_value",
|
|
"include_archived": true
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_employees:empty-page_token": {
|
|
"args": {
|
|
"page_size": 50,
|
|
"page_token": "",
|
|
"include_archived": true
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"get_labor": {
|
|
"args": {
|
|
"start_date": "test_value",
|
|
"end_date": "test_value",
|
|
"employee_guid": "test-id-123",
|
|
"page_size": 50,
|
|
"page_token": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"get_labor:empty-employee_guid": {
|
|
"args": {
|
|
"start_date": "test_value",
|
|
"end_date": "test_value",
|
|
"employee_guid": "",
|
|
"page_size": 50,
|
|
"page_token": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"get_labor:empty-page_token": {
|
|
"args": {
|
|
"start_date": "test_value",
|
|
"end_date": "test_value",
|
|
"employee_guid": "test-id-123",
|
|
"page_size": 50,
|
|
"page_token": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_checks": {
|
|
"args": {
|
|
"start_date": "test_value",
|
|
"end_date": "test_value",
|
|
"page_size": 50,
|
|
"page_token": "test_value",
|
|
"check_status": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_checks:empty-page_token": {
|
|
"args": {
|
|
"start_date": "test_value",
|
|
"end_date": "test_value",
|
|
"page_size": 50,
|
|
"page_token": "",
|
|
"check_status": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_checks:empty-check_status": {
|
|
"args": {
|
|
"start_date": "test_value",
|
|
"end_date": "test_value",
|
|
"page_size": 50,
|
|
"page_token": "test_value",
|
|
"check_status": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"void_check": {
|
|
"args": {
|
|
"order_guid": "test-id-123",
|
|
"check_guid": "test-id-123",
|
|
"void_reason": "test-id-123",
|
|
"void_business_date": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"void_check:empty-void_reason": {
|
|
"args": {
|
|
"order_guid": "test-id-123",
|
|
"check_guid": "test-id-123",
|
|
"void_reason": "",
|
|
"void_business_date": 50
|
|
},
|
|
"expect": "exists"
|
|
}
|
|
},
|
|
"resources": {},
|
|
"prompts": {},
|
|
"timeout": 30000
|
|
}
|
|
} |