- MCP server cu stdio transport pentru performanță maximă
- Tool-uri pentru file operations, HTTP requests, system commands
- Suport NATS pentru comunicare inter-module
- Configurare nginx cu API key auth și SSL
- Arhitectură modulară și extensibilă
🤖 Generated with Claude Code
27 lines
792 B
TypeScript
27 lines
792 B
TypeScript
import { ToolHandler } from './base/ToolHandler';
|
|
import { FileReadTool } from './builtin/FileReadTool';
|
|
import { FileWriteTool } from './builtin/FileWriteTool';
|
|
import { FileListTool } from './builtin/FileListTool';
|
|
import { SystemCommandTool } from './builtin/SystemCommandTool';
|
|
import { HttpRequestTool } from './builtin/HttpRequestTool';
|
|
|
|
export * from './base/ToolHandler';
|
|
|
|
// Registry of all built-in tools
|
|
export const builtinTools: ToolHandler[] = [
|
|
new FileReadTool(),
|
|
new FileWriteTool(),
|
|
new FileListTool(),
|
|
new SystemCommandTool(),
|
|
new HttpRequestTool(),
|
|
];
|
|
|
|
export function createBuiltinTools(): Map<string, ToolHandler> {
|
|
const tools = new Map<string, ToolHandler>();
|
|
|
|
for (const tool of builtinTools) {
|
|
tools.set(tool.name, tool);
|
|
}
|
|
|
|
return tools;
|
|
} |