The DeepSRT MCP server provides YouTube video summarization functionality by integrating with DeepSRT's API. This server follows the Model Context Protocol (MCP) standard, allowing AI assistants to generate summaries of YouTube videos in different languages and formats.
npm install
npm run build
macOS location:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows location:
%APPDATA%/Claude/claude_desktop_config.json
Add this configuration to your file:
{
"mcpServers": {
"deepsrt-mcp": {
"command": "node",
"args": [
"/path/to/deepsrt-mcp/build/index.js"
]
}
}
}
For Cline users, installation is much simpler. Just ask Cline in chat:
"Hey, install this MCP server for me from https://github.com/DeepSRT/deepsrt-mcp"
Cline will automatically install the server and update your cline_mcp_settings.json
.
This tool generates summaries for YouTube videos.
Parameters:
videoId
(required): The YouTube video IDlang
(optional): Language code for the summary (defaults to zh-tw)mode
(optional): Summary format - either "narrative" or "bullet" (defaults to narrative)Using with Claude Desktop:
const result = await mcp.use_tool("deepsrt-mcp", "get_summary", {
videoId: "dQw4w9WgXcQ",
lang: "zh-tw",
mode: "narrative"
});
Using with Cline:
const result = await mcp.use_tool("deepsrt", "get_summary", {
videoId: "dQw4w9WgXcQ",
lang: "zh-tw",
mode: "bullet"
});
For the server to work properly, videos need to be cached in DeepSRT's system:
If you receive a 404
error, it likely means the video hasn't been cached yet. To resolve this:
You can verify the cache status with cURL:
curl -s 'https://worker.deepsrt.com/transcript' \
-i --data '{"arg":"v=VafNvIcOs5w","action":"summarize","lang":"zh-tw","mode":"narrative"}' | grep -i "^cache-status"
If you see cache-status: HIT
, the content is properly cached and your MCP server should work correctly.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.