{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowra-dev/json-schema/flowra-dev-mcp-server-response-dto-success-response-schema.json",
  "title": "McpServerResponseDtoSuccessResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flowra-dev-mcp-api-openapi.yml#/components/schemas/McpServerResponseDtoSuccessResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Success status"
    },
    "message": {
      "type": "string",
      "description": "Success message"
    },
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "projectId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Project ID; null for admin/global MCP"
        },
        "mode": {
          "enum": [
            "NORMAL",
            "META"
          ],
          "type": "string"
        },
        "discoveryToolsWhitelist": {
          "type": "boolean",
          "description": "In Meta mode: if true, discovery is limited to pinned tools; if false, those slugs are excluded from discovery."
        },
        "isPublic": {
          "type": "boolean"
        },
        "config": {
          "type": [
            "object",
            "null"
          ]
        },
        "createdAt": {
          "format": "date-time",
          "type": "string"
        },
        "updatedAt": {
          "format": "date-time",
          "type": "string"
        },
        "toolkitSlugs": {
          "description": "Up to 5 toolkit slugs for list display (icons)",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "externalMcpConfigs": {
          "type": [
            "array",
            "null"
          ],
          "description": "External MCP configs (name, url, headers?, tools)",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "headers": {
                "type": "object"
              },
              "tools": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        },
        "connectionCallbackUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "OAuth redirect URL after linking a toolkit account"
        },
        "toolkitAuthConfigs": {
          "type": "array",
          "description": "AuthConfig bindings per toolkit"
        }
      },
      "required": [
        "id",
        "name",
        "description",
        "mode",
        "isPublic",
        "config",
        "createdAt",
        "updatedAt"
      ]
    }
  },
  "required": [
    "success",
    "message",
    "data"
  ]
}