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

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

🛡️ Official✓ VerifiedHTTP + SSEOAuth 2.1🛡️ A+~299 tok4 tools
HTTP + SSEhttps://mcp.squareup.com/mcp
Legacy SSE endpoint
SSEhttps://mcp.squareup.com/sse

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

{
  "mcpServers": {
    "square": {
      "httpUrl": "https://mcp.squareup.com/mcp"
    }
  }
}

接続手順

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

🧰 ツール一覧(4)

ToolSafetyDescriptionParameters
list_payments
~70 tok
🟢 ReadList payments taken by the Square seller account.beginTime: stringlocationId: string
search_orders
~69 tok
🟢 ReadSearch Square orders with filters.locationIds: arrayquery: string
list_catalog_items
~51 tok
🟢 ReadList items in the Square catalog.cursor: string
create_payment_link
~89 tok
🟠 WriteCreate a Square checkout payment link.description*: stringamount*: numbercurrency: string

その他の接続ガイド