Complete Beginner's Guide to Installing MCP Servers
Step-by-step guide to installing your first MCP server with Claude Desktop in under 5 minutes.
Installing Your First MCP Server
This guide walks you through installing an MCP server with Claude Desktop — the most popular MCP client.
Prerequisites
1. Claude Desktop — Download here (macOS or Windows)
2. Node.js 18+ — Required for npx-based servers
3. Python 3.10+ — Required for uvx-based servers (optional)
Step 1: Choose a Server
Browse MCPHub's directory and pick a server. For this tutorial, we'll use the Filesystem server — one of the most useful and safest to start with.
Step 2: Find the Config File
Claude Desktop stores MCP configuration at:
Step 3: Edit the Config
Open the file (create it if it doesn't exist) and add:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/yourname/Documents"
]
}
}
}
Replace /Users/yourname/Documents with the directory you want Claude to access.
Step 4: Restart Claude Desktop
Quit and reopen Claude Desktop. You'll see a 🔌 icon in the chat indicating MCP servers are active.
Step 5: Test It
Try asking Claude:
Adding More Servers
You can stack multiple servers in the same config:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/files"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token" }
}
}
}
Troubleshooting
Server won't start?
Tools not showing up?
Permission errors?
Explore the full directory at MCPHub — there are hundreds of servers waiting to extend Claude's capabilities.