mcp-apps
Enables interacting with YouTube Data API v3 through MCP tools (get-video, get-channel, get-latest-video) and bundled UI apps for video and channel profiles.
README
π MCP Apps in VS Code Insiders: Create and Run Your First App
<div align="center">
</div>
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 β€οΈ
<a href="https://youtu.be/AeaMNYddZTE"> <img src="https://img.youtube.com/vi/AeaMNYddZTE/maxresdefault.jpg" alt="π MCP Apps in VS Code Insiders: Create and Run Your First App" width="100%" /> </a>
π Features
- get-video: Searches for a video on YouTube by query and returns title, description and thumbnail (base64) with
video-renderUI - get-channel: Gets channel info (stats, base64 thumbnail) and displays it with
channel-profileUI - get-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
π 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 build
Start the MCP server
npm run serve
The 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:
<div align="center">
</div>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.