@alfe.ai/notion-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
  * Notion MCP Proxy Server (Pattern A multi-account)
@@ -180,6 +181,13 @@ async function main() {
180
181
  required: ["workspaceId"]
181
182
  }
182
183
  });
184
+ assertPatternA(cachedTools.map((t) => ({
185
+ name: t.name,
186
+ parameters: t.inputSchema
187
+ })), {
188
+ selector: "workspaceId",
189
+ exempt: ["notion_list_accounts"]
190
+ });
183
191
  const proxy = new Server({
184
192
  name: "notion-mcp-proxy",
185
193
  version: "2.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/notion-mcp",
3
- "version": "0.3.14",
3
+ "version": "0.3.16",
4
4
  "description": "Notion MCP proxy server — bridges the official @notionhq/notion-mcp-server with Alfe OAuth credentials",
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
  "@notionhq/notion-mcp-server": "^2.2.1",
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",