All StepsStep 2 of 6
2
Setting Up Your Environment
Before building an MCP server, you need to set up your development environment.
Prerequisites
- Node.js 18+ (for TypeScript/JavaScript servers)
- Python 3.10+ (for Python servers)
- Claude Desktop app (for testing)
Installing the MCP SDK Choose your preferred language:
Installation
# TypeScript/JavaScript npm init -y npm install @modelcontextprotocol/sdk # Python pip install mcp