Reference Configurations for Claude Desktop MCP
About
This is a reference implementation of the mcp config to show different use cases for how to configure MCP servers with an app that hosts an MCP Client (like Claude Desktop)
Explore
- Jetbrains IDE integration via npx on Windows
- Dockerized MCP server on Windows host
- Dockerized MCP server running inside WSL
- uvx‑packaged MCP server accessed through WSL
- Environment variable support for tokens and ports
- Practical tips for handling changing ports in Jetbrains
"jetbrains": {
"env": {
"IDE_PORT": "58682"
},
"command": "npx",
"args": [
"-y",
"@jetbrains/mcp-proxy"
]
},
1. Install MCP Server plugin first
2. Go to Settings -> Debugger -> Allow External Connections
3. Update the port to match the config. Note, Jetbrains changes ports every launch (it seems). Editing the Claude config to update the port requires the desktop app to be exited and reopened. Jetbrains IDE's don't, so I usually update Jetbrains to match the Claude config instead of vice versa.
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<<YOUR TOKEN>>"
}
"filesystem": {
"command": "wsl.exe",
"args": [
"docker",
"run",
"-i",
"--rm",
"--mount",
"type=bind,src=<<desired directory>>,dst=/projects",
"mcp/filesystem",
"/projects"
]
}
```json
"git": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"<<full path to uvx>> mcp-server-git --repository <<path to your repo>>"
]
},
Connecting Claude Desktop to Jetbrains on Windows Host with node installed in Windows
"jetbrains": {
"env": {
"IDE_PORT": "58682"
},
"command": "npx",
"args": [
"-y",
"@jetbrains/mcp-proxy"
]
},
1. Install MCP Server plugin first
2. Go to Settings -> Debugger -> Allow External Connections
3. Update the port to match the config. Note, Jetbrains changes ports every launch (it seems). Editing the Claude config to update the port requires the desktop app to be exited and reopened. Jetbrains IDE's don't, so I usually update Jetbrains to match the Claude config instead of vice versa.
Connecting Claude (in Windows Host) to a dockerized MCP Server (running in Windows Host)
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<<YOUR TOKEN>>"
}
Connecting Claude Desktop (in Windows Host) to dockerized MCP Server (running in WSL)
"filesystem": {
"command": "wsl.exe",
"args": [
"docker",
"run",
"-i",
"--rm",
"--mount",
"type=bind,src=<<desired directory>>,dst=/projects",
"mcp/filesystem",
"/projects"
]
}
Connecting Claude Desktop (in Windows Host) to uvx packaged MCP Server (running in WSL)
```json "git": { "command": "wsl.exe", "args": [ "bash", "-c", "<<full path to uvx>> mcp-server-git --repository <<path to your repo>>" ] },Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



