pyinfra (MCP Server)

GitHub

๐Ÿ”ง pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "pyinfra": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pyinfra"
      ]
    }
  }
}