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

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

🛡️ Official✓ VerifiedHTTP + SSEOAuth 2.1🛡️ A+~612 tok20 tools
HTTP + SSEhttps://mcp.paypal.com/mcp
Legacy SSE endpoint
SSEhttps://mcp.paypal.com/sse

Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:

[mcp_servers.paypal]
url = "https://mcp.paypal.com/mcp"

接続手順

  1. TOML を編集 — ~/.codex/config.toml に [mcp_servers.paypal] と url = "https://mcp.paypal.com/mcp" を追記します。
  2. 資格情報を設定 — 初回呼び出し時に PayPal の OAuth 認可画面が開きます。許可するとツールが有効になります。
  3. 検証 — オンライン Inspector に https://mcp.paypal.com/mcp を貼り付け、initialize と tools/list を実行して接続を確認します。

🧰 ツール一覧(20)

ToolSafetyDescriptionParameters
create_invoice
~29 tok
🟠 WriteCreate a PayPal invoice.—
list_invoices
~28 tok
🟢 ReadList PayPal invoices.—
get_invoice
~29 tok
🟢 ReadGet details of an invoice.—
send_invoice
~31 tok
🟠 WriteSend an invoice to its recipient.—
send_invoice_reminder
~34 tok
🟠 WriteSend a reminder for an unpaid invoice.—
cancel_sent_invoice
~30 tok
🔴 DestructiveCancel a sent invoice.—
generate_invoice_qr_code
~34 tok
🟢 ReadGenerate a QR code for an invoice.—
create_product
~29 tok
🟠 WriteCreate a PayPal product.—
list_products
~28 tok
🟢 ReadList PayPal products.—
show_product_details
~29 tok
🟢 ReadGet product details.—
update_product
~27 tok
🟠 WriteUpdate a product.—
create_order
~30 tok
🟠 WriteCreate an order for checkout.—
get_order
~26 tok
🟢 ReadGet order details.—
pay_order
~29 tok
🟠 WriteCapture payment for an order.—
create_shipment
~33 tok
🟠 WriteCreate shipment tracking for an order.—
get_shipment_tracking
~32 tok
🟢 ReadGet shipment tracking status.—
create_subscription_plan
~34 tok
🟠 WriteCreate a subscription billing plan.—
list_disputes
~28 tok
🟢 ReadList customer disputes.—
get_refund
~27 tok
🟢 ReadGet refund details.—
list_orders
~25 tok
🟢 ReadList orders.—

その他の接続ガイド