improved structure and implementation
This commit is contained in:
12 files changed
+300
-154
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { server } from "../server.js";
|
||||
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
||||
|
||||
export const start = async (): Promise<void> => {
|
||||
const transport = new StdioServerTransport();
|
||||
await server.connect(transport);
|
||||
console.error("Stdio server started");
|
||||
};
|
||||
|
||||
export default { start }
|
||||
Reference in new issue
Block a user