UNPKG

@k1ssh/qbot-init-project

Version:

Initialize a project for microservices

21 lines (20 loc) 630 B
#!/usr/bin/env node /** * This is a template MCP server that implements a simple echo Tool. * It demonstrates how to create an MCP server Tools with Agentico SDK. */ import { MCPServer } from "@agentico/mcp-server"; import { InitProjectTool } from "./AgenticoTool.js"; /** * Create an MCP server with capabilities for an echo tool. */ const myServer = new MCPServer("init-project", "0.1.0"); async function main() { // Register tools myServer.registerTool("InitProject", new InitProjectTool()); await myServer.run(); } main().catch((error) => { console.error("Server error:", error); process.exit(1); });