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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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