
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
@imazhar101/mcp-paypal-server
Advanced tools
PayPal MCP server for payment processing and transaction management
A comprehensive PayPal integration for the Model Context Protocol (MCP) that enables payment processing, transaction management, and PayPal API operations.
npm install @imazhar101/mcp-paypal-server
cd mcp-suite/servers/paypal
npm install
npm run build
The server requires the following environment variables:
PAYPAL_CLIENT_ID
- Your PayPal application client IDPAYPAL_CLIENT_SECRET
- Your PayPal application client secretPAYPAL_ENVIRONMENT
- Environment (optional, defaults to "sandbox")
sandbox
- PayPal sandbox environment for testingproduction
- PayPal production environment for live transactionsAdd to your Claude Code configuration:
{
"mcpServers": {
"paypal": {
"command": "npx",
"args": ["@imazhar101/mcp-paypal-server"],
"env": {
"PAYPAL_CLIENT_ID": "your-client-id",
"PAYPAL_CLIENT_SECRET": "your-client-secret",
"PAYPAL_ENVIRONMENT": "sandbox"
}
}
}
}
export PAYPAL_CLIENT_ID="your-client-id"
export PAYPAL_CLIENT_SECRET="your-client-secret"
export PAYPAL_ENVIRONMENT="sandbox"
npx @imazhar101/mcp-paypal-server
Create and manage payments with support for:
Complete invoicing capabilities including:
Full subscription lifecycle management:
Modern PayPal Orders API support:
Comprehensive dispute management:
Shipment tracking capabilities:
npm run build
# Set environment variables
export PAYPAL_CLIENT_ID="your-test-client-id"
export PAYPAL_CLIENT_SECRET="your-test-client-secret"
export PAYPAL_ENVIRONMENT="sandbox"
# Test connection
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "paypal_test_connection", "arguments": {}}}' | node dist/index.js
{
"intent": "sale",
"amount": { "total": "25.00", "currency": "USD" },
"description": "Product purchase",
"return_url": "https://yoursite.com/success",
"cancel_url": "https://yoursite.com/cancel"
}
User approves payment on PayPal
Execute Payment:
{
"payment_id": "PAYID-123456",
"payer_id": "PAYER123"
}
{
"intent": "authorize",
"amount": { "total": "100.00", "currency": "USD" },
"return_url": "https://yoursite.com/success",
"cancel_url": "https://yoursite.com/cancel"
}
Execute Authorization
Capture Funds:
{
"authorization_id": "AUTH-123456",
"amount": { "total": "100.00", "currency": "USD" },
"is_final_capture": true
}
The server includes comprehensive error handling:
MIT License - see the LICENSE file for details.
FAQs
PayPal MCP server for payment processing and transaction management
The npm package @imazhar101/mcp-paypal-server receives a total of 0 weekly downloads. As such, @imazhar101/mcp-paypal-server popularity was classified as not popular.
We found that @imazhar101/mcp-paypal-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.