Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-jgador-websharp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"ASPNETCORE_URLS=<YOUR_VALUE>",
"-e",
"Searxng__BaseUrl=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyHeader=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyMethod=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyOrigin=<YOUR_VALUE>",
"-e",
"Cors__AllowCredentials=<YOUR_VALUE>",
"-e",
"Cors__AllowedHeaders__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedMethods__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedOrigins__0=<YOUR_VALUE>",
"docker.io/jessegador/websharp-mcp:v0.99.0-rc2"
]
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-jgador-websharp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"ASPNETCORE_URLS=<YOUR_VALUE>",
"-e",
"Searxng__BaseUrl=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyHeader=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyMethod=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyOrigin=<YOUR_VALUE>",
"-e",
"Cors__AllowCredentials=<YOUR_VALUE>",
"-e",
"Cors__AllowedHeaders__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedMethods__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedOrigins__0=<YOUR_VALUE>",
"docker.io/jessegador/websharp-mcp:v0.99.0-rc2"
]
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-jgador-websharp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"ASPNETCORE_URLS=<YOUR_VALUE>",
"-e",
"Searxng__BaseUrl=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyHeader=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyMethod=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyOrigin=<YOUR_VALUE>",
"-e",
"Cors__AllowCredentials=<YOUR_VALUE>",
"-e",
"Cors__AllowedHeaders__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedMethods__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedOrigins__0=<YOUR_VALUE>",
"docker.io/jessegador/websharp-mcp:v0.99.0-rc2"
]
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-jgador-websharp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"ASPNETCORE_URLS=<YOUR_VALUE>",
"-e",
"Searxng__BaseUrl=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyHeader=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyMethod=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyOrigin=<YOUR_VALUE>",
"-e",
"Cors__AllowCredentials=<YOUR_VALUE>",
"-e",
"Cors__AllowedHeaders__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedMethods__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedOrigins__0=<YOUR_VALUE>",
"docker.io/jessegador/websharp-mcp:v0.99.0-rc2"
]
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-jgador-websharp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"ASPNETCORE_URLS=<YOUR_VALUE>",
"-e",
"Searxng__BaseUrl=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyHeader=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyMethod=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyOrigin=<YOUR_VALUE>",
"-e",
"Cors__AllowCredentials=<YOUR_VALUE>",
"-e",
"Cors__AllowedHeaders__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedMethods__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedOrigins__0=<YOUR_VALUE>",
"docker.io/jessegador/websharp-mcp:v0.99.0-rc2"
]
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-jgador-websharp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"ASPNETCORE_URLS=<YOUR_VALUE>",
"-e",
"Searxng__BaseUrl=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyHeader=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyMethod=<YOUR_VALUE>",
"-e",
"Cors__AllowAnyOrigin=<YOUR_VALUE>",
"-e",
"Cors__AllowCredentials=<YOUR_VALUE>",
"-e",
"Cors__AllowedHeaders__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedMethods__0=<YOUR_VALUE>",
"-e",
"Cors__AllowedOrigins__0=<YOUR_VALUE>",
"docker.io/jessegador/websharp-mcp:v0.99.0-rc2"
]
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| ASPNETCORE_URLS | No | Listening address(es) for the HTTP server. Override to change the exposed MCP port. Default: http://0.0.0.0:8080 |
| Searxng__BaseUrl | No | Base URL of the SearXNG instance. Required if you are not running the bundled Docker service. Must be an absolute URI. Default: http://searxng:8080 |
| Cors__AllowAnyHeader | No | Allow all request headers. Default: true |
| Cors__AllowAnyMethod | No | Allow all HTTP methods. Default: true |
| Cors__AllowAnyOrigin | No | Permit all origins. Set to false when you want to limit callers via Cors__AllowedOrigins__0=<origin> style keys. Default: true |
| Cors__AllowCredentials | No | When true, credentials are accepted and you must explicitly enumerate origins. Default: false |
| Cors__AllowedHeaders__0 | No | Optional header allowlist entries. Use numbered keys like Cors__AllowedHeaders__0, Cors__AllowedHeaders__1, etc. |
| Cors__AllowedMethods__0 | No | Optional method allowlist entries. Use numbered keys like Cors__AllowedMethods__0, Cors__AllowedMethods__1, etc. |
| Cors__AllowedOrigins__0 | No | Optional origin allowlist entries when AllowAnyOrigin is false. Use numbered keys like Cors__AllowedOrigins__0, Cors__AllowedOrigins__1, etc. |