googleDrive property

Connector googleDrive
final

Implementation

static final googleDrive = Connector(
  name: "Google Drive",
  server: MCPServer(serverLabel: "Google_Drive", openaiConnectorId: "connector_googledrive"),
  oauth: OAuthClientConfig(
    clientId: "CLIENT_ID",
    clientSecret: const String.fromEnvironment("GOOGLE_CONNECTOR_OAUTH_CLIENT_ID"),
    authorizationEndpoint: "https://accounts.google.com/o/oauth2/v2/auth",
    tokenEndpoint: "https://oauth2.googleapis.com/token",
    noPkce: false,
    scopes: [
      "https://www.googleapis.com/auth/userinfo.email",
      "https://www.googleapis.com/auth/userinfo.profile",
      "https://www.googleapis.com/auth/drive.readonly",
    ],
  ),
);