1M

199-mcp/mcp-uber

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

16 stars 10 forks 품질 55 트렌드 21

An MCP (Model Context Protocol) server for booking Uber rides through AI assistants.

개요

An MCP (Model Context Protocol) server for booking Uber rides through AI assistants. - OAuth 2.0 authentication with Uber - Get price estimates for rides - Request Uber rides - Check ride status - Cancel rides 1. Go to Uber Developer Dashboard 2. Click "Sign in" and either: - Use an existing Uber rider/driver account - Create a new account specifically for development For organizations, create an email alias (e.g., [email protected]) instead of using a personal account for easier ownership transfer. 1. In the Developer Dashboard, click "Create App" (top right corner) 2. Fill in the required information: - : Your application name - : Brief description of what your app does 3. Click "Create" 1. Navigate to your app in the dashboard 2. Go to the tab 3. You'll find: - : Public identifier for your app - : Private key (keep this secure!) - : For server-side requests 1.

README

원문 README의 일부입니다. 원문 보기.

MCP Uber Server

An MCP (Model Context Protocol) server for booking Uber rides through AI assistants.

Features

  • OAuth 2.0 authentication with Uber
  • Get price estimates for rides
  • Request Uber rides
  • Check ride status
  • Cancel rides

Installation

Using npm (global installation)

npm install -g mcp-uber

Using npx (no installation required)

npx mcp-uber

Setup

Step 1: Create an Uber Developer Account

  1. Go to Uber Developer Dashboard
  2. Click “Sign in” and either:
    • Use an existing Uber rider/driver account
    • Create a new account specifically for development

💡 Tip: For organizations, create an email alias (e.g., [email protected]) instead of using a personal account for easier ownership transfer.

Step 2: Create a New App

  1. In the Developer Dashboard, click “Create App” (top right corner)
  2. Fill in the required information:
    • App Name: Your application name
    • Description: Brief description of what your app does
  3. Click “Create”

Step 3: Get Your API Credentials

  1. Navigate to your app in the dashboard
  2. Go to the Auth tab
  3. You’ll find:
    • Client ID: Public identifier for your app
    • Client Secret: Private key (keep this secure!)
    • Server Token: For server-side requests

Step 4: Configure OAuth Settings

  1. In the Auth tab, add your redirect URI:
    • For local testing: http://localhost:3000/callback
    • For production: Your actual callback URL
  2. Select required scopes:
    • profile - User’s basic profile information
    • request - Request rides on user’s behalf
    • ride_request - View and manage active ride requests

⚠️ Note: The request scope is privileged and requires Uber approval for production use. During development, your account can use it without approval.

Step 5: Set Up Environment Variables

Create environment variables with your credentials (see Configuration section below)

Usage with Claude Desktop

Using npm (global installation)

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "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"
      }
    }
  }
}

Using npx

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "uber": {
      "command": "npx",
      "args": ["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"
      }
    }
  }
}

Available Tools

  1. uber_get_auth_url - Get OAuth authorization URL
GitHub에서 전체 README 보기

설치

npx mcp-uber
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "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" } } } }