@alfe.ai/xero-mcp 0.3.14 → 0.3.16

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.
Files changed (2) hide show
  1. package/dist/server.js +8 -0
  2. package/package.json +4 -3
package/dist/server.js CHANGED
@@ -6,6 +6,7 @@ import { Client } from "@modelcontextprotocol/sdk/client/index.js";
6
6
  import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
7
7
  import { resolveConfig } from "@alfe.ai/config";
8
8
  import { AgentApiClient } from "@alfe.ai/agent-api-client";
9
+ import { assertPatternA } from "@alfe.ai/mcp-bundler";
9
10
  //#region src/server.ts
10
11
  /**
11
12
  * Xero MCP Proxy Server (Pattern A multi-account)
@@ -246,6 +247,13 @@ async function main() {
246
247
  required: ["xeroTenantId"]
247
248
  }
248
249
  });
250
+ assertPatternA(cachedTools.map((t) => ({
251
+ name: t.name,
252
+ parameters: t.inputSchema
253
+ })), {
254
+ selector: "xeroTenantId",
255
+ exempt: ["xero_list_accounts"]
256
+ });
249
257
  const proxy = new Server({
250
258
  name: "xero-mcp-proxy",
251
259
  version: "2.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/xero-mcp",
3
- "version": "0.3.14",
3
+ "version": "0.3.16",
4
4
  "description": "Xero MCP proxy server — bridges the official @xeroapi/xero-mcp-server with Alfe OAuth credentials and automatic token refresh",
5
5
  "type": "module",
6
6
  "main": "./dist/server.js",
@@ -19,8 +19,9 @@
19
19
  "dependencies": {
20
20
  "@modelcontextprotocol/sdk": ">=1.24.0",
21
21
  "@xeroapi/xero-mcp-server": "^0.0.14",
22
- "@alfe.ai/config": "0.3.0",
23
- "@alfe.ai/agent-api-client": "0.12.0"
22
+ "@alfe.ai/agent-api-client": "0.14.0",
23
+ "@alfe.ai/config": "0.4.0",
24
+ "@alfe.ai/mcp-bundler": "0.4.0"
24
25
  },
25
26
  "license": "UNLICENSED",
26
27
  "homepage": "https://alfe.ai",