如何将 PayPal 远程 MCP 连接到 Kiro
约 1 分钟即可把 PayPal 的远程 MCP 服务端接入 Kiro。如需排查 OAuth / 401 问题,可先用 OAuth 2.1 调试器体检端点。
HTTP + SSEhttps://mcp.paypal.com/mcp
Legacy SSE endpoint
SSEhttps://mcp.paypal.com/sse
Install in Cursor →
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"paypal": {
"url": "https://mcp.paypal.com/mcp"
}
}
}claude mcp add --transport http paypal https://mcp.paypal.com/mcp
Install in VS Code →
Or add to .vscode/mcp.json:
{
"servers": {
"paypal": {
"type": "http",
"url": "https://mcp.paypal.com/mcp"
}
}
}- Open Settings → Connectors (Integrations) → Add Custom Connector.
- Paste the endpoint URL:
https://mcp.paypal.com/mcp - Complete the browser OAuth 2.1 login flow when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"paypal": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.paypal.com/mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"paypal": {
"serverUrl": "https://mcp.paypal.com/mcp"
}
}
}Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:
{
"mcpServers": {
"paypal": {
"url": "https://mcp.paypal.com/mcp"
}
}
}Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.paypal] url = "https://mcp.paypal.com/mcp"
Add to cline_mcp_settings.json (Cline → MCP Servers → Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"paypal": {
"type": "streamableHttp",
"url": "https://mcp.paypal.com/mcp"
}
}
}Add to ~/.gemini/settings.json under mcpServers — httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"paypal": {
"httpUrl": "https://mcp.paypal.com/mcp"
}
}
}接入步骤
- 打开 MCP 配置 — Kiro → MCP 面板,或编辑工作区
.kiro/settings/mcp.json。 - 添加服务端 — 写入
"paypal": { "url":https://mcp.paypal.com/mcp}。 - 完成认证 — 首次调用时客户端会打开 PayPal 的 OAuth 授权页面——点击允许后工具即可用。
- 验证 — 在 在线 Inspector 中粘贴
https://mcp.paypal.com/mcp并运行 initialize + tools/list 验证连通性。
🧰 工具预览(20)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| create_invoice ~29 tok | 🟠 Write | Create a PayPal invoice. | — |
| list_invoices ~28 tok | 🟢 Read | List PayPal invoices. | — |
| get_invoice ~29 tok | 🟢 Read | Get details of an invoice. | — |
| send_invoice ~31 tok | 🟠 Write | Send an invoice to its recipient. | — |
| send_invoice_reminder ~34 tok | 🟠 Write | Send a reminder for an unpaid invoice. | — |
| cancel_sent_invoice ~30 tok | 🔴 Destructive | Cancel a sent invoice. | — |
| generate_invoice_qr_code ~34 tok | 🟢 Read | Generate a QR code for an invoice. | — |
| create_product ~29 tok | 🟠 Write | Create a PayPal product. | — |
| list_products ~28 tok | 🟢 Read | List PayPal products. | — |
| show_product_details ~29 tok | 🟢 Read | Get product details. | — |
| update_product ~27 tok | 🟠 Write | Update a product. | — |
| create_order ~30 tok | 🟠 Write | Create an order for checkout. | — |
| get_order ~26 tok | 🟢 Read | Get order details. | — |
| pay_order ~29 tok | 🟠 Write | Capture payment for an order. | — |
| create_shipment ~33 tok | 🟠 Write | Create shipment tracking for an order. | — |
| get_shipment_tracking ~32 tok | 🟢 Read | Get shipment tracking status. | — |
| create_subscription_plan ~34 tok | 🟠 Write | Create a subscription billing plan. | — |
| list_disputes ~28 tok | 🟢 Read | List customer disputes. | — |
| get_refund ~27 tok | 🟢 Read | Get refund details. | — |
| list_orders ~25 tok | 🟢 Read | List orders. | — |