- Renamed files to remove unnecessary suffixes: - tools-update.ts → tools.ts - server-update.ts → server.ts - http-server-fixed.ts → http-server.ts - Created version utility to read from package.json as single source of truth - Updated all imports across 21+ files - Removed legacy files: - src/http-server.ts (legacy HTTP server with known issues) - src/utils/n8n-client.ts (unused legacy API client) - Added n8n_diagnostic tool to help troubleshoot management tools visibility - Added script to sync package.runtime.json version - Fixed version mismatch issue (was hardcoded 2.4.1, now reads 2.7.0 from package.json) This addresses GitHub issue #5 regarding version mismatch and provides better diagnostics for users. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
693 B
TypeScript
18 lines
693 B
TypeScript
/**
|
|
* n8n-MCP - Model Context Protocol Server for n8n
|
|
* Copyright (c) 2024 AiAdvisors Romuald Czlonkowski
|
|
* Licensed under the Sustainable Use License v1.0
|
|
*/
|
|
|
|
// Engine exports for service integration
|
|
export { N8NMCPEngine, EngineHealth, EngineOptions } from './mcp-engine';
|
|
export { SingleSessionHTTPServer } from './http-server-single-session';
|
|
export { ConsoleManager } from './utils/console-manager';
|
|
export { N8NDocumentationMCPServer } from './mcp/server';
|
|
|
|
// Default export for convenience
|
|
import N8NMCPEngine from './mcp-engine';
|
|
export default N8NMCPEngine;
|
|
|
|
// Legacy CLI functionality - moved to ./mcp/index.ts
|
|
// This file now serves as the main entry point for library usage
|