{
  "args": {
    "manifest": {
      "desc": "A JSON app manifest encoded as a string. This manifest **must** use a valid app manifest schema - read our guide to creating one.",
      "required": true,
      "type": "string"
    },
    "team_id": {
      "desc": "When called with an org token, which specific team to create app on",
      "required": false,
      "type": "string"
    }
  },
  "desc": "Create an app from an app manifest.",
  "errors": {
    "dynamic_client_registration_failed": "Dynamic client registration failed for an MCP server that requires OAuth authentication.",
    "dynamic_client_registration_invalid_redirect_uri": "The remote server rejected Slack's redirect URI during Dynamic Client Registration. The server must allowlist https://oauth2.slack.com/external/auth/callback as a valid redirect URI.",
    "dynamic_client_registration_invalid_response": "The MCP server returned an invalid response during Dynamic Client Registration.",
    "dynamic_client_registration_missing_oauth_endpoints": "The MCP server's OAuth metadata is missing a required authorization or token endpoint.",
    "dynamic_client_registration_not_supported": "The MCP server's OAuth metadata does not include a registration endpoint. The server may not support Dynamic Client Registration.",
    "dynamic_client_registration_rejected": "The MCP server rejected the Dynamic Client Registration request.",
    "failed_adding_collaborator": "Failed writing a collaborator record for this new app",
    "failed_creating_app": "Failed to create the app model",
    "failed_datastore_operation": "Failed while managing datastore infrastructure",
    "failed_generating_app_token": "App level token failed to generate.",
    "invalid_app": "An app created from the provided manifest would not be valid.",
    "invalid_manifest": "The provided manifest file does not validate against schema. Consult the additional errors field to locate specific issues.",
    "invalid_team_id": "The provided team ID is not valid",
    "managed_app_limit_reached": "The manager app has reached the maximum number of managed apps it can create.",
    "not_in_team": "Cannot create an app in a team that user is not a member of",
    "oauth_metadata_not_found": "Could not discover OAuth metadata for the MCP server. Ensure the server exposes a .well-known/oauth-authorization-server or .well-known/openid-configuration endpoint.",
    "socket_mode_not_enabled": "Socket mode is not enabled in manifest.",
    "unknown_method": "Unknown method"
  },
  "rate_limit": {
    "label": "Tier 1: 1+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {}
}

