yt-mcp-server
A Model Context Protocol (MCP) server built with mcp-framework.
Quick Start
Copy
Project Structure
Copy
Adding Components
The project comes with an example tool in src/tools/ExampleTool.ts
. You can add more tools using the CLI:
Copy
Tool Development
Example tool structure:
Copy
Publishing to npm
- Update your package.json:
- Ensure
name
is unique and follows npm naming conventions - Set appropriate
version
- Add
description
,author
,license
, etc. - Check
bin
points to the correct entry file
- Ensure
- Build and test locally:Copy
- Login to npm (create account if necessary):Copy
- Publish your package:Copy
After publishing, users can add it to their claude desktop client (read below) or run it with npx
Copy
After Publishing
Add this configuration to your Claude Desktop config file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Copy
Building and Testing
- Make changes to your tools
- Run
npm run build
to compile - The server will automatically load your tools on startup
Learn More
This server cannot be installed
A Model Context Protocol server that provides Claude with tools to interact with YouTube, built on the mcp-framework.