{
  "markdown": "# mcp-mdns — MCP server for mDNS service discovery\n\n[![PyPI](https://img.shields.io/pypi/v/mcp-mdns.svg)](https://pypi.org/project/mcp-mdns/)\n[![Python](https://img.shields.io/pypi/pyversions/mcp-mdns.svg)](https://pypi.org/project/mcp-mdns/)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\nMCP 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.\n\nmcp-name: io.github.daedalus/mcp-mdns\n\n## Install\n\n```bash\npip install mcp-mdns\n```\n\n## Usage\n\n```bash\n# Run the MCP server\nmcp-mdns\n```\n\nOr run directly with Python:\n\n```bash\npython -m mcp_mdns\n```\n\n## MCP Server Configuration\n\nConfigure your MCP client with:\n\n```json\n{\n  \"mcpServers\": {\n    \"mdns\": {\n      \"command\": \"mcp-mdns\",\n      \"env\": {}\n    }\n  }\n}\n```\n\n## Available Tools\n\n- `mdns_list_service_types` — List all service types advertised on the local network\n- `mdns_browse_services` — Browse for services of a specific type (e.g., _http._tcp, _printer._tcp)\n- `mdns_get_service_info` — Get detailed information about a specific service (host, port, TXT records)\n- `mdns_resolve_hostname` — Resolve a .local hostname to IP addresses\n- `mdns_register_service` — Register a new service on the local network\n- `mdns_unregister_service` — Unregister a previously registered service\n\n## Development\n\n```bash\ngit clone https://github.com/daedalus/mcp-mdns.git\ncd mcp-mdns\npip install -e \".[test]\"\n\n# run tests\npytest\n\n# format\nruff format src/ tests/\n\n# lint\nruff check src/ tests/\n\n# type check\nmypy src/\n```\n\n## License\n\nMIT\n",
  "bytes": 1737,
  "sha": "fa04b9bb30aa96039e4e302d411b888ab5c5d88a64c77d7daa689406325fdbca",
  "repo_slug": "daedalus/mcp-mdns",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_daedalus_mcp_mdns_82d3a1af/readme"
}