This guide provides instructions for AI agents to set up the Uber Eats MCP server on behalf of the user.
- Python 3.12 or higher
- Anthropic API key or other supported LLM provider
-
Create and activate a virtual environment:
uv venv source .venv/bin/activate # On Unix/Mac -
Install required packages:
uv pip install -r requirements.txt playwright install
To use this server with MCP-compatible applications, you need to add it to your MCP settings file:
Important Notes:
- Replace
/path/to/uber-eats-mcp-serverwith the actual path to your installation - Replace the censored
ANTHROPIC_API_KEYwith your actual Anthropic API key - All environment variables can be set directly in the MCP settings JSON file, so you don't need to update the .env file separately
- The command uses
/bin/bashto activate the virtual environment before running the server - You may need to restart your application after updating the MCP settings
This MCP server provides the following tools:
-
find_menu_options: Search Uber Eats for restaurants or food items- Parameters:
search_term(string) - Food or restaurant to search for - Returns a resource URI that can be used to retrieve the results after a few minutes
- Parameters:
-
order_food: Order food from a restaurant- Parameters:
item_url(string) - URL of the item to orderitem_name(string) - Name of the item to order
- Parameters:
# Search for pizza options
result = await use_mcp_tool(
server_name="github.com/ericzakariasson/uber-eats-mcp-server",
tool_name="find_menu_options",
arguments={"search_term": "pizza"}
)
# Wait for the search to complete (about 2 minutes)
# Then retrieve the results using the resource URI
search_results = await access_mcp_resource(
server_name="github.com/ericzakariasson/uber-eats-mcp-server",
uri="resource://search_results/{request_id}" # request_id from the previous result
)
# Order food using the URL from the search results
order_result = await use_mcp_tool(
server_name="github.com/ericzakariasson/uber-eats-mcp-server",
tool_name="order_food",
arguments={
"item_url": "https://www.ubereats.com/...", # URL from search results
"item_name": "Pepperoni Pizza"
}
)If you encounter connection issues:
- Make sure the virtual environment is activated in the MCP settings file command
- Check that the paths in your MCP settings file are correct
- Verify that your Anthropic API key is valid
- Try adjusting the log levels in the env section of your MCP settings
- Restart your application after making changes to the MCP settings