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