mcp

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package mcp implements the `apic mcp` subcommand.

It serves the apic config-manipulation tool set over MCP for AI agents, across stdio, HTTP and WebSocket transports. Network transports are fail-closed: they require a bearer token and TLS unless explicitly opted out of on a loopback bind.

Index

Constants

This section is empty.

Variables

View Source
var ErrMCPTokenTooShort = errors.New("mcp: auth token must be at least 16 bytes")

ErrMCPTokenTooShort is returned when the configured MCP bearer token is shorter than minMCPTokenLen bytes. Surfaced before the server listens.

Functions

func New

func New() *cobra.Command

New returns the `apic mcp` command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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