Basic information
About Ansible MCP Server
Ansible MCP Server for intelligent infrastructure management
Ansible MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by washyu. Supported transport: stdio. Runtime: python. License: MIT. The repository has 5 GitHub stars. Source code is hosted on github.com. Related topics: ansible, infrastructure-management, mcp.
Setup
{
"mcpServers": {
"mcp_python_server": {
"command": "uv",
"args": [
"sync"
]
}
}
}
{
"mcpServers": {
"mcp_python_server": {
"command": "uv",
"args": [
"sync"
]
}
}
}
{
"servers": {
"mcp_python_server": {
"command": "uv",
"args": [
"sync"
]
}
}
}
Ansible MCP Server — by washyu config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp_python_server": {
"command": "uv",
"args": [
"sync"
]
}
}
}
Ansible MCP Server — by washyu tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Ansible MCP Server?
Ansible MCP Server is a Model Context Protocol (MCP) server for managing homelab infrastructure with Ansible. It integrates with local LLMs via Ollama and supports both WebSocket and stdio transports. Designed for Linux-based homelab environments (Proxmox, Ubuntu, Debian), it is aimed at infrastructure automation and AI-assisted operations.
How to use Ansible MCP Server?
Install dependencies with uv sync or pip install -e ., copy .env.example to .env, and configure settings (e.g., Ollama host and model). Start the server with uv run python main.py (WebSocket default) or use --transport stdio for Claude Desktop compatibility. Test with python simple_test.py or the interactive agent via uv run python -m src.agents.websocket_agent.
Key features of Ansible MCP Server
- Manages homelab infrastructure through Ansible and MCP.
- Supports both WebSocket and stdio transports.
- Integrates with local LLMs via Ollama.
- Linux-first with WSL2 support for Windows.
- Provides an interactive AI agent for testing.
- Currently includes a
hello_worldtool.
Use cases of Ansible MCP Server
- Automating homelab infrastructure tasks with AI assistance.
- Running Ansible playbooks through a conversational interface.
- Prototyping MCP servers for homelab environments.
- Integrating local LLM agents with infrastructure management tools.
Frequently asked questions
1 What tools does Ansible MCP Server currently provide?
Currently only the hello_world tool is implemented. Future tools are planned for infrastructure discovery, Ansible playbook execution, template management, SOPs, and security scanning.
2 What are the prerequisites for running Ansible MCP Server?
You need Python, uv or pip, and an Ollama instance with a local LLM model (e.g., llama3.2:3b). Linux is recommended; Windows users must use WSL2.
3 How can I run the server in stdio mode for Claude Desktop?
Use uv run python main.py --transport stdio.
4 Does Ansible MCP Server support Windows natively?
No, it is Linux-first. Windows users should use WSL2 for development.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In