- Home
- MCP servers
- MCP Uber Server
MCP Uber Server
- javascript
3
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"199-mcp-mcp-uber": {
"command": "mcp-uber",
"args": [],
"env": {
"UBER_CLIENT_ID": "your_client_id",
"UBER_ENVIRONMENT": "sandbox",
"UBER_REDIRECT_URI": "http://localhost:3000/callback",
"UBER_CLIENT_SECRET": "your_client_secret"
}
}
}
}You can integrate Uber ride capabilities into AI assistants with this MCP Uber Server. It handles OAuth authentication, retrieves price estimates, requests rides, checks ride status, and can cancel rides, all through a standardized MCP interface so your assistant can book and manage Uber trips smoothly.
How to use
You interact with the MCP Uber Server through a client that communicates using MCP endpoints. Start by configuring authentication and environment variables, then use the provided tools to obtain an auth URL, exchange codes for tokens, and perform ride operations like pricing, requesting, and monitoring rides.
Typical usage flow:
How to install
Prerequisites you need before installation are Node.js and npm. Ensure you have a compatible runtime on your system.
# Install the MCP Uber Server globally for quick access
npm install -g mcp-uber
# Or run it on demand with npx
npx mcp-uber
Configuration and usage notes
Configure OAuth and environment variables to enable secure operation and proper authentication with Uber.
{
"mcpServers": {
"uber": {
"command": "mcp-uber",
"env": {
"UBER_CLIENT_ID": "your_client_id",
"UBER_CLIENT_SECRET": "your_client_secret",
"UBER_REDIRECT_URI": "http://localhost:3000/callback",
"UBER_ENVIRONMENT": "sandbox"
}
}
}
}
Environment variables to set
You should provide the following environment variables to the MCP Uber Server for proper OAuth and operation.
UBER_CLIENT_ID=your_client_id
UBER_CLIENT_SECRET=your_client_secret
UBER_REDIRECT_URI=http://localhost:3000/callback
UBER_ENVIRONMENT=sandbox
Available tools
uber_get_auth_url
Generates the OAuth authorization URL to start user authentication.
uber_set_access_token
Stores the user's OAuth access token after successful authentication.
uber_get_price_estimates
Fetches price estimates for a desired ride between locations.
uber_request_ride
Submits a ride request on behalf of the authenticated user.
uber_get_ride_status
Retrieves the current status of an active ride request.
uber_cancel_ride
Cancels an outstanding ride request.