mcp-netdisco
mcp-netdisco
Docker化されたModel Context Protocol (MCP)サーバーで、MCPクライアントにNetdiscoへの読み取り専用アクセスを提供します。
特徴
Netdiscoの
/loginエンドポイントをHTTP Basic認証情報で使用します返されたAPIキーをキャッシュし、30日ごとに更新します
NetdiscoがHTTP 401を返した場合に自動的に再認証します
設定されたNetdiscoサーバー上の相対パスにリクエストを制限します
Dockerコンテナを起動するクライアント向けにMCP stdio上で動作します
Related MCP server: kismet-wireless-mcp
設定
.envファイルを作成します。デフォルトのURLは本番Netdiscoサーバーです。
NETDISCO_URL=http://your-url-site.com:5000
NETDISCO_USERNAME=your-netdisco-username
NETDISCO_PASSWORD=your-netdisco-password
NETDISCO_TIMEOUT=20ユーザー名とパスワードは、POST /loginからAPIキーを取得するためだけに使用されます。.envをコミットしないでください。
Docker
直接ビルドして実行する場合:
docker build -t mcp-netdisco .
docker run --rm -i --env-file .env mcp-netdiscoまたはComposeを使用する場合:
docker compose build
docker compose run --rm -T mcp-netdiscoMCPツール
サーバーが公開するもの:
netdisco_api(path, query)
path:/api/v1/search/deviceなどのNetdisco APIの相対パスquery: オプションのクエリ文字列パラメータ
データ呼び出しではHTTP GETリクエストのみがサポートされています。絶対URLは拒否され、リクエストは別のホストにリダイレクトできません。
Netdiscoトークンの有効期間
サーバーはキャッシュされたAPIキーを30日ごとに更新し、401応答後は1回再試行します。Netdiscoのapi_token_lifetime設定は更新間隔より長くなければなりません(そうしない場合は、401再試行時に必要に応じて新しいキーが取得されます)。更新間隔は、必要になれば後で設定可能にすることができます。
開発
python3 -m venv .venv
. .venv/bin/activate
pip install -e .
export NETDISCO_USERNAME=your-user
export NETDISCO_PASSWORD=your-password
python -m mcp_netdiscoライセンス
ライセンスはまだ選択されていません。
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