KosmoKrator

payments

PayPal MCP, CLI, and Lua Integration for AI Agents

PayPal integration docs for AI agents: MCP gateway setup, PayPal CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write Bearer token auth

PayPal for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
paypal
route_slug
paypal
package
paypal
auth_strategy
bearer_token Bearer token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

PayPal MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for PayPal.

PayPal CLI Matrix

Use these pages for direct PayPal CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
paypal.paypal_list_orders Read read 5 List PayPal checkout orders. Returns order IDs, statuses, and amounts. Use filters to narrow results by status or date range.
paypal.paypal_get_order Read read 1 Get details of a specific PayPal checkout order by its order ID. Returns full order information including status, payer details, and line items.
paypal.paypal_create_order Write write 4 Create a new PayPal checkout order. Specify the intent, purchase units with amounts, and optional payer details. Returns the created order with approval links.
paypal.paypal_list_payments Read read 6 List PayPal payments. Returns payment IDs, states, amounts, and transaction details. Use filters to narrow results by count or date range.
paypal.paypal_get_payment Read read 1 Get details of a specific PayPal payment by its payment ID. Returns full payment information including state, amount, payer details, and transactions.
paypal.paypal_list_invoices Read read 4 List PayPal invoices. Returns invoice IDs, numbers, statuses, amounts, and recipient details. Use pagination parameters to navigate through results.
paypal.paypal_get_current_user Read read 1 Get the authenticated PayPal user's profile information. Returns the user's name, email, and other account details.