Skip to main content
Glama
akramIOT

PayPal MCP Server

by akramIOT

Servidor MCP de PayPal no oficial

Servidor MCP de PayPal

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-server

De 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:latest

Uso

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=SANDBOX

Habilitar solo herramientas específicas

paypal-mcp --tools=invoices.create,invoices.list,orders.create --access-token=your_token

Con Docker

docker run -e PAYPAL_ACCESS_TOKEN="your_access_token" -e PAYPAL_ENVIRONMENT="SANDBOX" ghcr.io/yourusername/paypal-mcp-server:latest --tools=all

Integració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 install

Ejecución de pruebas

pytest -xvs

Construyendo el paquete

python -m build

Licencia

Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.

Expresiones de gratitud

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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.
    7
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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
  • A
    license
    Not graded
    quality
    C
    maintenance
    The 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.
    603
    190
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables 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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/akramIOT/paypal_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server