Overview
Ansible Tower MCP Server is a server designed to enable Large Language Models (LLMs) to interact with Ansible Tower, facilitating automation and orchestration tasks.
To use the Ansible Tower MCP Server, create a .env file based on the provided template and connect it to your Ansible Tower instance. You can then utilize the server with any LLM provider to automate tasks.
- Integration with Ansible Tower for automation tasks - Compatibility with various LLM providers - Simplified setup through .env configuration
- Automating IT infrastructure management tasks.
- Enhancing DevOps workflows with AI-driven automation.
- Streamlining deployment processes using LLMs.
Add to your AI client
Use these steps to connect Ansible Tower MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"ansible-tower-mcp-a37ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ansible-tower-mcp-a37ai"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"ansible-tower-mcp-a37ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ansible-tower-mcp-a37ai"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"ansible-tower-mcp-a37ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ansible-tower-mcp-a37ai"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"ansible-tower-mcp-a37ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ansible-tower-mcp-a37ai"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ansible-tower-mcp-a37ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ansible-tower-mcp-a37ai"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"ansible-tower-mcp-a37ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ansible-tower-mcp-a37ai"
]
}
}
}FAQ
What is required to set up the Ansible Tower MCP Server?
You need an Ansible Tower instance and a properly configured .env file based on the template provided.
Can I use any LLM provider with this server?
Yes! The server is designed to work with any LLM provider that you choose to integrate.
Is there any licensing requirement?
The Ansible Tower MCP Server is released under the MIT license, allowing for flexible use.