Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP server port used when running in HTTP mode. | 8080 |
| DEBUG | No | Enable debug logging (set to 'true' to enable). | false |
| YTSM_API_KEY | Yes | Your API key from youtubetranscript.dev/dashboard/account. Required for running the server in stdio mode. | |
| YTSM_BASE_URL | No | Base URL of the YouTube Transcript API. | https://youtubetranscript.dev |
| YTSM_TIMEOUT_MS | No | Request timeout in milliseconds. | 30000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| transcribe_v2 | POST /api/v2/transcribe. Fast caption-based transcript (no ASR). Use manual or auto captions only. |
| list_transcripts | GET /api/v1/history. List or search user transcripts. Use search to find by video id, title, or transcript content. |
| get_transcript | GET /api/v1/transcripts/{video_id}. Get full transcript for a video. |
| get_stats | Get stats: credits left, transcripts created, plan, rate limit. |
| delete_transcript | POST /api/v1/transcripts/bulk-delete. Delete transcripts by ids or by video_id. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |