Arlet
PayPal

Connect PayPal to Codex

Search, read and write PayPal from Codex. Arlet links the two through one MCP connection and takes care of keys and authentication.

Arlet makes PayPal's official MCP server available from the AI client you already use. Signing in with your PayPal business account completes the connection.

The AI can create and send invoices, handle orders and refunds, summarize transactions, review disputes and manage subscriptions. The available tools are those provided by PayPal's official server and operate on the live environment, so keep tool-call confirmation enabled in your AI client for anything that moves money.

How to connect PayPal to Codex

  1. 1

    In the Arlet dashboard, open Integrations β†’ Add an integration and choose PayPal. Sign in with Link PayPal, name the connection and click Create.

  2. 2

    In your terminal, run codex mcp add arlet --url https://mcp.arlet.dev/mcp/ to add Arlet as an MCP server.

  3. 3

    Codex detects OAuth support and opens your browser. Sign in with Google and click Allow on the consent screen.

  4. 4

    Once connected, both the CLI and the IDE extension can call Arlet tools (the configuration is shared).

If the browser does not open, run codex mcp login arlet to redo the authentication.

What you can do

PayPal tools that Codex can call.

  • create_invoice

    Create an invoice.

  • send_invoice

    Send an invoice.

  • send_invoice_reminder

    Send a reminder for an unpaid invoice.

  • list_invoices

    List invoices.

  • get_invoice

    Get one invoice in detail.

  • cancel_sent_invoice

    Cancel a sent invoice.

  • create_order

    Create an order.

  • get_order

    Get an order's details.

  • create_refund

    Issue a full or partial refund.

  • get_refund

    Get a refund's details.

  • list_transaction

    List transactions in a date range.

  • get_merchant_insights

    Get sales and order analytics.

  • list_disputes

    List disputes.

  • get_dispute

    Get one dispute in detail.

  • create_subscription_plan

    Create a subscription plan.

  • list_subscription_plans

    List subscription plans.

  • show_subscription_details

    Get a subscription's details.

  • cancel_subscription

    Cancel a subscription.

  • create_shipment_tracking

    Add shipment tracking to an order.

  • create_product

    Create a product.

The tool list follows what PayPal's official MCP server provides and may change.

Example uses

  • Send an invoice

    Give a customer and an amount to create and send the invoice, then send reminders once it is overdue.

  • Review sales

    Tally this month's transactions into a report on sales, refunds and disputes.

  • Handle a refund

    Look up a transaction by order ID and refund the amount you specify.

  • Stay on top of disputes

    List open disputes with their deadlines and what each one needs.

Prompts you can use as-is

  • Create and send a $500 invoice to Sample Inc.
  • Summarize this month's transactions: sales, refunds and disputes with counts and amounts
  • Refund $30 of order 5O190127TN364715T
  • List open disputes by deadline and tell me what to do for each

Use PayPal with other AI clients