mcp-apps

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.

Category
Visit Server

README

πŸš€ MCP Apps in VS Code Insiders: Create and Run Your First App

<div align="center">

YouTube Channel Subscribers GitHub followers LinkedIn Follow X Follow

πŸ‡ͺπŸ‡Έ Leer en espaΓ±ol

</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-render UI
  • get-channel: Gets channel info (stats, base64 thumbnail) and displays it with channel-profile UI
  • get-latest-video: Returns the latest video from a channel (used in channel-profile)
  • UI Apps:
    • video-render: Renders a video card with links
    • channel-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 Apps
  • express - HTTP Server
  • cors - 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">

YouTube Channel Subscribers GitHub followers LinkedIn Follow X Follow

</div>

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured