You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the quickstart example from JavaScript (.mjs) to TypeScript (.ts)
and use npx tsx to run it directly without requiring a build step.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
Now run the server with `node server.mjs`. You can connect to it using any MCP client that supports streamable http, such as:
128
-
-[MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector): `npx npx @modelcontextprotocol/inspector` and connect to the streamable HTTP URL `http://localhost:3000/mcp`
127
+
Install the deps with `npm install @modelcontextprotocol/sdk express zod@3`, and run with `npx -y tsx server.ts`.
128
+
129
+
You can connect to it using any MCP client that supports streamable http, such as:
130
+
-[MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector): `npx @modelcontextprotocol/inspector` and connect to the streamable HTTP URL `http://localhost:3000/mcp`
0 commit comments