feat: implement universal Node.js compatibility with automatic database adapter fallback

This commit is contained in:
czlonkowski
2025-06-12 23:51:47 +02:00
parent 66f5d74e42
commit b476d36275
20 changed files with 16668 additions and 4772 deletions

View File

@@ -4,7 +4,6 @@ import {
INodeType,
INodeTypeDescription,
NodeOperationError,
NodeConnectionType,
} from 'n8n-workflow';
import { MCPClient } from '../utils/mcp-client';
import { N8NMCPBridge } from '../utils/bridge';
@@ -20,8 +19,8 @@ export class MCPNode implements INodeType {
defaults: {
name: 'MCP',
},
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
inputs: ['main'],
outputs: ['main'],
credentials: [
{
name: 'mcpApi',