mcp-apps
Provides tools to interact with the YouTube Data API, enabling video search by query, channel information retrieval (including stats and thumbnail), and fetching the latest video from a channel.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-appsget video details for 'React tutorial'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π MCP Apps in VS Code Insiders: Create and Run Your First App
Hey developer ππ»! This repo implements an MCP server with YouTube tools (get-video, get-channel, get-latest-video) and two MCP Apps (video-render, channel-profile) bundled with Vite into a single HTML file to display them in VS Code Insiders. Learn how to build, serve and consume MCP Apps β€οΈ
π Features
get-video: Searches for a video on YouTube by query and returns title, description and thumbnail (base64) with
video-renderUIget-channel: Gets channel info (stats, base64 thumbnail) and displays it with
channel-profileUIget-latest-video: Returns the latest video from a channel (used in
channel-profile)UI Apps:
video-render: Renders a video card with linkschannel-profile: Renders channel profile and shows the latest video
Related MCP server: youtube-mcp
π Requirements
Node.js 18+
npm or yarn
YouTube Data API v3 key (
YOUTUBE_API_KEY)
π οΈ Installation
# Clone the repository
git clone https://github.com/0GiS0/mcp-apps.git
cd mcp-apps
# Install dependencies
npm install
# Configure environment
cp .env-sample .env
# Edit .env and set your YOUTUBE_API_KEYποΈ Project Structure
src/
βββ server.ts # MCP Server with Express and YouTube tools
βββ services/
β βββ youtube.ts # YouTube Data API integration logic
βββ apps/
βββ channel-profile/ # Channel profile UI
β βββ index.html
β βββ app.ts
β βββ styles.css
βββ video-render/ # Video renderer UI
βββ index.html
βββ app.ts
βββ styles.cssπ§ Usage
Build the apps
npm run buildStart the MCP server
npm run serveThe server will start at http://localhost:3001/mcp
Configure in VS Code
Add the following configuration to your .vscode/mcp.json file:
{
"servers": {
"my-mcp-server": {
"url": "http://localhost:3001/mcp"
}
}
}π¦ Main Dependencies
@modelcontextprotocol/sdk- Model Context Protocol SDK@modelcontextprotocol/ext-apps- Extension for creating MCP Appsexpress- HTTP Servercors- CORS Middleware (runtime)vite+vite-plugin-singlefile- App bundling
π Follow Me on Social Media
If you liked this project and want to see more content like this, don't forget to subscribe to my YouTube channel and follow me on social media:
This server cannot be deployed
Maintenance
Related MCP Connectors
YouTube MCP β wraps the YouTube Data API v3 (BYO API key)
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
YouTube discovery, transcripts, library search, and monitors with API keys or OAuth.
Hosted MCP for YouTube Studio: uploads, metadata, playlists, comments, analytics, captions.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables YouTube content browsing, video searching, and metadata retrieval via the YouTube Data API v3. It also facilitates fetching video transcripts for summarization and analysis within MCP-compatible AI clients.719 npm1MIT
- AlicenseAqualityDmaintenanceEnables YouTube search, video details, channels, playlists, and comments scraping via MCP, no API key required.109 npm1MIT
- FlicenseAqualityDmaintenanceEnables interaction with YouTube's Data API through MCP, providing tools for channel info, videos, playlists, captions, subscriptions, and more.14-
- AlicenseNot gradedqualityAmaintenanceProvides read-only MCP tools to search YouTube, retrieve video metadata, transcripts, comments, channel information, and popular videos.3MIT