stacklok / stacklok/toolhive

NetworkPolicy for Headless Services for MCP Servers

Open
#1,129 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kubernetes p0
Dominant language
Go
Stars
2.2k
Forks
300
Avg merge
1d 15h
Merged PRs (30d)
184

Description

We want to add a NetworkPolicy that restricts all ingress to the MCP servers to only come from the associated proxy. This removes the opporunity for someone to bypass toolhive to get to the MCP Server

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Kubernetes configuration or controller code that creates headless services for MCP servers and associates them with proxies. Read how ingress is currently configured, then verify that the resulting NetworkPolicy permits traffic only from the associated proxy and blocks direct access to the MCP server.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
infrastructure, networking, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
43/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.