Full guide
Follow the sections in order, then adapt commands to your current environment.
Many users assume MCP requires Docker. It doesn't. Here is how to run servers natively for better performance.
1. Using Python (uvx or pipx)
The most common way. uvx is recommended for speed.
bash
uvx mcp-server-git2. Using Node.js (npx)
Perfect for JavaScript-based servers.
bash
npx -y @modelcontextprotocol/server-postgres3. Direct Binaries
Some servers are compiled (Go, Rust). Simply download the binary and reference the path:
json
{
"command": "/usr/local/bin/my-mcp-server",
"args": ["--config", "./config.json"]
}Why skip Docker?
- Speed: No container startup time.
- Resources: Lower RAM overhead.
- Accessibility: Easier access to local file systems.