> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.ollang.com/llms.txt
> Use this file to discover all available pages before exploring further.

# YouTube

> Translate YouTube video transcripts and captions using Ollang MCP with YouTube data access.

# Ollang MCP + YouTube

<Warning>
  The YouTube MCP Server is a third-party project and is not developed, maintained, or affiliated with Ollang or YouTube. Please exercise caution when connecting to any third-party MCP server and review its source code and permissions before use.
</Warning>

Use a [YouTube MCP Server](https://github.com/ZubeidHendricks/youtube-mcp-server) alongside Ollang MCP to extract video transcripts and create translation orders for your YouTube content.

## Why YouTube + Ollang?

YouTube is the world's largest video platform. By connecting both MCP servers, your AI assistant can:

* Extract transcripts from any YouTube video
* Create subtitle and closed caption translation orders
* Prepare content for multilingual YouTube channels
* Order AI dubbing for YouTube videos

## Setup

<Tabs>
  <Tab title="Claude Desktop">
    ```json claude_desktop_config.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp"
        },
        "youtube": {
          "command": "npx",
          "args": ["-y", "zubeid-youtube-mcp-server"],
          "env": {
            "YOUTUBE_API_KEY": "your_youtube_api_key"
          }
        }
      }
    }
    ```
  </Tab>

  <Tab title="Claude Code">
    ```json .mcp.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "type": "sse",
          "url": "https://mcp.ollang.com/mcp"
        },
        "youtube": {
          "type": "stdio",
          "command": "npx",
          "args": ["-y", "zubeid-youtube-mcp-server"],
          "env": {
            "YOUTUBE_API_KEY": "${YOUTUBE_API_KEY}"
          }
        }
      }
    }
    ```
  </Tab>

  <Tab title="Cursor">
    ```json .cursor/mcp.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp"
        },
        "youtube": {
          "command": "npx",
          "args": ["-y", "zubeid-youtube-mcp-server"],
          "env": {
            "YOUTUBE_API_KEY": "your_youtube_api_key"
          }
        }
      }
    }
    ```
  </Tab>

  <Tab title="Devin">
    Add both servers in **Settings > Integrations > MCP Servers** in the Devin web app:

    ```json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp",
          "transport": "sse"
        },
        "youtube": {
          "command": "npx",
          "args": ["-y", "zubeid-youtube-mcp-server"],
          "env": {
            "YOUTUBE_API_KEY": "your_youtube_api_key"
          }
        }
      }
    }
    ```
  </Tab>

  <Tab title="Replit">
    ```json .replit-mcp.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp",
          "transport": "sse"
        },
        "youtube": {
          "command": "npx",
          "args": ["-y", "zubeid-youtube-mcp-server"],
          "env": {
            "YOUTUBE_API_KEY": "${YOUTUBE_API_KEY}"
          }
        }
      }
    }
    ```

    Store `YOUTUBE_API_KEY` as a Replit Secret.
  </Tab>

  <Tab title="Lovable">
    Add both servers via **Settings > Integrations > MCP Servers** in Lovable, or use a config file:

    ```json lovable.json theme={null}
    {
      "mcp": {
        "servers": {
          "ollang": {
            "url": "https://mcp.ollang.com/mcp",
            "transport": "sse"
          },
          "youtube": {
            "command": "npx",
            "args": ["-y", "zubeid-youtube-mcp-server"],
            "env": {
              "YOUTUBE_API_KEY": "${YOUTUBE_API_KEY}"
            }
          }
        }
      }
    }
    ```
  </Tab>
</Tabs>

<Info>
  Get a YouTube Data API v3 key from the [Google Cloud Console](https://console.cloud.google.com/apis/credentials). Enable the "YouTube Data API v3" in your project.
</Info>

## YouTube MCP Tools

| Tool                  | Description                              |
| --------------------- | ---------------------------------------- |
| `get_video_details`   | Get video metadata, statistics, and info |
| `get_transcript`      | Extract transcript with timestamps       |
| `search_videos`       | Search YouTube for videos                |
| `get_channel_info`    | Get channel details                      |
| `list_channel_videos` | List all videos from a channel           |
| `list_playlist_items` | List videos in a playlist                |

## Example Workflows

### Translate a YouTube video's captions

```
Get the transcript for this YouTube video: https://youtube.com/watch?v=XXXXX
Upload the transcript to Ollang and create subtitle translation orders
for Spanish, French, German, and Japanese.
```

### Localize an entire playlist

```
List all videos in my YouTube playlist "Product Tutorials". For each video,
extract the English transcript and create subtitle translation orders
in Ollang for Portuguese and Korean.
```

### Create AI dubbing from YouTube content

```
Get the details for my YouTube video "Company Overview". Upload the video
to Ollang using its URL and create AI dubbing orders for Spanish, French,
and Arabic.
```

<Warning>
  YouTube MCP servers provide read-only access to video data and transcripts. To upload translated captions back to YouTube, use the YouTube Studio or the YouTube Data API directly.
</Warning>
