bootlog eliminado
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 7s
build-and-deploy / deploy (push) Successful in 21s

This commit is contained in:
2025-06-05 02:13:22 -06:00
parent 8e2d14919c
commit ff90e3d8db

View File

@@ -6,13 +6,13 @@ import { createServer } from "./createServer.js";
async function main() {
const useStdio = process.argv.includes("--stdio");
if (useStdio) {
bootLog("Modo transporte: stdio");
// bootLog("Modo transporte: stdio");
const server = createServer();
const transport = new StdioServerTransport();
await server.connect(transport);
console.log("MCP Planilla server listo (stdio)");
} else {
bootLog("Modo transporte: HTTP streamable");
// bootLog("Modo transporte: HTTP streamable");
const app = express();
app.use(express.json());