Skip to content
Zed

hosts file mcp for Zed

io.github.mrfentmen/hosts-file-mcp

Hosts File MCP: read, check, lint, scaffold and run code.

client:Zed transport:stdio runtime:npm

Install hosts file mcp in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

{
  "context_servers": {
    "hosts-file-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/hosts-file-mcp"
      ]
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

hosts file mcp in other clients