Skip to main content
Glama

mcp-youtube

by kirbah
container.ts764 B
import "dotenv/config"; import { CacheService } from "./services/cache.service.js"; import { YoutubeService } from "./services/youtube.service.js"; import { TranscriptService } from "./services/transcript.service.js"; export interface IServiceContainer { cacheService: CacheService; youtubeService: YoutubeService; transcriptService: TranscriptService; } let container: IServiceContainer | null = null; export function initializeContainer(): IServiceContainer { if (container) return container; const cacheService = new CacheService(); const youtubeService = new YoutubeService(cacheService); const transcriptService = new TranscriptService(cacheService); container = { cacheService, youtubeService, transcriptService }; return container; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kirbah/mcp-youtube'

If you have feedback or need assistance with the MCP directory API, please join our Discord server