@traversymedia
1 collection and 2 items
Collections (1)
Items (2)
# Simple MCP Server Example Build a small TypeScript MCP server with one temperature-conversion tool. The temperature converter is intentionally simple. An AI model can usually do this calculation without a tool. The point is to make the complete MCP flow easy to see: define a tool, validate its arguments, connect through a transport, inspect the contract, and let an AI client call it. Real MCP servers are more useful when they expose something the model cannot access by itself, such as private databases, current service data, local development tools, or actions in another system.
## Clone the starter app The starter includes the Express/TypeScript app, a health endpoint test, TypeScript configuration, and the basic npm scripts. Run these commands in Bash or Zsh (Git Bash on Windows). ```bash