Skip to content

Commit 6105245

Browse files
authored
Add MCP server (#151)
Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 4f3cd66 commit 6105245

1 file changed

Lines changed: 88 additions & 0 deletions

File tree

servers/com.xero-mcp-npx.json

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.xero-mcp-npx",
4+
"name": "Xero (npx)",
5+
"alias": "xero",
6+
"description": "Connect to the Xero accounting platform to manage invoices, contacts, bank transactions, payments, payroll, and reports. Authenticates via a Xero custom connection using client credentials.",
7+
"logo": "https://avatars.githubusercontent.com/u/242786?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"developer-tools"
11+
],
12+
"tags": [
13+
"xero",
14+
"accounting",
15+
"finance",
16+
"invoices",
17+
"payroll",
18+
"bookkeeping"
19+
],
20+
"transport": {
21+
"type": "stdio",
22+
"command": "npx",
23+
"args": [
24+
"-y",
25+
"@xeroapi/xero-mcp-server"
26+
],
27+
"env": {
28+
"XERO_CLIENT_ID": "${input:XERO_CLIENT_ID}",
29+
"XERO_CLIENT_SECRET": "${input:XERO_CLIENT_SECRET}"
30+
},
31+
"metadata": {
32+
"inputs": [
33+
{
34+
"id": "XERO_CLIENT_ID",
35+
"label": "Xero Client ID",
36+
"description": "The Client ID of your Xero custom connection app. Create a custom connection in the Xero Developer portal to obtain client credentials.",
37+
"type": "text",
38+
"required": true,
39+
"secret": false,
40+
"placeholder": "00000000-0000-0000-0000-000000000000",
41+
"obtain": {
42+
"url": "https://developer.xero.com/app/manage",
43+
"instructions": "1. Sign in to the Xero Developer portal\n2. Click 'New app' and choose 'Custom connection'\n3. Select the scopes your integration needs (e.g. accounting.transactions, accounting.contacts)\n4. Authorise the connection to an organisation\n5. Open the app's Configuration page\n6. Copy the Client ID",
44+
"button_label": "Open Xero Developer Portal"
45+
}
46+
},
47+
{
48+
"id": "XERO_CLIENT_SECRET",
49+
"label": "Xero Client Secret",
50+
"description": "The Client Secret of your Xero custom connection app. Generated alongside the Client ID on the app's Configuration page.",
51+
"type": "text",
52+
"required": true,
53+
"secret": true,
54+
"placeholder": "****************************************************",
55+
"obtain": {
56+
"url": "https://developer.xero.com/app/manage",
57+
"instructions": "1. Open your custom connection app in the Xero Developer portal\n2. Go to the Configuration page\n3. Click 'Generate a secret'\n4. Copy the Client Secret immediately (it is shown only once)",
58+
"button_label": "Open Xero Developer Portal"
59+
}
60+
}
61+
]
62+
}
63+
},
64+
"auth": {
65+
"type": "api_key",
66+
"instructions": "Create a custom connection app in the Xero Developer portal (https://developer.xero.com/app/manage) and supply its Client ID and Client Secret. These are used as client credentials to authenticate with Xero."
67+
},
68+
"contributor": {
69+
"name": "Xero",
70+
"github": "XeroAPI",
71+
"url": "https://www.xero.com"
72+
},
73+
"links": {
74+
"repository": "https://github.com/XeroAPI/xero-mcp-server",
75+
"homepage": "https://www.xero.com",
76+
"documentation": "https://developer.xero.com/documentation/guides/oauth2/custom-connections/"
77+
},
78+
"platforms": [
79+
"all"
80+
],
81+
"capabilities": {
82+
"tools": true,
83+
"resources": false,
84+
"prompts": false,
85+
"read_only_mode": false
86+
},
87+
"changelog_url": "https://github.com/XeroAPI/xero-mcp-server/releases"
88+
}

0 commit comments

Comments
 (0)