1
Initialize
npm init, install @modelcontextprotocol/sdk
2
Create Server
new McpServer({ name, version })
3
Register Tools
server.tool(name, schema, handler)
4
Connect Transport
StdioServerTransport or SSE
5
Test
MCP Inspector or Claude Desktop
Theory is over. In this module, you'll build a working MCP server that exposes a custom tool. By the end, you'll have a server running in Claude Desktop that the AI can call on demand.