About mcp-mdns
mcp-mdns is an MCP server for discovering and managing mDNS services on a local network. Its tools cover service types, service details, hostname resolution, and service registration.
Key features
- 01List advertised service types
- 02Browse services by type
- 03Retrieve service host, port, and TXT records
- 04Resolve .local hostnames to IP addresses
- 05Register and unregister services
Use cases
- 01Finding advertised services on a local network
- 02Looking up details for a service type
- 03Resolving a .local hostname
- 04Registering or removing a network service
MCP support
Exposes mDNS discovery, lookup, hostname resolution, and service registration tools to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-mdns — MCP server for mDNS 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
Install
pip install mcp-mdns
Usage
# Run the MCP server
mcp-mdns
Or run directly with Python:
python -m mcp_mdns
MCP Server Configuration
Configure your MCP client with:
{
"mcpServers": {
"mdns": {
"command": "mcp-mdns",
"env": {}
}
}
}
Available Tools
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 service
Development
git 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/
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.