Skip to content

Commit 233cc70

Browse files
authored
feat: add PayPal MCP server definition (#58)
* Add PayPal MCP server definition Official PayPal MCP server for payments, invoices, orders, and subscriptions. Uses @paypal/mcp npm package with stdio transport. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx * fix: update server definition (input type 'password' -> 'text' for PAYPAL_ACCESS_TOKEN) * fix: rename server files with transport suffix - com.paypal-mcp.json -> com.paypal-mcp-npx.json (id: com.paypal-mcp-npx) Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> --------- Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent f20e97f commit 233cc70

1 file changed

Lines changed: 83 additions & 0 deletions

File tree

servers/com.paypal-mcp-npx.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.paypal-mcp-npx",
4+
"name": "PayPal (npx)",
5+
"alias": "paypal",
6+
"description": "Process payments, manage orders, create invoices, handle disputes, and manage products and subscriptions through the PayPal API.",
7+
"icon": "https://avatars.githubusercontent.com/u/476675?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"cloud"
11+
],
12+
"tags": [
13+
"paypal",
14+
"payments",
15+
"invoices",
16+
"orders",
17+
"subscriptions",
18+
"checkout"
19+
],
20+
"transport": {
21+
"type": "stdio",
22+
"command": "npx",
23+
"args": [
24+
"-y",
25+
"@paypal/mcp",
26+
"--tools=all"
27+
],
28+
"env": {
29+
"PAYPAL_ACCESS_TOKEN": "${input:PAYPAL_ACCESS_TOKEN}",
30+
"PAYPAL_ENVIRONMENT": "${input:PAYPAL_ENVIRONMENT}"
31+
},
32+
"metadata": {
33+
"inputs": [
34+
{
35+
"id": "PAYPAL_ACCESS_TOKEN",
36+
"label": "PayPal Access Token",
37+
"description": "OAuth 2.0 access token for the PayPal REST API.",
38+
"type": "text",
39+
"required": true,
40+
"secret": true,
41+
"placeholder": "A21AAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
42+
"obtain": {
43+
"url": "https://developer.paypal.com/dashboard/applications",
44+
"instructions": "1. Go to developer.paypal.com/dashboard\n2. Create or select an app\n3. Get your Client ID and Secret\n4. Generate an access token using the OAuth2 endpoint",
45+
"button_label": "Get Credentials"
46+
}
47+
},
48+
{
49+
"id": "PAYPAL_ENVIRONMENT",
50+
"label": "PayPal Environment",
51+
"description": "Use SANDBOX for testing or PRODUCTION for live payments.",
52+
"type": "text",
53+
"required": false,
54+
"secret": false,
55+
"placeholder": "SANDBOX"
56+
}
57+
]
58+
}
59+
},
60+
"auth": {
61+
"type": "api_key",
62+
"instructions": "Generate an access token from your PayPal app at https://developer.paypal.com/dashboard/applications"
63+
},
64+
"contributor": {
65+
"name": "PayPal",
66+
"github": "paypal",
67+
"url": "https://www.paypal.com"
68+
},
69+
"links": {
70+
"repository": "https://github.com/paypal/paypal-mcp-server",
71+
"homepage": "https://www.paypal.com",
72+
"documentation": "https://developer.paypal.com/docs"
73+
},
74+
"platforms": [
75+
"all"
76+
],
77+
"capabilities": {
78+
"tools": true,
79+
"resources": false,
80+
"prompts": false,
81+
"read_only_mode": false
82+
}
83+
}

0 commit comments

Comments
 (0)