Skip to main content
Glama
resources.py952 B
"""Resource definitions for yt-fetch MCP server.""" from mcp.types import Resource def create_resources() -> list[Resource]: """Create and return all available resources.""" return [ Resource( uri="youtube://search/{query}", name="YouTube Search Results", description="Cached search results for YouTube videos with metadata", mimeType="application/json", ), Resource( uri="youtube://video/{video_id}/metadata", name="Video Metadata", description="Full metadata for a specific YouTube video including stats and details", mimeType="application/json", ), Resource( uri="youtube://channel/{channel_id}", name="Channel Information", description="Channel information including stats, description, and recent videos", mimeType="application/json", ), ]

Latest Blog Posts

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/smith-nathanh/yt-fetch'

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