Skip to main content

MCP server for mDNS (Multicast DNS) service discovery

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_mdns-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_mdns-0.1.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_mdns-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_mdns-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_mdns-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9d36f3dca2fe21a258f5ccc31b6d949e7015ada5ce34fb0240ea0a5093a6247d
MD5 8be62b6c2a4f20a4d386b0ea0123ccfe
BLAKE2b-256 fe23b523f6c45d013f0a2ad3aecc30fc4e64d05958134143e49b5cf93191b4ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_mdns-0.1.0.tar.gz:

Publisher: pypi-publish.yml on daedalus/mcp-mdns

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_mdns-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_mdns-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_mdns-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0db4be883d6f0e373a4304ad6ca59261e46bafa14b1f632c1d14178f14b97017
MD5 cf449623a8b70c09219c11425fb48440
BLAKE2b-256 e47137acdddc440b319a3a328f92fabbffb12d66fb19f179b770335e7509eb5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_mdns-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on daedalus/mcp-mdns

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page