{
  "openapi": "3.0.1",
  "info": {
    "title": "Jakarta Migration MCP",
    "description": "A Model Context Protocol (MCP) server that provides AI assistants with specialized tools for analyzing and migrating Java applications from Java EE 8 (javax.*) to Jakarta EE 9+ (jakarta.*). Provides dependency analysis, blocker detection, migration and refactoring, and runtime verification",
    "version": "0.0",
    "x-build-id": "39hbiwxAKl3EL9WId"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/adrian_m~JakartaMigrationMCP/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-adrian_m-JakartaMigrationMCP",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/adrian_m~JakartaMigrationMCP/runs": {
      "post": {
        "operationId": "runs-sync-adrian_m-JakartaMigrationMCP",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/adrian_m~JakartaMigrationMCP/run-sync": {
      "post": {
        "operationId": "run-sync-adrian_m-JakartaMigrationMCP",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcpTransport": {
            "title": "MCP Transport Mode",
            "enum": [
              "stdio",
              "sse"
            ],
            "type": "string",
            "description": "Transport mechanism for MCP communication. Use 'sse' for HTTP-based MCP clients (required for Apify deployment).",
            "default": "sse"
          },
          "mcpSsePort": {
            "title": "SSE Port",
            "minimum": 1,
            "maximum": 65535,
            "type": "integer",
            "description": "Port number for SSE transport mode (only used when mcpTransport is 'sse')",
            "default": 8080
          },
          "mcpSsePath": {
            "title": "SSE Path",
            "type": "string",
            "description": "HTTP path for SSE endpoint (only used when mcpTransport is 'sse')",
            "default": "/mcp/sse"
          },
          "licenseKey": {
            "title": "License Key",
            "type": "string",
            "description": "License key for premium features. Use your Apify API token for Apify-based licensing, or Stripe license key for Stripe-based licensing. Leave empty for Community tier (free features only)."
          },
          "apifyValidationEnabled": {
            "title": "Enable Apify License Validation",
            "type": "boolean",
            "description": "Enable license validation via Apify API. Set to false to disable Apify validation (useful for local testing).",
            "default": true
          },
          "stripeValidationEnabled": {
            "title": "Enable Stripe License Validation",
            "type": "boolean",
            "description": "Enable license validation via Stripe API. Set to false to disable Stripe validation.",
            "default": true
          },
          "defaultTier": {
            "title": "Default License Tier",
            "enum": [
              "COMMUNITY",
              "PREMIUM",
              "ENTERPRISE"
            ],
            "type": "string",
            "description": "Default license tier when no license key is provided",
            "default": "COMMUNITY"
          },
          "apifyApiToken": {
            "title": "Apify API Token (Server)",
            "type": "string",
            "description": "Your Apify API token for making license validation requests. This is YOUR account token, not the user's license key. Required if Apify validation is enabled. WARNING: This is a sensitive credential - keep it secure."
          },
          "stripeSecretKey": {
            "title": "Stripe Secret Key (Server)",
            "type": "string",
            "description": "Your Stripe secret key for making license validation requests. Required if Stripe validation is enabled. WARNING: This is a sensitive credential - keep it secure."
          },
          "maxTotalChargeUsd": {
            "title": "Maximum Total Charge (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Maximum total charge allowed per Actor run (for Pay-Per-Event billing). Set to 0 for no limit.",
            "default": 10
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}