yt-mcp-server
Overview
yt-mcp-server is a Model Context Protocol (MCP) server built with the mcp-framework, designed to facilitate the development and integration of various tools within a server environment.
To use yt-mcp-server, install the dependencies using npm install, build the project with npm run build, and configure it with your Claude Desktop client.
- Easy tool integration through a command-line interface. - Example tool provided for quick start. - Supports local development and publishing to npm.
- Developing custom tools for data processing.
- Integrating API clients for various services.
- Creating file handlers for specific file operations.
Add to your AI client
Use these steps to connect yt-mcp-server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"yt-mcp-server-xue160709": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yt-mcp-server-xue160709"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"yt-mcp-server-xue160709": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yt-mcp-server-xue160709"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"yt-mcp-server-xue160709": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yt-mcp-server-xue160709"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"yt-mcp-server-xue160709": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yt-mcp-server-xue160709"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"yt-mcp-server-xue160709": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yt-mcp-server-xue160709"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"yt-mcp-server-xue160709": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yt-mcp-server-xue160709"
]
}
}
}FAQ
How do I add a new tool?
Use the command `mcp add tool my-tool` to create a new tool.
Can I publish my tools?
Yes! After development, you can publish your tools to npm for others to use.
What is the project structure like?
The project includes a `src` directory with tools and an entry point for the server.