mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-02-06 13:33:11 +00:00
chore: add pre-built dist folder for npx usage
This commit is contained in:
committed by
Romuald Członkowski
parent
a70d96a373
commit
5057481e70
53
dist/n8n/MCPApi.credentials.js
vendored
Normal file
53
dist/n8n/MCPApi.credentials.js
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.MCPApi = void 0;
|
||||
class MCPApi {
|
||||
constructor() {
|
||||
this.name = 'mcpApi';
|
||||
this.displayName = 'MCP API';
|
||||
this.documentationUrl = 'mcp';
|
||||
this.properties = [
|
||||
{
|
||||
displayName: 'Server URL',
|
||||
name: 'serverUrl',
|
||||
type: 'string',
|
||||
default: 'http://localhost:3000',
|
||||
placeholder: 'http://localhost:3000',
|
||||
description: 'The URL of the MCP server',
|
||||
},
|
||||
{
|
||||
displayName: 'Authentication Token',
|
||||
name: 'authToken',
|
||||
type: 'string',
|
||||
typeOptions: {
|
||||
password: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Authentication token for the MCP server (if required)',
|
||||
},
|
||||
{
|
||||
displayName: 'Connection Type',
|
||||
name: 'connectionType',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'HTTP',
|
||||
value: 'http',
|
||||
},
|
||||
{
|
||||
name: 'WebSocket',
|
||||
value: 'websocket',
|
||||
},
|
||||
{
|
||||
name: 'STDIO',
|
||||
value: 'stdio',
|
||||
},
|
||||
],
|
||||
default: 'http',
|
||||
description: 'How to connect to the MCP server',
|
||||
},
|
||||
];
|
||||
}
|
||||
}
|
||||
exports.MCPApi = MCPApi;
|
||||
//# sourceMappingURL=MCPApi.credentials.js.map
|
||||
Reference in New Issue
Block a user