#!/usr/bin/env node
import { loadServer } from "./server.mjs";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";

//#region src/server/stdio.ts
const server = loadServer({ isLocal: true });
const main = async () => {
	const transport = new StdioServerTransport();
	await server.connect(transport);
	console.error("Intlayer MCP Server running on stdio");
};
main().catch((error) => {
	console.error("Fatal error in main():", error);
	process.exit(1);
});

//#endregion
//# sourceMappingURL=stdio.mjs.map