rpk connect mcp-server lint

Lint MCP server resources. Exits with a status code 1 if any linting errors are detected in the specified directory.

This command is experimental and subject to change.

Usage

rpk connect mcp-server lint [flags]

Flags

Value Type Description

--deprecated

bool

Print linting errors for the presence of deprecated fields.

--labels

bool

Print linting errors when components do not have labels.

--skip-env-var-check

bool

Do not produce lint errors when environment interpolations exist without defaults within configs but aren’t defined.

--verbose

bool

Print the lint result for each target file.

--secrets

strings

Attempt to load secrets from a provided URN. If more than one entry is specified they will be attempted in order until a value is found. Environment variable lookups are specified with the URN env:, which by default is the only entry. In order to disable all secret lookups specify a single entry of none:.

-e, --env-file

strings

import environment variables from a dotenv file.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.