Since most MCPs run locally and are built with TypeScript, Python, or Docker, you’ll need to set up your development environment properly. This guide will help you install all the necessary tools.

Setting up your environment correctly is crucial for a smooth development experience with MCPs. Following these recommendations will help you avoid common setup issues.

Proto - Version Manager

We recommend using Proto for installing and managing versions of Node.js, Python, and their package managers. Proto is written in Rust, making it very fast and efficient.

Proto provides a unified interface for managing multiple languages and tools, which simplifies your development workflow considerably.

Installing Proto

For Linux, macOS, or WSL:

bash <(curl -fsSL https://moonrepo.dev/install/proto.sh)

For Windows:

irm https://moonrepo.dev/install/proto.ps1 | iex

After installation, verify Proto is working by running proto --version in your terminal.

Programming Languages

Node.js

Install the latest version of Node.js:

proto install node latest

For specific MCP requirements, you might need to install a particular version of Node.js. Always check the MCP’s documentation for compatibility.

Python

Install Python:

proto install python

Package Managers

For TypeScript: Bun

Bun is faster than npm for TypeScript projects:

proto install bun

Bun not only serves as a package manager but also as a JavaScript runtime, bundler, and test runner, making it a comprehensive tool for TypeScript development.

For Python: uv

uv is faster than pip/poetry for Python projects:

proto install uv

When using uv, you can create and activate virtual environments with uv venv and uv venv activate, keeping your Python dependencies isolated.

Docker

Docker requires administrative privileges to install. Make sure you have the necessary permissions on your system.

For macOS

We recommend OrbStack for macOS users as it’s very lightweight and optimized.

OrbStack provides better performance and consumes fewer resources compared to Docker Desktop on macOS.

For Other Operating Systems

For Windows, Linux, and other operating systems, use the official Docker installation.

Remember to start the Docker service after installation and verify it’s running with docker --version.

Next Steps

Once you have your environment set up, you’re ready to start developing with MCPs. Check out our other guides to learn how to create and deploy your first MCP.