Skip to content

Conversation

tgrunnagle
Copy link

@tgrunnagle tgrunnagle commented Oct 17, 2025

Implement MCPGroup types and k8s controller per this proposal, tracked by #2234.

The MCP group controller reconciles MCPGroup resources and watches for changes to MCPServer resources. When the latter happens, it requests reconciliation of the server's referenced MCPGroup.

The MCP server controller checks the groupRef during reconciliation and sets status conditions accordingly (no fatal error if the groupRef is invalid).

Generated code and manifests.

toolhive % task operator-generate
toolhive % task task operator-manifests

Added unit, integration, and e2e (chainsaw) tests.

toolhive % task operator-test
toolhive % task operator-test-integration
toolhive % task operator-e2e-test

Many added lines are generated (CRD) or test cases.

Implements MCPGroup types and k8s controller per [this proposal](https://github.com/stacklok/toolhive/blob/73707af47db039f51b2bda07d1ef8eccb25ba819/docs/proposals/kubernetes-mcpgroup-crd.md).

The MCP group controller reconciles MCPGroup resources and watches for changes to MCPServer resources. When the latter happens, it requests reconciliation of the server's referenced MCPGroup.

The MCP server controller checks the groupRef during reconciliation and sets status conditions accordingly (no fatal error if the groupRef is invalid).

Generated code and manifests.
```console
toolhive % task operator-generate
toolhive % task task operator-manifests
```

Added unit, integration, and e2e (chainsaw) tests.
```console
toolhive % task operator-test
toolhive % task operator-test-integration
toolhive % task operator-e2e-test
```
@tgrunnagle tgrunnagle linked an issue Oct 17, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add MCP group support to k8s operator

1 participant