- Explore MCP Servers
- McpClientServerDemo
Mcpclientserverdemo
What is Mcpclientserverdemo
McpClientServerDemo is a simple demonstration of an MCP Server and Client, utilizing a configuration file named mcp.json that resembles VSCode’s settings.json.
Use cases
Use cases include extracting subtitles from YouTube videos, retrieving stock prices, accessing financial data, and solving simple calculations, making it a versatile tool for developers and researchers.
How to use
To use McpClientServerDemo, run the server application which defines various MCP services, and then use the client console application to consume these services by sending requests as specified in the mcp.json configuration.
Key features
Key features include a minimal API server built with ASP.NET, support for Server-Sent Events (SSE), and the ability to extract YouTube subtitles and access various public cloud MCP services like Yahoo Finance, Airbnb, and Hacker News.
Where to use
McpClientServerDemo can be used in educational settings for demonstrating MCP concepts, in software development for testing MCP integrations, and in research for exploring data extraction from various online services.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcpclientserverdemo
McpClientServerDemo is a simple demonstration of an MCP Server and Client, utilizing a configuration file named mcp.json that resembles VSCode’s settings.json.
Use cases
Use cases include extracting subtitles from YouTube videos, retrieving stock prices, accessing financial data, and solving simple calculations, making it a versatile tool for developers and researchers.
How to use
To use McpClientServerDemo, run the server application which defines various MCP services, and then use the client console application to consume these services by sending requests as specified in the mcp.json configuration.
Key features
Key features include a minimal API server built with ASP.NET, support for Server-Sent Events (SSE), and the ability to extract YouTube subtitles and access various public cloud MCP services like Yahoo Finance, Airbnb, and Hacker News.
Where to use
McpClientServerDemo can be used in educational settings for demonstrating MCP concepts, in software development for testing MCP integrations, and in research for exploring data extraction from various online services.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
McpClientServerDemo
A simple MCP Server & Client example with mcp.json config.
The mcp.json roughly matches VSCode’s settings.json, so in theory it can just import VSCode’s settings.
Server (aspnet Minimal API, SSE) defines the following MCP servers:
- Youtube subtitles extractor
Client (Console app, OpenAI client) consumes the following MCP servers defined in mcp.json:
- Youtube subtitles extractor ^
- Yahoo Finance server
- Airbnb server
- Hacker News
- Simple Calculator
(just a bunch of random public cloud MCP servers for the demo purposes)
Prompt example:
Short explanation of the problem described in this video https://www.youtube.com/watch?v=iSNsgj1OCLA. Also, print the current price of MSFT stock
Answer:
** calling func ExtractYoutubeSubtitles(...) ** ** calling func get_ticker_info(...) ** Short explanation of the problem in the video: The video describes the "100 prisoners problem," a counterintuitive logic puzzle. There are 100 prisoners, each numbered 1 to 100, and 100 boxes, each hiding a slip with a unique prisoner number. Each prisoner, one at a time, can open up to 50 boxes to find their own number. If all prisoners succeed, they go free; if even one fails, all are executed. If they choose boxes randomly, the chance of everyone surviving is astronomically small. However, using a clever strategy-each prisoner following a chain by starting at the box with their own number and always moving to the box whose number is on the slip they find-the probability of all surviving rises to about 31%. The catch: it relies on the arrangement of numbered loops in the boxes, and the math behind it is strikingly unintuitive. Current price of MSFT stock: Microsoft Corporation (MSFT) is currently trading at $449.26 USD.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










