POST /v1/redpanda-connect/mcp-servers:lint-config

Validates a supplied Redpanda Connect MCP tools YAML and returns a list of linting hints. If no problems are found, the list is empty.

application/json

Body Required

  • tools object Required

    The Redpanda Connect MCP tools configuration in YAML format.

    Hide tools attribute Show tools attribute object
    • * object Additional properties

      A configuration tool for the MCP server.

      Hide * attributes Show * attributes object
      • component_type string

        Component type for this tool.

        Values are COMPONENT_TYPE_PROCESSOR, COMPONENT_TYPE_CACHE, COMPONENT_TYPE_INPUT, or COMPONENT_TYPE_OUTPUT.

      • config_yaml string Required

        The contents of the configuration tool in YAML format.

Responses

  • 200 application/json

    Linting finished. See lint_hints for details.

    Hide response attribute Show response attribute object
    • lint_hints object

      A list of linting issues.

      Hide lint_hints attribute Show lint_hints attribute object
      • * object Additional properties

        LintHint is a generic linting hint.

        Hide * attributes Show * attributes object
        • column integer(int32)

          Column number of the lint.

        • hint string

          The hint message.

        • line integer(int32)

          Line number of the lint.

        • lint_type string

          Optional lint type or enum.

  • 401 application/json

    Unauthenticated.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • 500 application/json

    Internal Server Error. Reach out to support.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • default application/json

    An unexpected error response.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

POST /v1/redpanda-connect/mcp-servers:lint-config
curl \
 --request POST 'https://{dataplane_api_subdomain}.cloud.redpanda.com/v1/redpanda-connect/mcp-servers:lint-config' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"tools":{"additionalProperty1":{"component_type":"COMPONENT_TYPE_PROCESSOR","config_yaml":"string"},"additionalProperty2":{"component_type":"COMPONENT_TYPE_PROCESSOR","config_yaml":"string"}}}'
Request examples
{
  "tools": {
    "additionalProperty1": {
      "component_type": "COMPONENT_TYPE_PROCESSOR",
      "config_yaml": "string"
    },
    "additionalProperty2": {
      "component_type": "COMPONENT_TYPE_PROCESSOR",
      "config_yaml": "string"
    }
  }
}
Response examples (200)
{
  "lint_hints": {
    "additionalProperty1": {
      "column": 42,
      "hint": "string",
      "line": 42,
      "lint_type": "string"
    },
    "additionalProperty2": {
      "column": 42,
      "hint": "string",
      "line": 42,
      "lint_type": "string"
    }
  }
}
Response examples (401)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (500)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (default)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}

Documentation preview

will expire on December 14 at 02:50

This is a preview of your version @2025-12-07.