Upstash Redis & Vector リモートMCPを Gemini CLI にMCP接続する方法(設定手順)

Upstash のリモートMCPサーバーを Gemini CLI に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~311 tok5 tools
Streamable HTTPhttps://mcp.upstash.com/mcp

Add to ~/.gemini/settings.json under mcpServers — httpUrl for Streamable HTTP, url for legacy SSE:

{
  "mcpServers": {
    "upstash": {
      "httpUrl": "https://mcp.upstash.com/mcp"
    }
  }
}

接続手順

  1. 設定ファイルを編集 — ~/.gemini/settings.json を開きます。
  2. サーバーを追加 — mcpServers に "upstash": { "httpUrl": https://mcp.upstash.com/mcp } を追加します。
  3. 認証を完了 — 初回呼び出し時に Upstash の OAuth 認可画面が開きます。許可するとツールが有効になります。
  4. 検証 — オンライン Inspector に https://mcp.upstash.com/mcp を貼り付け、initialize と tools/list を実行して接続を確認します。

🧰 ツール一覧(5)

ToolSafetyDescriptionParameters
redis_run_command
~75 tok
🟠 WriteExecute a Redis command against a selected database.databaseId*: stringcommand*: string
list_databases
~36 tok
🟢 ReadList Redis databases in your account.—
vector_upsert
~74 tok
🟠 WriteUpsert vectors into a Vector index.indexId*: stringvectors*: array
vector_query
~69 tok
🟢 ReadQuery a Vector index by vector or text.indexId*: stringquery*: string
list_vector_indexes
~37 tok
🟢 ReadList Vector indexes in your account.—

その他の接続ガイド