Lets play with mcp
- Ensure Claude Desktop is installed.
- Lets run a simple mcp server and interact with claude desktop
- In todays session the claude desktop will be used as mcp host
- Mcp servers might be developed in python or nodejs or java or c#
-
MCP servers can also run in docker containers
-
Lets install nodejs and npm using nvm
- Windows
winget install -e --id CoreyButler.NVMforWindows - mac
brew install nvm
- Windows
- execute
nvm install lts
Adding Claude desktop config
- Navigate to File -> Settings -> Developer -> Edit Config
- Which opens a folder where you will find
claude_desktop_config.json - open this file in any text editor
- Refer Here to this add this config
-
Refer Here for official docs
-
We have used the following configuration
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
},
"windows-cli": {
"command": "npx",
"args": [
"-y",
"@simonb97/server-win-cli"
]
}
}
}
- Exercise: Try some mcp servers with claude.
