YouTube ConnectorSAFE
MCP server for YouTube — search videos, channels, playlists, and transcripts. Works with Claude, Cursor, Windsurf, and any MCP client.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://lobehub.com/mcp/shellydeng08-youtube-connector-mcp)
youtube-connector-mcp is a YouTube MCP Server / Connector that allows AI assistants like Claude, Cursor, Cline, Windsurf, Continue.dev, Grapes AI to interact with the YouTube Data API v3 via the Model Context Protocol (MCP).
🌐 Project Website: https://youtube-connector-mcp-website.vercel.app/ 📦 PyPI Package: https://pypi.org/project/youtube-connector-mcp/
Quick Start
# 1. Get your YouTube API Key from Google Cloud Console
# https://console.cloud.google.com/apis/credentials
# 2. Set your API key as environment variable
export YOUTUBE_API_KEY="your_api_key_here"
# 3. Install pipx first (if not installed)
brew install pipx # macOS
# or: apt install pipx # Ubuntu/Debian
# 4. Install the package
pipx install youtube-connector-mcp
# 5. Add the MCP server
claude mcp add youtube-connector-mcp youtube-connector-mcp -s user -e YOUTUBE_API_KEY="${YOUTUBE_API_KEY}"
# 6. Restart Claude Code and start using!Prerequisites
446a92e1f75bOBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add youtube-connector-mcp --env YOUTUBE_API_KEY=${YOUTUBE_API_KEY} --env YOUTUBE_API_KEY_TEST=${YOUTUBE_API_KEY_TEST} -- uvx youtube-connector-mcp{
"mcpServers": {
"youtube-connector-mcp": {
"command": "uvx",
"args": [
"youtube-connector-mcp"
],
"env": {
"YOUTUBE_API_KEY": "${YOUTUBE_API_KEY}",
"YOUTUBE_API_KEY_TEST": "${YOUTUBE_API_KEY_TEST}"
}
}
}
}Exposed tools (7)
7 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
youtube_get_channel | read | Get channel information |
youtube_get_comments | read | Get comments for a YouTube video |
youtube_get_playlist | read | Get playlist details and video list |
youtube_get_transcript | read | Get transcript/captions for a YouTube video |
youtube_get_video | read | Get detailed information about a YouTube video |
youtube_list_playlists | read | List playlists for a channel |
youtube_search | read | Search YouTube for videos, channels, or playlists |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (3)
mcp, google-api-python-client, pydantic, youtube-transcript-api
# Linux/Mac - Add to ~/.bashrc, ~/.zshrc, or ~/.profile
Gates applied: no_behavioural_pass, no_license.
446a92e1f75bfull audit observations/trust-audit/mcp-server/shellydeng08__youtube-connector.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 446a92e1f75b | SAFE | B | 89 | first audit |
Questions
What is the YouTube Connector MCP server?
MCP server for YouTube — search videos, channels, playlists, and transcripts. Works with Claude, Cursor, Windsurf, and any MCP client.
What tools does YouTube Connector expose?
7 in total: 7 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is YouTube Connector safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does YouTube Connector need?
It reads YOUTUBE_API_KEY and YOUTUBE_API_KEY_TEST from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does YouTube Connector run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as youtube-connector-mcp.
How current is this page?
The grade is for one exact copy of the source (446a92e1f75b), read on 2026-10-07. The repository is watched and re-audited when it changes.