mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-01-30 06:22:04 +00:00
fix: pin MCP SDK version in Docker build files (v2.27.1) (#456)
* fix: pin MCP SDK version in Docker build files (#454) The Docker image 2.27.0 was missing the Zod fix from #450 because: - package.runtime.json had @modelcontextprotocol/sdk@^1.13.2 - Dockerfile builder had @modelcontextprotocol/sdk@^1.12.1 Both now use the pinned version 1.20.1 (no caret) to match package.json. Also pinned zod@3.24.1 in Dockerfile for consistency. Fixes #454 Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * chore: bump version to 2.27.1 and update CHANGELOG - Version bump from 2.27.0 to 2.27.1 - Added CHANGELOG entry for #454 fix (Docker SDK version) - Added missing CHANGELOG entry for 2.27.0 (n8n_deploy_template) Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
2f5a857142
commit
7d9b456887
61
CHANGELOG.md
61
CHANGELOG.md
@@ -7,6 +7,67 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.27.1] - 2025-11-29
|
||||||
|
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
**Issue #454: Docker Image Missing Zod Fix from #450**
|
||||||
|
|
||||||
|
Fixed Docker image build that was missing the pinned MCP SDK version, causing `n8n_create_workflow` Zod validation errors to persist in the 2.27.0 Docker image.
|
||||||
|
|
||||||
|
#### Root Cause
|
||||||
|
|
||||||
|
Two files were not updated when #450 pinned the SDK version in `package.json`:
|
||||||
|
- `package.runtime.json` had `"@modelcontextprotocol/sdk": "^1.13.2"` instead of `"1.20.1"`
|
||||||
|
- `Dockerfile` builder stage had `@modelcontextprotocol/sdk@^1.12.1` hardcoded
|
||||||
|
|
||||||
|
The Docker runtime stage uses `package.runtime.json` (not `package.json`), and the builder stage has hardcoded dependency versions.
|
||||||
|
|
||||||
|
#### Changes
|
||||||
|
|
||||||
|
- **package.runtime.json**: Updated SDK to pinned version `"1.20.1"` (no caret)
|
||||||
|
- **Dockerfile**: Updated builder stage SDK to `@1.20.1` and pinned `zod@3.24.1`
|
||||||
|
|
||||||
|
#### Impact
|
||||||
|
|
||||||
|
- Docker images now include the correct MCP SDK version with Zod fix
|
||||||
|
- `n8n_create_workflow` and other workflow tools work correctly in Docker deployments
|
||||||
|
- No changes to functionality - this is a build configuration fix
|
||||||
|
|
||||||
|
Fixes #454
|
||||||
|
|
||||||
|
**Conceived by Romuald Członkowski - [AiAdvisors](https://www.aiadvisors.pl/en)**
|
||||||
|
|
||||||
|
## [2.27.0] - 2025-11-28
|
||||||
|
|
||||||
|
### ✨ Features
|
||||||
|
|
||||||
|
**n8n_deploy_template Tool**
|
||||||
|
|
||||||
|
Added new tool for one-click deployment of n8n.io workflow templates directly to your n8n instance.
|
||||||
|
|
||||||
|
#### Key Features
|
||||||
|
|
||||||
|
- Fetches templates from n8n.io by ID
|
||||||
|
- Automatically upgrades node typeVersions to latest supported
|
||||||
|
- Validates workflow before deployment
|
||||||
|
- Lists required credentials for configuration
|
||||||
|
- Strips credential references (user configures in n8n UI)
|
||||||
|
|
||||||
|
#### Usage
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
n8n_deploy_template({
|
||||||
|
templateId: 2639, // Required: template ID from n8n.io
|
||||||
|
name: "My Custom Name", // Optional: custom workflow name
|
||||||
|
autoUpgradeVersions: true, // Default: upgrade node versions
|
||||||
|
validate: true, // Default: validate before deploy
|
||||||
|
stripCredentials: true // Default: remove credential refs
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
**Conceived by Romuald Członkowski - [AiAdvisors](https://www.aiadvisors.pl/en)**
|
||||||
|
|
||||||
## [2.26.5] - 2025-11-27
|
## [2.26.5] - 2025-11-27
|
||||||
|
|
||||||
### 🔧 Fixed
|
### 🔧 Fixed
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ COPY tsconfig*.json ./
|
|||||||
RUN --mount=type=cache,target=/root/.npm \
|
RUN --mount=type=cache,target=/root/.npm \
|
||||||
echo '{}' > package.json && \
|
echo '{}' > package.json && \
|
||||||
npm install --no-save typescript@^5.8.3 @types/node@^22.15.30 @types/express@^5.0.3 \
|
npm install --no-save typescript@^5.8.3 @types/node@^22.15.30 @types/express@^5.0.3 \
|
||||||
@modelcontextprotocol/sdk@^1.12.1 dotenv@^16.5.0 express@^5.1.0 axios@^1.10.0 \
|
@modelcontextprotocol/sdk@1.20.1 dotenv@^16.5.0 express@^5.1.0 axios@^1.10.0 \
|
||||||
n8n-workflow@^1.96.0 uuid@^11.0.5 @types/uuid@^10.0.0 \
|
n8n-workflow@^1.96.0 uuid@^11.0.5 @types/uuid@^10.0.0 \
|
||||||
openai@^4.77.0 zod@^3.24.1 lru-cache@^11.2.1 @supabase/supabase-js@^2.57.4
|
openai@^4.77.0 zod@3.24.1 lru-cache@^11.2.1 @supabase/supabase-js@^2.57.4
|
||||||
|
|
||||||
# Copy source and build
|
# Copy source and build
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "n8n-mcp",
|
"name": "n8n-mcp",
|
||||||
"version": "2.27.0",
|
"version": "2.27.1",
|
||||||
"description": "Integration between n8n workflow automation and Model Context Protocol (MCP)",
|
"description": "Integration between n8n workflow automation and Model Context Protocol (MCP)",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "n8n-mcp-runtime",
|
"name": "n8n-mcp-runtime",
|
||||||
"version": "2.26.4",
|
"version": "2.27.1",
|
||||||
"description": "n8n MCP Server Runtime Dependencies Only",
|
"description": "n8n MCP Server Runtime Dependencies Only",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@modelcontextprotocol/sdk": "^1.13.2",
|
"@modelcontextprotocol/sdk": "1.20.1",
|
||||||
"@supabase/supabase-js": "^2.57.4",
|
"@supabase/supabase-js": "^2.57.4",
|
||||||
"express": "^5.1.0",
|
"express": "^5.1.0",
|
||||||
"express-rate-limit": "^7.1.5",
|
"express-rate-limit": "^7.1.5",
|
||||||
|
|||||||
Reference in New Issue
Block a user