0xchamin/mcptube
Transform YouTube videos into a compounding knowledge base with transcripts, vision analysis, and agentic search. Works as an MCP server for Claude, Copilot & more.
e619bc1c0ab4mcptube0.2.1 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 28 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 21 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
get_frame_dataNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files1 tool · get_frame_data
Not all three are present in the tools the scanner traced.
Tool annotations
21 of 21 tools declare annotations. readOnlyHint 18, destructiveHint 1.
list_videosreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirget_inforeadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirwiki_listreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirwiki_showreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirwiki_searchreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirwiki_tocreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirwiki_askreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirwiki_historyreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirget_framereadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirget_frame_by_queryreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirget_frame_datareadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirclassify_videoreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirgenerate_reportreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirgenerate_report_from_queryreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirsynthesizereadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirask_videoreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdirask_videosreadOnlyHint is true, and the code writes files: self.data_dir.mkdir; readOnlyHint is true, and the code writes files: self.frames_dir.mkdir
Tools, prompts and resources (21: 21 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
add_videotool Ingest a YouTube video and build wiki knowledge pages.
Ingest a YouTube video and build wiki knowledge pages.
Args:
url: YouTube video URL (supports youtube.com/watch, youtu.be, /embed/).
text_only: If True, skip vision frame analysis (cheaper, faster).ask_videotool Ask a question about a single video's content.read-only (declared)
Ask a question about a single video's content.
Args:
video_id: YouTube video ID.
question: Question to ask about the video.ask_videostool Ask a question across multiple videos.read-only (declared)
Ask a question across multiple videos.
Args:
video_ids: List of YouTube video IDs.
question: Question to ask across the videos.classify_videotool Get metadata for classification — YOU classify it.read-only (declared)
Get metadata for classification — YOU classify it.
Args:
video_id: The YouTube video ID.discover_videostool Search YouTube for videos on a topic.read-only (declared)
Search YouTube for videos on a topic.
Results are NOT in the library — use add_video to ingest them.
Args:
topic: Topic to search for.generate_reporttool Get data to generate an illustrated report for a video.read-only (declared)
Get data to generate an illustrated report for a video.
Args:
video_id: YouTube video ID.
query: Optional focus query to guide the report.generate_report_from_querytool Search the library and return data for a cross-video report.read-only (declared)
Search the library and return data for a cross-video report.
Args:
query: Topic or question to build the report around.
tags: Optional tag filter.get_frametool Extract a frame from a video at a specific timestamp.read-only (declared)
Extract a frame from a video at a specific timestamp.
Returns the frame as an image rendered inline in chat.
Args:
video_id: YouTube video ID.
timestamp: Time in seconds to extract the frame at.get_frame_by_querytool Search a video's transcript and extract a frame at the best matching moment.read-only (declared)
Search a video's transcript and extract a frame at the best matching moment.
Args:
video_id: YouTube video ID.
query: Natural language description of the moment to capture.get_frame_datatool Extract a frame and return as base64 for embedding in reports.Filesoutside textread-only (declared)
Extract a frame and return as base64 for embedding in reports.
WARNING: Base64 responses can be very large. Prefer get_frame() for display.
Args:
video_id: YouTube video ID.
timestamp: Time in seconds.get_infotool Get full details for a video including transcript and chapters.read-only (declared)
Get full details for a video including transcript and chapters.
Args:
video_id: The YouTube video ID (11-character string).list_videostool List all videos in the library.read-only (declared)
List all videos in the library.
Returns metadata for each video (title, channel, duration, tags).remove_videotool Remove a video from the library and clean wiki references.destructive (declared)
Remove a video from the library and clean wiki references.
Args:
video_id: The YouTube video ID to remove.save_tagstool Save classification tags for a video.
Save classification tags for a video.
Args:
video_id: YouTube video ID.
tags: List of classification tags to save.synthesizetool Get data for cross-video synthesis on a topic.read-only (declared)
Get data for cross-video synthesis on a topic.
Args:
video_ids: List of YouTube video IDs to synthesize.
topic: Focus topic for synthesis.wiki_asktool Ask a question — answered via agentic wiki retrieval.read-only (declared)
Ask a question — answered via agentic wiki retrieval.
Uses hybrid retrieval: FTS5 narrows to candidate pages,
then returns the context for the MCP client's model to reason over.
No API key required — the client model does the reasoning.
Args:
question: Natural language question about your video library.wiki_historytool View version history for a wiki page.read-only (declared)
View version history for a wiki page.
Args:
slug: Wiki page slug identifier.wiki_listtool Browse wiki pages with optional filtering.read-only (declared)
Browse wiki pages with optional filtering.
Args:
page_type: Filter by type: "video", "entity", "topic", or "concept".
tag: Filter by tag (e.g. "AI", "machine-learning").wiki_searchtool Full-text search across all wiki pages.read-only (declared)
Full-text search across all wiki pages.
Args:
query: Search query string.
limit: Maximum number of results (default 10).wiki_showtool Read a specific wiki page in full.read-only (declared)
Read a specific wiki page in full.
Args:
slug: Wiki page slug identifier (e.g. "entity-andrej-karpathy").wiki_toctool Get the wiki table of contents.read-only (declared)
Get the wiki table of contents.
Returns a compact summary of all wiki pages — titles, types,
tags, and short descriptions. Useful to understand what knowledge
is available before querying.Text the model reads (21)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
add_video tool
Ingest a YouTube video and build wiki knowledge pages.
Args:
url: YouTube video URL (supports youtube.com/watch, youtu.be, /embed/).
text_only: If True, skip vision frame analysis (cheaper, faster).list_videos tool
List all videos in the library.
Returns metadata for each video (title, channel, duration, tags).get_info tool
Get full details for a video including transcript and chapters.
Args:
video_id: The YouTube video ID (11-character string).remove_video tool
Remove a video from the library and clean wiki references.
Args:
video_id: The YouTube video ID to remove.wiki_list tool
Browse wiki pages with optional filtering.
Args:
page_type: Filter by type: "video", "entity", "topic", or "concept".
tag: Filter by tag (e.g. "AI", "machine-learning").wiki_show tool
Read a specific wiki page in full.
Args:
slug: Wiki page slug identifier (e.g. "entity-andrej-karpathy").wiki_search tool
Full-text search across all wiki pages.
Args:
query: Search query string.
limit: Maximum number of results (default 10).wiki_toc tool
Get the wiki table of contents.
Returns a compact summary of all wiki pages — titles, types,
tags, and short descriptions. Useful to understand what knowledge
is available before querying.wiki_ask tool
Ask a question — answered via agentic wiki retrieval.
Uses hybrid retrieval: FTS5 narrows to candidate pages,
then returns the context for the MCP client's model to reason over.
No API key required — the client model does the reasoning.
Args:
question: Natural language question about your video library.wiki_history tool
View version history for a wiki page.
Args:
slug: Wiki page slug identifier.get_frame tool
Extract a frame from a video at a specific timestamp.
Returns the frame as an image rendered inline in chat.
Args:
video_id: YouTube video ID.
timestamp: Time in seconds to extract the frame at.get_frame_by_query tool
Search a video's transcript and extract a frame at the best matching moment.
Args:
video_id: YouTube video ID.
query: Natural language description of the moment to capture.get_frame_data tool
Extract a frame and return as base64 for embedding in reports.
WARNING: Base64 responses can be very large. Prefer get_frame() for display.
Args:
video_id: YouTube video ID.
timestamp: Time in seconds.classify_video tool
Get metadata for classification — YOU classify it.
Args:
video_id: The YouTube video ID.save_tags tool
Save classification tags for a video.
Args:
video_id: YouTube video ID.
tags: List of classification tags to save.generate_report tool
Get data to generate an illustrated report for a video.
Args:
video_id: YouTube video ID.
query: Optional focus query to guide the report.generate_report_from_query tool
Search the library and return data for a cross-video report.
Args:
query: Topic or question to build the report around.
tags: Optional tag filter.discover_videos tool
Search YouTube for videos on a topic.
Results are NOT in the library — use add_video to ingest them.
Args:
topic: Topic to search for.synthesize tool
Get data for cross-video synthesis on a topic.
Args:
video_ids: List of YouTube video IDs to synthesize.
topic: Focus topic for synthesis.ask_video tool
Ask a question about a single video's content.
Args:
video_id: YouTube video ID.
question: Question to ask about the video.ask_videos tool
Ask a question across multiple videos.
Args:
video_ids: List of YouTube video IDs.
question: Question to ask across the videos.What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 21 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 21 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 21 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 21 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 21 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 21 capabilities; 21 more call code the scanner could not follow, where it may happen
- Tools that touch files1 of 21 capabilities touch files; 20 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 21 capabilities; 21 more call code the scanner could not follow, where it may happen
Where the code is: 21 handlers in 1 file at commit e619bc1c0ab4
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSVNothing could be resolved to exact versions; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK versionfastmcp >=3.0,<4.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 21 capabilities; 21 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp >=3.0,<4.0 |
| Servers in the code | 1 (mcptube) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-04-13 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | not stated |
| Created | 2026-02-28 |
| Topics | ai claude codex gemini mcp mcp-server youtube |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.