mcp

package
v0.0.0-...-761f487 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package mcp implements the Model Context Protocol (MCP) server for trivy-operator-explorer.

The server is exposed over the Streamable HTTP transport on its own port (separate from the main UI/JSON API) so it can be routed, secured, or exposed independently from the rest of the application. Tools are intentionally generic primitives over the explorer's vulnerability and ignore-list data so an LLM client can compose them for ad-hoc questions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(port string) error

Start runs the MCP server on the given TCP port until the underlying http.Server returns. The server shares the same kube client and sqlite connection as the main web server (initialized in cmd.Execute()).

Types

This section is empty.

Jump to

Keyboard shortcuts

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