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.2.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.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_mdns-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e6632e0f4c68cf5129aec37fd651c080abbfd3c4c0282140886842b89f532a2c
MD5 48ddb485145d87077d38421bf35b6ea4
BLAKE2b-256 96c1dcb1dbd9a4ac4d2018a76c4ed6cd5e92254287b3696a4d50fbb9c93c775c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_mdns-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: mcp_mdns-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 465ed3332e991efaedbdf665346da48515eaa0fbded06b0f11309b814cb11d5e
MD5 1d276c76aef279a5da125c39d7e794ea
BLAKE2b-256 37144108336fb6afec4979eda74516640c9af262f6ffcd1acf601f848cfbd65a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_mdns-0.1.2-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