DD

deepsrt/deepsrt-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

52 stars 5 forks 품질 55 트렌드 0

deepsrt/deepsrt-mcp는 MCP 서버 후보가 https://github.com/deepsrt/deepsrt-mcp.에서 수입되었습니다

개요

deepsrt/deepsrt-mcp는 MCP 서버 후보가 https://github.com/deepsrt/deepsrt-mcp.에서 수입되었습니다

개요(AI 번역)

DeepSRT의 API 및 직접 YouTube 캡션 액세스와 통합을 통해 YouTube 비디오 요약 및 성적 추출 기능을 제공하는 모델 Context Protocol (MCP) 서버.

TL; DR

건축

순서 교류

기술적인 건축

핵심 성분

1. ** MCP 서버 층 **

  • Runtime Support: Node.js와 Bun 실행 모두
  • Protocol Handling: Model Context Protocol (MCP) 요청/response 관리 -Tool 등록: get_summary 및 get_transcript 도구
  • 처리: 사용자 친화적 인 메시지와 포괄적인 오류 관리

# # # 2. ** 비디오 처리 파이프 **

  • URL Parser: 여러 YouTube URL 형식과 직접 비디오 ID 지원
  • **InnerTube 통합 **: API 키 없이 직접 YouTube API 접속
  • Caption Discovery: 사용 가능한 캡션 트랙의 자동 감지 -Quality Selection: 자동 생성한 것에 수동 captions를 전진하십시오

###3.Transcript 처리 -XML 파서: YouTube의 형식을 처리 -Entity Decoder: 텍스트를 읽을 수 있는 HTML 엔티티티를 변환 -Timestamp Formatter: 밀리 초를 [MM:SS] 형식으로 변환

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

DeepSRT MCP Server

A Model Context Protocol (MCP) server that provides YouTube video summarization and transcript extraction functionality through integration with DeepSRT’s API and direct YouTube caption access.

TL;DR

{
  "mcpServers": {
    "deepsrt": {
      "type": "stdio",
      "command": "bunx",
      "args": [
        "@deepsrt/deepsrt-mcp@latest",
        "--server"
      ]
    }
  }
}

Architecture

graph TB
    subgraph "MCP Client"
        Client[Claude Desktop / Cline]
    end
    
    subgraph "DeepSRT MCP Server"
        Server[MCP Server]
        SummaryTool[get_summary]
        TranscriptTool[get_transcript]
        
        Server --> SummaryTool
        Server --> TranscriptTool
    end
    
    subgraph "External APIs"
        YouTube[YouTube InnerTube API]
        DeepSRT[DeepSRT Worker API]
        Captions[YouTube Caption API]
    end
    
    Client --> Server
    SummaryTool --> YouTube
    SummaryTool --> DeepSRT
    TranscriptTool --> YouTube
    TranscriptTool --> Captions

Sequence Flow

sequenceDiagram
    participant User
    participant MCP as MCP Client
    participant Server as DeepSRT MCP Server
    participant YouTube as YouTube InnerTube API
    participant DeepSRT as DeepSRT Worker API
    participant Captions as YouTube Caption API

    Note over User,Captions: Summary Generation Flow
    User->>MCP: Request video summary
    MCP->>Server: get_summary(videoId, lang, mode)
    
    Server->>Server: Extract video ID from URL
    Server->>YouTube: POST /youtubei/v1/player
    Note right of YouTube: Get video metadataand caption tracks
    YouTube-->>Server: Video details + caption tracks
    
    Server->>Server: Select best caption track(manual > auto-generated)
    Server->>Server: Extract transcript argumentfrom caption URL
    
    par Summary Request
        Server->>DeepSRT: GET /transcript2?action=summarize
        Note right of DeepSRT: X-Transcript-Arg headercontains caption URL params
        DeepSRT-->>Server: Generated summary
    and Title Translation
        Server->>DeepSRT: GET /transcript2?action=translate
        DeepSRT-->>Server: Translated title
    end
    
    Server->>Server: Format markdown responsewith metadata + summary
    Server-->>MCP: Formatted summary response
    MCP-->>User: Display summary

    Note over User,Captions: Transcript Extraction Flow
    User->>MCP: Request video transcript
    MCP->>Server: get_transcript(videoId, lang)
    
    Server->>Server: Extract video ID from URL
    Server->>YouTube: POST /youtubei/v1/player
    YouTube-->>Server: Video details + caption tracks
    
    Server->>Server: Select best caption trackfor preferred language
    Server->>Captions: GET caption XML from baseUrl
    Captions-->>Server: Raw XML transcript
    
    Server->>Server: Parse XML transcript- Extract timestamps- Decode HTML entities- Format text
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "deepsrt": { "type": "stdio", "command": "bunx", "args": [ "@deepsrt/deepsrt-mcp@latest", "--server" ] } } }