youtube-data-mcp
Version:
MCP server for YouTube data extraction - transcripts, comments, and search
17 lines • 510 B
JavaScript
import * as dotenv from "dotenv";
dotenv.config();
export const config = {
serpApiKey: process.env.SERPAPI_KEY || "",
serpApiBaseUrl: "https://serpapi.com/search.json",
server: {
name: "youtube-data-mcp",
version: "2.0.0",
port: parseInt(process.env.PORT || "3000", 10),
},
};
export function validateConfig() {
if (!config.serpApiKey) {
console.warn("Warning: SERPAPI_KEY is not set. Some features will not work.");
}
}
//# sourceMappingURL=index.js.map