Skip to content

Commit 5bd020c

Browse files
committed
fix: resolve Zod version compatibility issue with MCP SDK
- Updated Zod from v4.0.10 to v3.23.8 for MCP SDK v1.17.0 compatibility - Fixed 'keyValidator._parse is not a function' error in create_workflow - Bumped version to 0.10.2 - All MCP tools now properly validate input parameters
1 parent 3bc585f commit 5bd020c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@makafeli/n8n-workflow-builder",
3-
"version": "0.10.1",
3+
"version": "0.10.2",
44
"description": "Model Context Protocol server for n8n workflow management",
55
"main": "build/server.cjs",
66
"module": "./src/index.ts",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function ({ config }: { config: z.infer<typeof configSchema> }) {
2121
// Create MCP server with modern SDK 1.17.0 API
2222
const server = new McpServer({
2323
name: "n8n-workflow-builder",
24-
version: "0.10.1"
24+
version: "0.10.2"
2525
});
2626

2727
// Register workflow management tools using modern MCP SDK 1.17.0 API

src/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const n8nApi = axios.create({
2525
// Create MCP server with modern SDK 1.17.0 API
2626
const server = new McpServer({
2727
name: "n8n-workflow-builder",
28-
version: "0.10.1"
28+
version: "0.10.2"
2929
});
3030

3131
// Register workflow management tools using modern MCP SDK 1.17.0 API
@@ -800,7 +800,7 @@ server.tool(
800800
async function main() {
801801
const transport = new StdioServerTransport();
802802
await server.connect(transport);
803-
console.error("N8N Workflow Builder MCP server v0.10.1 running on stdio");
803+
console.error("N8N Workflow Builder MCP server v0.10.2 running on stdio");
804804
console.error("Modern SDK 1.17.0 with 23 tools: 9 workflow + 3 execution + 7 tag + 3 credential + 1 audit");
805805
}
806806

0 commit comments

Comments
 (0)