n8n-mcp 2.92.0 → 2.93.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/README.md +3 -3
- package/data/nodes.db +2 -2
- package/dist/constants/agent-model-providers.js +3 -3
- package/dist/http-server-single-session.d.ts.map +1 -1
- package/dist/http-server-single-session.js +22 -5
- package/dist/http-server-single-session.js.map +1 -1
- package/dist/mcp/server.d.ts +5 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +16 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-manage-agents.js +1 -1
- package/dist/mcp/tool-docs/workflow_management/n8n-manage-agents.js.map +1 -1
- package/dist/utils/request-context.d.ts +9 -0
- package/dist/utils/request-context.d.ts.map +1 -0
- package/dist/utils/request-context.js +14 -0
- package/dist/utils/request-context.js.map +1 -0
- package/package.json +3 -3
- package/ui-apps/dist/execution-history/index.html +18 -18
- package/ui-apps/dist/health-dashboard/index.html +18 -18
- package/ui-apps/dist/operation-result/index.html +18 -18
- package/ui-apps/dist/validation-summary/index.html +18 -18
- package/ui-apps/dist/workflow-list/index.html +18 -18
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InstanceContext } from '../types/instance-context';
|
|
2
|
+
interface RequestScope {
|
|
3
|
+
owner: object;
|
|
4
|
+
instanceContext: InstanceContext | undefined;
|
|
5
|
+
}
|
|
6
|
+
export declare function runWithRequestContext<T>(owner: object, instanceContext: InstanceContext | undefined, fn: () => T): T;
|
|
7
|
+
export declare function getRequestScope(owner: object): RequestScope | undefined;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=request-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-context.d.ts","sourceRoot":"","sources":["../../src/utils/request-context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,UAAU,YAAY;IAEpB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,eAAe,GAAG,SAAS,CAAC;CAC9C;AASD,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,GAAG,SAAS,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CAEpH;AAGD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAGvE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.runWithRequestContext = runWithRequestContext;
|
|
4
|
+
exports.getRequestScope = getRequestScope;
|
|
5
|
+
const async_hooks_1 = require("async_hooks");
|
|
6
|
+
const requestScope = new async_hooks_1.AsyncLocalStorage();
|
|
7
|
+
function runWithRequestContext(owner, instanceContext, fn) {
|
|
8
|
+
return requestScope.run({ owner, instanceContext }, fn);
|
|
9
|
+
}
|
|
10
|
+
function getRequestScope(owner) {
|
|
11
|
+
const scope = requestScope.getStore();
|
|
12
|
+
return scope?.owner === owner ? scope : undefined;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=request-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-context.js","sourceRoot":"","sources":["../../src/utils/request-context.ts"],"names":[],"mappings":";;AAgBA,sDAEC;AAGD,0CAGC;AAxBD,6CAAgD;AAShD,MAAM,YAAY,GAAG,IAAI,+BAAiB,EAAgB,CAAC;AAO3D,SAAgB,qBAAqB,CAAI,KAAa,EAAE,eAA4C,EAAE,EAAW;IAC/G,OAAO,YAAY,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1D,CAAC;AAGD,SAAgB,eAAe,CAAC,KAAa;IAC3C,MAAM,KAAK,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC;IACtC,OAAO,KAAK,EAAE,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AACpD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.93.0",
|
|
4
4
|
"description": "Integration between n8n workflow automation and Model Context Protocol (MCP)",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"lru-cache": "^11.2.1",
|
|
13
13
|
"sql.js": "^1.13.0",
|
|
14
14
|
"tslib": "^2.6.2",
|
|
15
|
-
"undici": "^6.
|
|
15
|
+
"undici": "^6.29.0",
|
|
16
16
|
"uuid": "^11.1.1",
|
|
17
|
-
"axios": "^1.
|
|
17
|
+
"axios": "^1.20.0"
|
|
18
18
|
},
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=20.0.0"
|