Brings zero-configuration service discovery to your LLM through mDNS/Bonjour. You get six tools: list all advertised service types on your network, browse for specific services like _http._tcp or _printer._tcp, pull detailed info including host, port, and TXT records, resolve .local hostnames to IPs, and register or unregister your own services. Reach for this when you need Claude to discover printers, smart home devices, development servers, or any other network service broadcasting its presence without manual configuration. Pure Python implementation using stdio transport.
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