MCP server builder
Describe the tools your AI assistant should be able to call, and get a ready-to-run Model Context Protocol server written with the official TypeScript SDK and Zod. Everything happens in your browser; nothing you type is sent anywhere.
server.ts
Run it
- Save the file as
server.tsin a folder whosepackage.jsonhas"type": "module". - Install the SDK:
npm install @modelcontextprotocol/server zod - Fill in each
TODO, then point your MCP client at it: commandnode, argument the full path toserver.ts(Node.js 24 or later runs TypeScript directly).