PayPal MCP Server

Integrations

  • Enables interaction with PayPal's APIs, supporting operations for invoices, orders, products, subscription plans, subscriptions, shipments, disputes, and transactions. Allows creating, listing, viewing, and managing PayPal resources programmatically.

비공식 PayPal MCP 서버

PayPal API 통합을 위한 모델 컨텍스트 프로토콜(MCP) 서버의 Python 구현입니다. 이 서버는 대규모 언어 모델(LLM)이 함수 호출을 통해 PayPal API와 상호 작용할 수 있도록 지원합니다.

특징

  • PayPal API를 위한 모델 컨텍스트 프로토콜의 전체 구현
  • 모든 주요 PayPal API 엔드포인트 지원:
    • 송장 : 생성, 목록, 보기, 보내기, 알림, 취소, QR 코드
    • 주문 : 생성, 획득, 캡처
    • 제품 : 생성, 나열, 보기, 업데이트
    • 구독 플랜 : 생성, 목록, 보기
    • 구독 : 생성, 보기, 취소
    • 배송 : 생성, 추적
    • 분쟁 : 목록, 보기, 수락
    • 거래 : 목록 및 필터링

설치

PyPI에서

지엑스피1

출처에서

git clone https://github.com/yourusername/paypal-mcp-server.git cd paypal-mcp-server pip install -e .

Docker 사용하기

docker pull ghcr.io/yourusername/paypal-mcp-server:latest

용법

명령줄

# 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

특정 도구만 활성화

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

도커를 사용하여

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

Claude Desktop과 통합

~/Claude/claude_desktop_config.json 에 다음을 추가하세요.

{ "mcpServers": { "paypal": { "command": "paypal-mcp", "args": [ "--tools=all" ], "env": { "PAYPAL_ACCESS_TOKEN": "YOUR_PAYPAL_ACCESS_TOKEN", "PAYPAL_ENVIRONMENT": "SANDBOX" } } } }

PayPal 액세스 토큰 얻기

클라이언트 ID와 클라이언트 비밀번호를 사용하여 PayPal 액세스 토큰을 생성할 수 있습니다.

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"

개발

개발 환경 설정

# 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

테스트 실행

pytest -xvs

패키지 구축

python -m build

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

감사의 말

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

대규모 언어 모델이 함수 호출을 통해 PayPal API와 상호 작용할 수 있도록 하는 Python 구현으로, 송장, 주문, 제품, 구독 및 거래와 같은 기능을 지원합니다.

  1. 특징
    1. 설치
      1. PyPI에서
      2. 출처에서
      3. Docker 사용하기
    2. 용법
      1. 명령줄
      2. 특정 도구만 활성화
      3. 도커를 사용하여
    3. Claude Desktop과 통합
      1. PayPal 액세스 토큰 얻기
        1. 개발
          1. 개발 환경 설정
          2. 테스트 실행
          3. 패키지 구축
        2. 특허
          1. 감사의 말

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A server implementing the Model Context Protocol to make and query payments through Worldpay APIs, enabling payment processing, payment queries, and checkout form generation.
              Last updated -
              TypeScript
            • -
              security
              A
              license
              -
              quality
              Provides integration with PayPal's Account Updater service, enabling merchants to maintain fresh payment card information in their e-commerce systems through subscription management and webhook notifications.
              Last updated -
              Python
              MIT License
            • -
              security
              A
              license
              -
              quality
              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.
              Last updated -
              TypeScript
              Apache 2.0
            • -
              security
              A
              license
              -
              quality
              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.
              Last updated -
              TypeScript
              MIT License

            View all related MCP servers

            ID: eau1y6qg7q