Bite2u

Find Bite2u restaurants, see menus with photos and prepare an order to pay on bite2u.com.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
93%
命名质量
93%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,672token 数(工具定义)
~5.1 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.31%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "bite2u": {
      "url": "https://bite2u.com/api/mcp"
    }
  }
}

远程端点

https://bite2u.com/api/mcpstreamable-http

它能做什么

工具清单

工具(3)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_restaurants(query, city, country, service, open_now, ...)

Use this when the user wants to find a restaurant to order food from (delivery or pickup) or to eat at, and the restaurant could be on Bite2u "Order here" (bite2u.com/order). Searches by restaurant name, city, cuisine or dish. Returns only restaurants listed on Bite2u, with whether they are open now, delivery/pickup/dine-in, rating and a link. Ordering and payment happen on the restaurant page at bite2u.com (the url field); this tool does not place orders.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "What the user is looking for: a cuisine, dish or restaurant name (e.g. \"pizza\", \"sushi\", \"burger\"). Optional."
    },
    "city": {
      "type": "string",
      "description": "City or area, if the user said one. Optional."
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, if known (e.g. \"DO\", \"US\", \"ES\"). Optional."
    },
    "service": {
      "type": "string",
      "enum": [
        "delivery",
        "pickup",
        "dine_in"
      ],
      "description": "Only restaurants that offer this service. Optional."
    },
    "open_now": {
      "type": "boolean",
      "description": "true to return only restaurants open right now. Optional."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "description": "Maximum results (default 10)."
    }
  },
  "additionalProperties": false
}

输出模式

{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "restaurants": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "cuisines": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "open_now": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "rating": {
            "type": [
              "number",
              "null"
            ]
          },
          "ratings_count": {
            "type": "number"
          },
          "delivery": {
            "type": "boolean"
          },
          "pickup": {
            "type": "boolean"
          },
          "dine_in": {
            "type": "boolean"
          },
          "prep_minutes": {
            "type": [
              "number",
              "null"
            ]
          },
          "currency": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "image": {
            "type": [
              "string",
              "null"
            ]
          },
          "distance_km": {
            "type": "number"
          },
          "is_demo": {
            "type": "boolean"
          },
          "demo_notice": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "name",
          "url"
        ]
      }
    }
  },
  "required": [
    "total",
    "restaurants"
  ]
}
🟢get_menu(slug)

Use this when the user wants to see the menu, dishes or prices of a restaurant returned by search_restaurants. Pass that restaurant's slug. Returns the menu by category with prices in the restaurant's currency, availability and allergens, plus order_url: the user completes the order and payment on that bite2u.com page.

输入模式

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The restaurant slug from search_restaurants."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false
}

输出模式

{
  "type": "object",
  "properties": {
    "restaurant": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "cuisines": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "open_now": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "rating": {
          "type": [
            "number",
            "null"
          ]
        },
        "ratings_count": {
          "type": "number"
        },
        "delivery": {
          "type": "boolean"
        },
        "pickup": {
          "type": "boolean"
        },
        "dine_in": {
          "type": "boolean"
        },
        "prep_minutes": {
          "type": [
            "number",
            "null"
          ]
        },
        "currency": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "image": {
          "type": [
            "string",
            "null"
          ]
        },
        "distance_km": {
          "type": "number"
        },
        "is_demo": {
          "type": "boolean"
        },
        "demo_notice": {
          "type": "string"
        }
      },
      "required": [
        "slug",
        "name",
        "url"
      ]
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "available_now": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "price": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "currency": {
                  "type": "string"
                },
                "available": {
                  "type": "boolean"
                },
                "allergens": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "id": {
                  "type": "string"
                },
                "image": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sizes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "extra": {
                        "type": "number"
                      }
                    }
                  }
                },
                "option_groups": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "order_url": {
      "type": "string"
    },
    "option_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "min": {
            "type": "number"
          },
          "max": {
            "type": "number"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "price": {
                  "type": "number"
                }
              }
            }
          }
        }
      }
    }
  },
  "required": [
    "restaurant",
    "categories",
    "order_url"
  ]
}
🟢prepare_order(slug, items)

Use this when the user has chosen dishes from a menu returned by get_menu and wants to order. Pass the restaurant slug and the items (dish_id from get_menu, quantity, and size_id / options when the dish has sizes or option groups). It checks every item against the current menu and returns the lines, the subtotal in the restaurant's currency, any problem (for example a required option still to choose) and checkout_url: the restaurant page on bite2u.com with this basket already in it, where the user completes the order and payment. This tool does not place or charge the order.

输入模式

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The restaurant slug from search_restaurants / get_menu."
    },
    "items": {
      "type": "array",
      "minItems": 1,
      "maxItems": 40,
      "items": {
        "type": "object",
        "properties": {
          "dish_id": {
            "type": "string",
            "description": "The dish id from get_menu."
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          },
          "size_id": {
            "type": "string",
            "description": "Required when the dish has sizes: one id from its sizes."
          },
          "options": {
            "type": "array",
            "description": "Chosen options, per option group of the dish (see option_groups in get_menu).",
            "items": {
              "type": "object",
              "properties": {
                "group_id": {
                  "type": "string"
                },
                "option_ids": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "group_id",
                "option_ids"
              ],
              "additionalProperties": false
            }
          },
          "note": {
            "type": "string",
            "maxLength": 80,
            "description": "Short note for the kitchen, only if the user asked (e.g. \"no onions\")."
          }
        },
        "required": [
          "dish_id",
          "quantity"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "slug",
    "items"
  ],
  "additionalProperties": false
}

输出模式

{
  "type": "object",
  "properties": {
    "restaurant": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "open_now": {
          "type": [
            "boolean",
            "null"
          ]
        }
      }
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dish_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unit_price": {
            "type": "number"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "line_total": {
            "type": "number"
          }
        }
      }
    },
    "subtotal": {
      "type": "number"
    },
    "currency": {
      "type": "string"
    },
    "problems": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "checkout_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "restaurant",
    "lines",
    "subtotal",
    "checkout_url"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本3 个工具