Skip to main content
Glama
arbuthnot-eth

PayPal MCP Server

PayPal MCP 서버

라이센스: MIT

PayPal API와의 통합을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 표준화된 인터페이스를 통해 PayPal의 결제 처리, 송장 발행, 구독 관리 및 비즈니스 운영과 원활하게 상호 작용할 수 있도록 지원합니다.

특징

  • 결제 처리 : 결제, 주문 및 결제 토큰을 생성하고 캡처합니다.

  • 구독 관리 : 정기 구독을 생성하고 관리합니다.

  • 사업 운영 : 제품, 송장 생성 및 지급 처리

  • 사용자 관리 : 사용자 정보 검색 및 웹 프로필 생성

  • 보안 인증 : 새로 고침 처리를 통한 자동 토큰 관리

  • 입력 검증 : Zod 스키마를 사용한 포괄적 검증

  • 오류 처리 : 강력한 오류 처리 및 로깅

Related MCP server: MCP Stripe Server

설치

지엑스피1

구성

PayPal API 자격 증명을 사용하여 루트 디렉토리에 .env 파일을 만듭니다.

PAYPAL_CLIENT_ID=your_client_id_here
PAYPAL_CLIENT_SECRET=your_client_secret_here
PAYPAL_ENVIRONMENT=sandbox  # or 'live' for production

용법

서버 실행

# Start the server
npm start

# For development with auto-reload
npm run dev

MCP 구성

MCP 구성 파일에 서버를 추가합니다.

{
  "mcpServers": {
    "paypal": {
      "command": "node",
      "args": ["path/to/paypal-mcp/build/index.js"],
      "env": {
        "PAYPAL_CLIENT_ID": "your_client_id",
        "PAYPAL_CLIENT_SECRET": "your_client_secret",
        "PAYPAL_ENVIRONMENT": "sandbox"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

사용 가능한 도구

결제 도구

  • create_payment_token : 나중에 사용할 결제 토큰을 생성합니다.

  • create_order : PayPal에서 새 주문을 만듭니다.

  • capture_order : 승인된 주문에 대한 결제 캡처

  • create_payment : 직접 결제 생성

  • create_subscription : 정기 결제를 위한 구독을 생성합니다.

비즈니스 도구

  • create_product : 카탈로그에 새 제품을 만듭니다.

  • create_invoice : 새로운 송장을 생성합니다

  • create_payout : 일괄 지급 처리

사용자 도구

  • get_userinfo : 사용자 정보 검색

  • create_web_profile : 웹 경험 프로필을 만듭니다.

  • get_web_profiles : 웹 경험 프로필 목록 가져오기

개발

# Run linting
npm run lint

# Run tests
npm test

# Format code
npm run format

특허

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

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

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

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/arbuthnot-eth/PayPal-MCP-Backdated'

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