mcpField
M
mcp-mdns

mcp-mdns

Local
github.com/daedalusDeveloper Tools0Updated 28w ago

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

  1. 01List advertised service types
  2. 02Browse services by type
  3. 03Retrieve service host, port, and TXT records
  4. 04Resolve .local hostnames to IP addresses
  5. 05Register and unregister services

Use cases

  1. 01Finding advertised services on a local network
  2. 02Looking up details for a service type
  3. 03Resolving a .local hostname
  4. 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.

mcp.json · Universal config
{
"mcpServers": {
"daedalus-mcp-mdns": {
"command": "uvx",
"args": [
"mcp-mdns"
]
}
}
}
Run commanduvx mcp-mdns

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimcp-mdns0.1.2

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

mcp-mdns — MCP server for mDNS service discovery

PyPI Python Ruff

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 network
  • mdns_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 addresses
  • mdns_register_service — Register a new service on the local network
  • mdns_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

Markdown supported

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.