mcp-youtube-uploader
Version:
MCP server for uploading videos to YouTube with OAuth2 authentication
14 lines • 622 B
TypeScript
import { YouTubeUploadOptions, YouTubeUploadResult, YouTubeCredentials, YouTubeChannel } from './types.js';
export declare class YouTubeClient {
private oauth2Client;
private youtube;
constructor(credentials: YouTubeCredentials);
getAuthUrl(): Promise<string>;
setAuthCode(code: string): Promise<void>;
getChannels(): Promise<YouTubeChannel[]>;
debugPermissions(): Promise<any>;
uploadVideo(options: YouTubeUploadOptions): Promise<YouTubeUploadResult>;
refreshAccessToken(): Promise<void>;
getRefreshToken(): string | null | undefined;
}
//# sourceMappingURL=youtube-client.d.ts.map