PayPal MCP Server
Servidor MCP de PayPal no oficial
Implementación en Python de un servidor de Protocolo de Contexto de Modelo (MCP) para integraciones de API de PayPal. Este servidor permite que los Modelos de Lenguaje Grandes (LLM) interactúen con las API de PayPal mediante llamadas a funciones.
Características
Implementación completa del Protocolo de Contexto de Modelo para las API de PayPal
Compatibilidad con todos los principales puntos finales de la API de PayPal:
Facturas : crear, listar, ver, enviar, recordar, cancelar, códigos QR
Órdenes : crear, obtener, capturar
Productos : crear, listar, ver, actualizar
Planes de suscripción : crear, listar, ver
Suscripciones : crear, ver, cancelar
Envíos : Crear, rastrear
Disputas : Listar, ver, aceptar
Transacciones : Listar y filtrar
Related MCP server: PayPal MCP Server
Instalación
Desde PyPI
pip install paypal-mcp-serverDe la fuente
git clone https://github.com/yourusername/paypal-mcp-server.git
cd paypal-mcp-server
pip install -e .Usando Docker
docker pull ghcr.io/yourusername/paypal-mcp-server:latestUso
Línea de comandos
# Using environment variables
export PAYPAL_ACCESS_TOKEN="your_access_token"
export PAYPAL_ENVIRONMENT="SANDBOX" # or "PRODUCTION"
paypal-mcp --tools=all
# Or with command line arguments
paypal-mcp --tools=all --access-token=your_access_token --paypal-environment=SANDBOXHabilitar solo herramientas específicas
paypal-mcp --tools=invoices.create,invoices.list,orders.create --access-token=your_tokenCon Docker
docker run -e PAYPAL_ACCESS_TOKEN="your_access_token" -e PAYPAL_ENVIRONMENT="SANDBOX" ghcr.io/yourusername/paypal-mcp-server:latest --tools=allIntegración con Claude Desktop
Agregue lo siguiente a su ~/Claude/claude_desktop_config.json :
{
"mcpServers": {
"paypal": {
"command": "paypal-mcp",
"args": [
"--tools=all"
],
"env": {
"PAYPAL_ACCESS_TOKEN": "YOUR_PAYPAL_ACCESS_TOKEN",
"PAYPAL_ENVIRONMENT": "SANDBOX"
}
}
}
}Cómo obtener un token de acceso de PayPal
Puede generar un token de acceso de PayPal utilizando su ID de cliente y su secreto de cliente:
curl -v https://api-m.sandbox.paypal.com/v1/oauth2/token \
-H "Accept: application/json" \
-H "Accept-Language: en_US" \
-u "CLIENT_ID:CLIENT_SECRET" \
-d "grant_type=client_credentials"Desarrollo
Configurar el entorno de desarrollo
# Clone the repository
git clone https://github.com/yourusername/paypal-mcp-server.git
cd paypal-mcp-server
# Install dev dependencies
pip install -e ".[dev]"
# Install pre-commit hooks
pre-commit installEjecución de pruebas
pytest -xvsConstruyendo el paquete
python -m buildLicencia
Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.
Expresiones de gratitud
Basado en el kit de herramientas del agente de PayPal
Compatible con la especificación del Protocolo de Contexto de Modelo
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, send and track invoices from a conversation in Claude, ChatGPT or any MCP client that supports OAuth. Draft an invoice from one sentence or from last month's invoice for the same client, finalize it, email it to your client and send payment reminders for overdue ones. See revenue by month and by client, download PDFs and e-invoices (ZUGFeRD, XRechnung), and export DATEV packages for your tax advisor. Invoices follow the tax rules of 25 countries, including reverse charge and the small-business VAT exemption. New invoices are drafts, and nothing is emailed until you ask. Pay per invoice with no subscription: the first invoice is free.
- jigwellOAuthsite.jigwell
Pay-per-call tools for AI assistants: code, data, finance, spreadsheets, media, web, time.
1 Agentic Commerce Protocol sandbox: agent builds a cart, human approves a real PayPal payment.
Send invoices from Claude and ChatGPT. One sentence becomes a PDF with a Stripe payment link.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides comprehensive integration with PayPal's APIs, enabling seamless interaction with payment processing, invoicing, subscription management, and business operations through a standardized interface.7Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA server that provides integration with PayPal's APIs, enabling seamless interaction with payment processing, invoicing, subscription management, and business operations through a standardized interface.MIT
- AlicenseNot gradedqualityDmaintenanceThe PayPal Model Context Protocol server allows you to integrate with PayPal APIs through function calling. This protocol supports various tools to interact with different PayPal services.742 npm197-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to interact with multiple payment providers (Stripe, Paystack) through a unified API. Supports payment initialization, verification, refunds, customer management, and invoicing without requiring knowledge of specific provider implementations.2-