@teamnetwork-nz/xero-mcp-server 1.16.2 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +40 -36
- package/README.md +481 -434
- package/dist/index.js +3 -1
- package/dist/resources/agent-playbook-content.js +2 -0
- package/dist/resources/capabilities.js +48 -0
- package/dist/resources/register-resources.js +2 -12
- package/dist/response-policy.js +130 -0
- package/dist/strict-tools.js +2 -0
- package/dist/tools/tool-factory.js +7 -1
- package/package.json +2 -2
package/.env.example
CHANGED
|
@@ -1,36 +1,40 @@
|
|
|
1
|
-
# Sanitised template: no live credentials or identities.
|
|
2
|
-
# See README.md for requirements, defaults and .env loading behaviour.
|
|
3
|
-
# Replace required/alternative placeholders privately; uncomment optional settings only when needed.
|
|
4
|
-
|
|
5
|
-
# Output date setting: local or an IANA timezone; shared by SSLStore and Xero.
|
|
6
|
-
# DATETIMEFORMAT=local
|
|
7
|
-
# Existing access token; use instead of a client ID/secret pair. Renew externally when expired.
|
|
8
|
-
# XERO_CLIENT_BEARER_TOKEN=<set-privately>
|
|
9
|
-
# Custom Connection client ID; must be set together with XERO_CLIENT_SECRET.
|
|
10
|
-
XERO_CLIENT_ID=<set-privately>
|
|
11
|
-
# Custom Connection client secret; must be set together with XERO_CLIENT_ID.
|
|
12
|
-
XERO_CLIENT_SECRET=<set-privately>
|
|
13
|
-
# Download destination; choose a private directory outside source control.
|
|
14
|
-
# XERO_DOWNLOAD_PATH=<set-privately>
|
|
15
|
-
# Literal true registers payroll tools; requires appropriate scopes.
|
|
16
|
-
# XERO_ENABLE_PAYROLL=false
|
|
17
|
-
# Compatibility alias for XERO_READWRITE; canonical variable wins.
|
|
18
|
-
# XERO_ENABLE_READWRITE=<set-privately>
|
|
19
|
-
# Reports are enabled unless set to literal false.
|
|
20
|
-
# XERO_ENABLE_REPORTS=true
|
|
21
|
-
# Comma-separated Host allowlist required for non-loopback HTTP; use the public hostnames accepted by the listener.
|
|
22
|
-
# XERO_HTTP_ALLOWED_HOSTS=<set-privately>
|
|
23
|
-
# Comma-separated browser Origin allowlist; configure when browser clients need access.
|
|
24
|
-
# XERO_HTTP_ALLOWED_ORIGINS=<set-privately>
|
|
25
|
-
# Private bearer secret required for non-loopback HTTP; clients send Authorization: Bearer <secret>.
|
|
26
|
-
# XERO_HTTP_BEARER_TOKEN=<set-privately>
|
|
27
|
-
# Listener bind address. Non-loopback binding requires a bearer token and explicit allowed hosts.
|
|
28
|
-
# XERO_HTTP_HOST=127.0.0.1
|
|
29
|
-
# Maximum HTTP request body; integer 1–16777216 bytes.
|
|
30
|
-
# XERO_HTTP_MAX_BODY_BYTES=1048576
|
|
31
|
-
# HTTP listener port; integer 1–65535.
|
|
32
|
-
# XERO_HTTP_PORT=3000
|
|
33
|
-
# Only true enables mutation tools; read-only is the default. Review each operation before use.
|
|
34
|
-
# XERO_READWRITE=false
|
|
35
|
-
# stdio or http; HTTP serves /mcp and GET /health.
|
|
36
|
-
# XERO_TRANSPORT=stdio
|
|
1
|
+
# Sanitised template: no live credentials or identities.
|
|
2
|
+
# See README.md for requirements, defaults and .env loading behaviour.
|
|
3
|
+
# Replace required/alternative placeholders privately; uncomment optional settings only when needed.
|
|
4
|
+
|
|
5
|
+
# Output date setting: local or an IANA timezone; shared by SSLStore and Xero.
|
|
6
|
+
# DATETIMEFORMAT=local
|
|
7
|
+
# Existing access token; use instead of a client ID/secret pair. Renew externally when expired.
|
|
8
|
+
# XERO_CLIENT_BEARER_TOKEN=<set-privately>
|
|
9
|
+
# Custom Connection client ID; must be set together with XERO_CLIENT_SECRET.
|
|
10
|
+
XERO_CLIENT_ID=<set-privately>
|
|
11
|
+
# Custom Connection client secret; must be set together with XERO_CLIENT_ID.
|
|
12
|
+
XERO_CLIENT_SECRET=<set-privately>
|
|
13
|
+
# Download destination; choose a private directory outside source control.
|
|
14
|
+
# XERO_DOWNLOAD_PATH=<set-privately>
|
|
15
|
+
# Literal true registers payroll tools; requires appropriate scopes.
|
|
16
|
+
# XERO_ENABLE_PAYROLL=false
|
|
17
|
+
# Compatibility alias for XERO_READWRITE; canonical variable wins.
|
|
18
|
+
# XERO_ENABLE_READWRITE=<set-privately>
|
|
19
|
+
# Reports are enabled unless set to literal false.
|
|
20
|
+
# XERO_ENABLE_REPORTS=true
|
|
21
|
+
# Comma-separated Host allowlist required for non-loopback HTTP; use the public hostnames accepted by the listener.
|
|
22
|
+
# XERO_HTTP_ALLOWED_HOSTS=<set-privately>
|
|
23
|
+
# Comma-separated browser Origin allowlist; configure when browser clients need access.
|
|
24
|
+
# XERO_HTTP_ALLOWED_ORIGINS=<set-privately>
|
|
25
|
+
# Private bearer secret required for non-loopback HTTP; clients send Authorization: Bearer <secret>.
|
|
26
|
+
# XERO_HTTP_BEARER_TOKEN=<set-privately>
|
|
27
|
+
# Listener bind address. Non-loopback binding requires a bearer token and explicit allowed hosts.
|
|
28
|
+
# XERO_HTTP_HOST=127.0.0.1
|
|
29
|
+
# Maximum HTTP request body; integer 1–16777216 bytes.
|
|
30
|
+
# XERO_HTTP_MAX_BODY_BYTES=1048576
|
|
31
|
+
# HTTP listener port; integer 1–65535.
|
|
32
|
+
# XERO_HTTP_PORT=3000
|
|
33
|
+
# Only true enables mutation tools; read-only is the default. Review each operation before use.
|
|
34
|
+
# XERO_READWRITE=false
|
|
35
|
+
# stdio or http; HTTP serves /mcp and GET /health.
|
|
36
|
+
# XERO_TRANSPORT=stdio
|
|
37
|
+
|
|
38
|
+
# Optional inline delivery threshold; 0 preserves complete inline output.
|
|
39
|
+
MCP_MAX_RESPONSE_BYTES=0
|
|
40
|
+
# MCP_EXPORT_DIR=/private/server/export-directory
|