youtube-data-mcp
Version:
MCP server for YouTube data extraction - transcripts, comments, and search
15 lines • 406 B
TypeScript
export declare function getVideoId(urlOrId: string): string | null;
export declare function createToolResponse<T>(output: T): {
content: Array<{
type: "text";
text: string;
}>;
structuredContent: T;
};
export declare function createErrorResponse(error: unknown): {
content: Array<{
type: "text";
text: string;
}>;
};
//# sourceMappingURL=helpers.d.ts.map