Skip to main content
Glama

mcp-server-youtube-transcript

by kimtaeyoon83
evals.ts690 B
//evals.ts import { EvalConfig } from 'mcp-evals'; import { openai } from "@ai-sdk/openai"; import { grade, EvalFunction } from "mcp-evals"; const get_transcriptEval: EvalFunction = { name: "get_transcript Tool Evaluation", description: "Evaluates the extraction of transcripts from YouTube video URLs or IDs", run: async () => { const result = await grade(openai("gpt-4"), "Please extract the English transcript from the YouTube video with ID dQw4w9WgXcQ."); return JSON.parse(result); } }; const config: EvalConfig = { model: openai("gpt-4"), evals: [get_transcriptEval] }; export default config; export const evals = [get_transcriptEval];

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/kimtaeyoon83/mcp-server-youtube-transcript'

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