Skip to content
← All MCP servers

Is the YouTube MCP server safe? What it can reach

What the YouTube MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Community serverChecked

YouTube has no official MCP server, so this page covers ZubeidHendricks/youtube-mcp-server, a community server with about 600 stars. It runs locally with a YouTube Data API key and its ten tools only read videos, channels, playlists and transcripts. The main risks are the API key and the Docker image, which can bake the key in and listens on all interfaces.

Who maintains it

ImplementationKindStatus
ZubeidHendricks/youtube-mcp-server (community, npm zubeid-youtube-mcp-server)Communityactive
eat-pray-ai/yutu (community, yutu mcp, can also upload and delete)Communityactive

It runs as a local process on your machine.

How it signs in

A YouTube Data API key in YOUTUBE_API_KEY, with optional fallback keys. There is no user sign-in, so it reads public data only. The server retries with the next key when one runs out of quota.

What its tools can do

KindTools
Readvideos_getVideo, videos_searchVideos, transcripts_getTranscript, channels_getChannel, channels_getChannels, channels_searchChannels, channels_findCreators, channels_listVideos, playlists_getPlaylist, playlists_getPlaylistItems
Writenone documented
Can’t be undonenone documented

The README does not say outright that the tools are read-only. Every tool name and description is a get, search or list. The yutu server is a different project: it signs in with OAuth, and its docs say it can create, update and delete YouTube content, but they do not list its MCP tool names.

Built-in limits

OptionWhat it does
API key onlyWith a Data API key and no OAuth sign-in, the server has no way to post or delete on a channel.
Key restrictions in Google CloudYou can limit the key to the YouTube Data API v3 in the Google Cloud console. The README does not cover this.
TransportLocal stdio is the default for npx. The Docker image defaults to HTTP on port 8088 bound to 0.0.0.0, with no authentication described.

The risks

  • Video titles, descriptions and transcripts are written by strangers, so an injected instruction in a transcript could steer the agent toward other tools you have connected.
  • The Docker build copies .env into the image, so anyone who gets the image gets your API key.
  • The Docker default listens on all interfaces with no auth, so anyone on your network could spend your daily API quota.
  • Fallback keys mean one runaway session can drain the quota on every key you set.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add --env YOUTUBE_API_KEY=... youtube -- npx -y zubeid-youtube-mcp-server

Claude Code names MCP tools mcp__youtube__<tool>. Once you know the tool names, deny the ones you won’t use and set the rest to ask in .claude/settings.json.

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.youtube]
command = "npx"
args = ["-y", "zubeid-youtube-mcp-server"]
env_vars = ["YOUTUBE_API_KEY"]

Checklist

  • Use a key restricted to the YouTube Data API v3.
  • Do not bake .env into a Docker image, and bind the port to 127.0.0.1.
  • Set a daily quota cap in Google Cloud.
  • Treat transcripts and descriptions as untrusted text.

Checked against the vendor documentation on November 25, 2026. youtube-mcp-server README · yutu README

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing