File tree Expand file tree Collapse file tree
examples/video-resource-server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,10 +51,6 @@ const VIDEO_LIBRARY: Record<string, { url: string; description: string }> = {
5151 url : "https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/1080/Big_Buck_Bunny_1080_10s_30MB.mp4" ,
5252 description : "30MB" ,
5353 } ,
54- "bunny-50mb" : {
55- url : "https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_50mb.mp4" ,
56- description : "50MB" ,
57- } ,
5854 "bunny-150mb" : {
5955 url : "https://cdn.jsdelivr.net/npm/big-buck-bunny-1080p@0.0.6/video.mp4" ,
6056 description : "~150MB (full 1080p)" ,
@@ -69,7 +65,7 @@ function createServer(): McpServer {
6965
7066 // Register video resource template
7167 // This fetches video from CDN and returns as base64 blob
72- server . resource (
68+ server . registerResource (
7369 "video" ,
7470 new ResourceTemplate ( "videos://{id}" , { list : undefined } ) ,
7571 {
You can’t perform that action at this time.
0 commit comments