PayPal MCP Server
비공식 PayPal MCP 서버
PayPal API 통합을 위한 모델 컨텍스트 프로토콜(MCP) 서버의 Python 구현입니다. 이 서버는 대규모 언어 모델(LLM)이 함수 호출을 통해 PayPal API와 상호 작용할 수 있도록 지원합니다.
특징
PayPal API를 위한 모델 컨텍스트 프로토콜의 전체 구현
모든 주요 PayPal API 엔드포인트 지원:
송장 : 생성, 목록, 보기, 보내기, 알림, 취소, QR 코드
주문 : 생성, 획득, 캡처
제품 : 생성, 나열, 보기, 업데이트
구독 플랜 : 생성, 목록, 보기
구독 : 생성, 보기, 취소
배송 : 생성, 추적
분쟁 : 목록, 보기, 수락
거래 : 목록 및 필터링
Related MCP server: PayPal MCP Server
설치
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=allClaude 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 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.
감사의 말
PayPal의 에이전트 툴킷 기반
모델 컨텍스트 프로토콜 사양과 호환 가능
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.
Pay-per-call tools for AI assistants: code, data, finance, spreadsheets, media, web, time.
Agentic Commerce Protocol sandbox: agent builds a cart, human approves a real PayPal payment.
Taiwan payments (ECPay 綠界 + NewebPay 藍新) & e-invoices for AI agents. Stateless, never holds funds.
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.937 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-