mcp-netdisco
mcp-netdisco
Ein Docker-basierter Model Context Protocol (MCP)-Server, der MCP-Clients schreibgeschützten Zugriff auf Netdisco gewährt.
Funktionen
Verwendet den
/login-Endpunkt von Netdisco mit HTTP-Basic-ZugangsdatenZwischenspeichert den zurückgegebenen API-Schlüssel und erneuert ihn alle 30 Tage
Authentifiziert sich automatisch neu, wenn Netdisco HTTP 401 zurückgibt
Beschränkt Anfragen auf relative Pfade auf dem konfigurierten Netdisco-Server
Läuft über MCP stdio für Clients, die Docker-Container starten
Related MCP server: kismet-wireless-mcp
Konfiguration
Erstellen Sie eine .env-Datei. Die Standard-URL ist der Produktions-Netdisco-Server:
NETDISCO_URL=http://your-url-site.com:5000
NETDISCO_USERNAME=your-netdisco-username
NETDISCO_PASSWORD=your-netdisco-password
NETDISCO_TIMEOUT=20Benutzername und Passwort werden ausschließlich verwendet, um einen API-Schlüssel von POST /login zu erhalten. Committen Sie .env nicht.
Docker
Direkt bauen und ausführen:
docker build -t mcp-netdisco .
docker run --rm -i --env-file .env mcp-netdiscoOder verwenden Sie Compose:
docker compose build
docker compose run --rm -T mcp-netdiscoMCP-Tool
Der Server stellt Folgendes bereit:
netdisco_api(path, query)
path: ein relativer Netdisco-API-Pfad, z. B./api/v1/search/devicequery: optionale Query-String-Parameter
Für Datenabrufe werden nur HTTP-GET-Anfragen unterstützt. Absolute URLs werden abgelehnt, und Anfragen können nicht auf einen anderen Host umgeleitet werden.
Lebensdauer des Netdisco-Tokens
Der Server erneuert seinen zwischengespeicherten API-Schlüssel alle 30 Tage und versucht es nach einer 401-Antwort einmal erneut. Die Einstellung api_token_lifetime von Netdisco muss länger sein als das Erneuerungsintervall (andernfalls erhält der 401-Wiederholungsversuch bei Bedarf einen neuen Schlüssel). Das Erneuerungsintervall kann später bei Bedarf konfigurierbar gemacht werden.
Entwicklung
python3 -m venv .venv
. .venv/bin/activate
pip install -e .
export NETDISCO_USERNAME=your-user
export NETDISCO_PASSWORD=your-password
python -m mcp_netdiscoLizenz
Es wurde noch keine Lizenz ausgewählt.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
XFA's remote MCP server — query device posture, compliance, policies & CVEs. Read-only.
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Read-only MCP server for AIStatusDashboard status, incidents, metrics, and fallback recommendations.
Related MCP Servers
AlicenseAqualityCmaintenanceRead-only MCP server that allows AI assistants to query and monitor KVM Fleet devices, audit logs, and console sessions through the official REST API.5191MIT- AlicenseNot gradedqualityBmaintenanceA read-only MCP server for querying Kismet Wireless systems, enabling AI agents to retrieve network status, datasources, devices, and alerts via REST API.MIT
- AlicenseNot gradedqualityBmaintenanceA read-only MCP server for interacting with Nautobot, enabling network source of truth queries, device management, IPAM, and data quality audits via tools and prompts.MIT
- AlicenseBqualityBmaintenanceRead-only MCP server for Snipe-IT v7 REST API, providing search and retrieval of assets, users, models, categories, and locations without modification.16MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AngelN-Halo/mcp-netdisco'
If you have feedback or need assistance with the MCP directory API, please join our Discord server