ansible-network-mcp
by alibahadircoskun
Overview
Manages Ansible environments and executes network automation tasks on network devices via conversational AI (Claude Desktop).
Installation
source ~/ansible-venv/bin/activate && python ~/ansible-network-mcp/server.pyEnvironment Variables
- ANSIBLE_DIR
- ANSIBLE_HOST_KEY_CHECKING
- ANSIBLE_FORCE_COLOR
Security Notes
CRITICAL: The `install.sh` script creates `group_vars/qfx_switches.yml` with hardcoded default credentials (`ansible_user: root`, `ansible_password: Admin123_`). This is a severe security risk, as these are exposed and may be forgotten. Users are strongly advised to change these immediately and consider Ansible Vault for sensitive data. CRITICAL: The server explicitly sets `ANSIBLE_HOST_KEY_CHECKING=False` in its subprocess calls and recommends it in `ansible.cfg` and Claude Desktop configuration. This disables host key verification, making it vulnerable to Man-in-the-Middle (MITM) attacks during SSH/NETCONF connections. POSITIVE: Input sanitization functions (`sanitize_input`, `sanitize_filename`) and path traversal checks (`safe_path_join`, `full_path.startswith(ANSIBLE_DIR)`) are implemented, which helps mitigate command injection and file system access vulnerabilities within the tool's operations. File operations are restricted to the configured Ansible directory.
Similar Servers
meraki-magic-mcp
Provides a comprehensive interface to manage Cisco Meraki network devices and configurations by exposing all Meraki SDK methods as tools, optimized for use with Claude Desktop.
vibes
Vibes transforms Claude Desktop into a conversational development environment through distributed MCP servers, allowing users to describe what they want to build and have Claude implement it while teaching them.
homelab-mcp
Provides Model Context Protocol (MCP) servers for managing and monitoring homelab infrastructure through Claude Desktop.
miyabi-mcp-bundle
An all-in-one MCP server providing a vast array of development, monitoring, and automation tools, enabling Claude Desktop and AI agents to perform complex software development, operations, and analysis tasks efficiently and securely.