Skip to main content
Glama

kubernetes-mcp-server

impersonate_roundtripper.go495 B
package kubernetes import "net/http" // nolint:unused type impersonateRoundTripper struct { delegate http.RoundTripper } // nolint:unused func (irt *impersonateRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { // TODO: Solution won't work with discoveryclient which uses context.TODO() instead of the passed-in context if v, ok := req.Context().Value(OAuthAuthorizationHeader).(string); ok { req.Header.Set("Authorization", v) } return irt.delegate.RoundTrip(req) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/containers/kubernetes-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server