Using tilt CLI through MCP for LLM workflows

I forked and extended a very useful tilt MCP server for Docker/Kubernetes workflows. The MCP wraps around the tilt CLI tool and makes LLMs aware of your Tilt resources and interact with them.

This is helpful when tilt up is already running, and you can prompt your tool using LLMs with:

Please review requirements: and then check tilt MCP for “backend-api” resource logs for compile status. Make sure that “test:backend” resource is successful with your changes.

Using tilt MCP this way significantly saves on LLM tokens because Docker build/deploy tasks re-trigger automatically on file edits (thanks to Tilt :heart:). This allows LLM to instantly monitor status instead of having extra tokens used to trigger builds and run deployments after file edits. Tilt speeds up the dev feedback loop, but now it does it for LLMs too!

Source:

Usage:

{
  "mcpServers": {
    "tilt": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "${HOME}/.tilt-dev:/tmp/host-tilt-dev:ro",
        "--network=host",
        "ghcr.io/rrmistry/tilt-mcp:latest"
      ],
      "env": {}
    }
  }
}

Please do share feedback if you find this useful!