Skip to content
VS Code

Ansible MCP Server for VS Code

io.github.yawlabs/ansible-mcp

Ansible checkout truth: module specs, task args, roles, inventory, plays, upgrade impact

client:VS Code transport:stdio runtime:npm

Install Ansible MCP Server in VS Code

.vscode/mcp.json

{
  "servers": {
    "ansible-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/ansible-mcp"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

Ansible MCP Server in other clients