Skip to content
Cursor

hosts file mcp for Cursor

io.github.mrfentmen/hosts-file-mcp

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

client:Cursor transport:stdio runtime:npm

Install hosts file mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

hosts file mcp in other clients