Created
January 30, 2026 13:21
-
-
Save maskaravivek/81d5538959f6c413cbbe6a507559c516 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Server } from "@modelcontextprotocol/sdk/server/index.js"; | |
| import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; | |
| const server = new Server({ | |
| name: "my-mcp-server", | |
| version: "1.0.0", | |
| }); | |
| const transport = new StdioServerTransport(); | |
| await server.connect(transport); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment