mcpapp

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package mcpapp provides MCP server application modes for coder-k8s.

Index

Constants

View Source
const (
	// DefaultHTTPAddr is the default listen address used by MCP HTTP mode.
	DefaultHTTPAddr = ":8090"
)

Variables

This section is empty.

Functions

func NewServer

func NewServer(k8sClient client.Client, clientset kubernetes.Interface) *mcp.Server

NewServer creates an MCP server with all tools registered.

func RunHTTP

func RunHTTP(ctx context.Context) error

RunHTTP starts the MCP server using streamable HTTP transport.

func RunHTTPWithClients

func RunHTTPWithClients(ctx context.Context, k8sClient client.Client, clientset kubernetes.Interface) error

RunHTTPWithClients starts the MCP server using streamable HTTP transport and the provided Kubernetes clients.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL