Skip to content

Support Ability to Provide Custom RBAC Privileges for an MCP Server #654

Description

@ChrisJBurns

Description

Currently, the way ToolHive in Kubernetes works is that when you create an MCPServer resource, the end results is that the ProxyRunner and the MCP server pod will have the same ServiceAccount. This means by default the MCP server pod will have the same permissions as the ProxyRunner (which is more than nothing).

Change Proposal

We want to create separate ServiceAccount's for the MCPServer pod and the ProxyRunner pod

By default we will create a ServiceAccount with no RBAC permissions. A user can also choose to enter the service account they have already created for the MCP server via the spec.serviceAccount attribute.

The end result is a more secure, isolated RBAC system which follows the principal of least privilege for the deployment.

Metadata

Metadata

Assignees

Labels

kubernetesp1

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions