# rpk connect mcp-server lint

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

---
title: rpk connect mcp-server lint
latest-redpanda-tag: v25.3.11
latest-console-tag: v3.7.3
latest-operator-version: v26.1.4
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "false"
page-eol-date: November 19, 2026
latest-connect-version: 4.93.0
docname: rpk/rpk-connect/rpk-connect-mcp-server-lint
page-component-name: streaming
page-version: "25.3"
page-component-version: "25.3"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-connect/rpk-connect-mcp-server-lint.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/25.3/modules/reference/pages/rpk/rpk-connect/rpk-connect-mcp-server-lint.adoc
description: Parse Redpanda Connect configs and report any linting errors.
page-git-created-date: "2025-09-22"
page-git-modified-date: "2025-09-22"
support-status: supported
---

<!-- Source: https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-connect/rpk-connect-mcp-server-lint.md -->

Parse Redpanda Connect configs and report any linting errors. Exits with a status code 1 if any linting errors are detected in a directory.

## [](#usage)Usage

```bash
rpk connect mcp-server lint [command options]
```

## [](#examples)Examples

```bash
rpk connect mcp-server lint .
rpk connect mcp-server lint ./foo
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| --deprecated | - | Print linting errors for the presence of deprecated fields. (default: false) |
| --labels | - | Print linting errors when components do not have labels. (default: false) |
| --skip-env-var-check | - | Do not produce lint errors when environment interpolations exist without defaults within configs but aren’t defined. (default: false) |
| --verbose | - | Print the lint result for each target file. (default: false) |
| --secrets env: [ --secrets env: ] | - | 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:. (default: "env:") |
| --env-file value, -e value [ --env-file value, -e value ] | - | Import environment variables from a dotenv file. |
| --help, -h | - | Show help for the command. |