MCP server for mDNS (Multicast DNS) service discovery
MCP server that exposes mDNS (Multicast DNS) service discovery functionality via the Model Context Protocol. Enables LLMs to discover and query zero-configuration network services on the local network.
mcp-name: io.github.daedalus/mcp-mdns
pip install mcp-mdns
# Run the MCP server
mcp-mdns
Or run directly with Python:
python -m mcp_mdns
Configure your MCP client with:
{
"mcpServers": {
"mdns": {
"command": "mcp-mdns",
"env": {}
}
}
}
mdns_list_service_types — List all service types advertised on the local networkmdns_browse_services — Browse for services of a specific type (e.g., _http._tcp, _printer._tcp)mdns_get_service_info — Get detailed information about a specific service (host, port, TXT records)mdns_resolve_hostname — Resolve a .local hostname to IP addressesmdns_register_service — Register a new service on the local networkmdns_unregister_service — Unregister a previously registered servicegit clone https://github.com/daedalus/mcp-mdns.git
cd mcp-mdns
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx mcp-mdnsMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-daedalus-mcp-mdns": {
"command": "uvx",
"args": [
"mcp-mdns"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencemcp-mdnspypiio.github.daedalus/mcp-mdns works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.