Skip to main content
Glama

MCP Video & Audio Text Extraction Server

by SealinGp
__init__.py720 B
from mcp.server.fastmcp import FastMCP from mcp_video_service.services.video_service import VideoService mcp = FastMCP("video-service") video_service = VideoService() @mcp.tool() async def video_download(url: str) -> str: """从支持的视频平台下载视频""" return await video_service.download_video(url) @mcp.tool() async def audio_download(url: str) -> str: """从支持的视频平台下载音频""" return await video_service.download_audio(url) @mcp.tool() async def audio_extract(audio_path: str) -> str: """从音频或视频文件中提取文字内容""" return await video_service.extract_text(audio_path) def main(): mcp.run() if __name__ == "__main__": main()

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/SealinGp/mcp-video-extraction'

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