We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aranej/youtube-mcp-enhanced'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
server.ts•589 B
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
import { createYouTubeMcpServer } from './server-utils.js';
export async function startMcpServer() {
const server = createYouTubeMcpServer();
// Create transport and connect
const transport = new StdioServerTransport();
await server.connect(transport);
// Log the server info to stderr (stdout is reserved for JSON-RPC)
console.error(`YouTube MCP Server started successfully`);
console.error(`Server will validate YouTube API key when tools are called`);
return server;
}