Back to MCP directory
publicPublicdnsLocal runtime

Uber Eats Automation

基于Uber Eats的MCP服务器概念验证项目

article

README

🚀 优步Eats MCP服务器

这是一个关于如何在优步Eats上构建MCP服务器的概念验证(POC)项目,可实现LLM应用程序与外部工具的无缝集成。

项目相关链接

🚀 快速开始

什么是MCP?

模型上下文协议(MCP) 是一个开放协议,使LLM应用程序与外部工具之间的无缝集成成为可能。

先决条件

  • Python 3.12或更高版本
  • Anthropic API密钥或其他受支持的LLM提供程序

📦 安装指南

1. 激活虚拟环境

uv venv
source .venv/bin/activate  # 在Unix/Mac上

2. 安装所需的包

uv pip install -r requirements.txt
playwright install

3. 更新.env文件

.env文件中添加您的API密钥:

ANTHROPIC_API_KEY=your_openai_api_key_here

注意事项

⚠️ 重要提示

由于我们使用stdio作为MCP传输,因此需要禁用所有浏览器输出。

💻 使用示例

调试运行

您可以运行以下命令来启动MCP检查工具:

uv run mcp dev server.py
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client