Skip to main content
Glama
types.ts582 B
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js' export interface McpToolContext { mcp: McpServer } // Define the options type export interface McpServerOptions { name: string version: string } export type Tools = (context: McpToolContext) => void export interface YouTubeVideoId { videoId: string } export interface YouTubeSnippet { title: string description: string } export interface YouTubeSearchResultItem { id: YouTubeVideoId snippet: YouTubeSnippet } export interface YouTubeSearchResults { items: YouTubeSearchResultItem[] }

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/instructa/mcp-youtube-music'

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