Skip to content

Commit f20e97f

Browse files
its-mashMohammod Al Amin Ashik
andauthored
feat: add Square (Remote) + Square MCP server definition (#75)
* Add Square MCP server definitions (local + remote) Official Square MCP server for payments, orders, catalog, and more. Local stdio version uses square-mcp-server npm package with access token. Remote HTTP version at mcp.squareup.com/sse uses OAuth. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx * fix: update server definition (input type 'password' -> 'text' for ACCESS_TOKEN) * fix: update Square documentation and obtain URLs * fix: rename server files with transport suffix - com.square-mcp.json -> com.square-mcp-npx.json (id: com.square-mcp-npx) Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> * Rename Square (Remote) to Square (HTTP) Align naming convention: use transport type (HTTP) instead of "Remote" in display name and alias. Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> --------- Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> Co-authored-by: Mohammod Al Amin Ashik <mohammod@mcpmux.com>
1 parent 7c414ce commit f20e97f

2 files changed

Lines changed: 126 additions & 0 deletions

File tree

servers/com.square-mcp-http.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.square-mcp-http",
4+
"name": "Square (HTTP)",
5+
"alias": "square-http",
6+
"description": "Interact with Square APIs via the hosted remote MCP server. Connects with OAuth for secure access to payments, orders, and more.",
7+
"icon": "https://avatars.githubusercontent.com/u/82592?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"developer-tools",
11+
"cloud"
12+
],
13+
"tags": [
14+
"square",
15+
"payments",
16+
"commerce",
17+
"orders",
18+
"catalog",
19+
"pos",
20+
"remote"
21+
],
22+
"transport": {
23+
"type": "http",
24+
"url": "https://mcp.squareup.com/sse",
25+
"metadata": {
26+
"inputs": []
27+
}
28+
},
29+
"auth": {
30+
"type": "oauth",
31+
"instructions": "Connects via OAuth. Your MCP host will initiate the Square OAuth flow to authorize access to your seller account."
32+
},
33+
"contributor": {
34+
"name": "Square",
35+
"github": "square",
36+
"url": "https://squareup.com"
37+
},
38+
"links": {
39+
"repository": "https://github.com/square/square-mcp-server",
40+
"homepage": "https://squareup.com",
41+
"documentation": "https://developer.squareup.com/docs/devtools/mcp"
42+
},
43+
"platforms": [
44+
"all"
45+
],
46+
"capabilities": {
47+
"tools": true,
48+
"resources": false,
49+
"prompts": false,
50+
"read_only_mode": false
51+
}
52+
}

servers/com.square-mcp-npx.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.square-mcp-npx",
4+
"name": "Square (npx)",
5+
"alias": "square",
6+
"description": "Interact with Square APIs for payments, orders, catalog, inventory, customers, and bookings. Supports all Square API services.",
7+
"icon": "https://avatars.githubusercontent.com/u/82592?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"developer-tools",
11+
"cloud"
12+
],
13+
"tags": [
14+
"square",
15+
"payments",
16+
"commerce",
17+
"orders",
18+
"catalog",
19+
"pos"
20+
],
21+
"transport": {
22+
"type": "stdio",
23+
"command": "npx",
24+
"args": [
25+
"-y",
26+
"square-mcp-server",
27+
"start"
28+
],
29+
"env": {
30+
"ACCESS_TOKEN": "${input:ACCESS_TOKEN}"
31+
},
32+
"metadata": {
33+
"inputs": [
34+
{
35+
"id": "ACCESS_TOKEN",
36+
"label": "Square Access Token",
37+
"description": "Square API personal access token or sandbox access token.",
38+
"type": "text",
39+
"required": true,
40+
"secret": true,
41+
"placeholder": "EAAAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
42+
"obtain": {
43+
"url": "https://developer.squareup.com/console/en/apps",
44+
"instructions": "1. Go to developer.squareup.com and log in\n2. Navigate to Apps in the developer console\n3. Select or create an application\n4. Go to Credentials\n5. Copy your access token",
45+
"button_label": "Get Access Token"
46+
}
47+
}
48+
]
49+
}
50+
},
51+
"auth": {
52+
"type": "api_key",
53+
"instructions": "Get a Square access token at https://developer.squareup.com/apps"
54+
},
55+
"contributor": {
56+
"name": "Square",
57+
"github": "square",
58+
"url": "https://squareup.com"
59+
},
60+
"links": {
61+
"repository": "https://github.com/square/square-mcp-server",
62+
"homepage": "https://squareup.com",
63+
"documentation": "https://developer.squareup.com/docs/devtools/mcp"
64+
},
65+
"platforms": [
66+
"all"
67+
],
68+
"capabilities": {
69+
"tools": true,
70+
"resources": false,
71+
"prompts": false,
72+
"read_only_mode": false
73+
}
74+
}

0 commit comments

Comments
 (0)