McpServerYouTubeDemo
MCP server from dracan/McpServerYouTubeDemo
claude mcp add --transport stdio dracan-mcpserveryoutubedemo dotnet run --project McpServerYouTubeDemo/McpServerYouTubeDemo.csproj -c Release
How to use
This MCP server is a .NET-based demonstration that accompanies the YouTube demo accompanying the Nick Chapsas video. It serves as a minimal MCP server you can run locally to explore the MCP protocol flow and integrate with a client that consumes the MCP interface. The client-side portion (ExampleClientApplication) can require an OpenAI API key if you want to experiment with AI-powered responses; if so, set the OpenAI key using the .NET user secrets mechanism as shown in the prerequisites. To use, first run the server locally so it is accessible to your MCP clients, then configure your MCP client to connect to the running server and exercise its endpoints as demonstrated by the ExampleClientApplication in the repository.
How to install
Prerequisites:
- .NET 9 SDK installed (https://dotnet.microsoft.com/en-us/download/dotnet/9.0)
- A development environment such as VSCode or Visual Studio
Installation steps:
- Clone the repository containing the MCP server: git clone <repository-url>
- Navigate to the server project directory: cd McpServerYouTubeDemo
- Restore and build the solution: dotnet restore dotnet build -c Release
- Run the MCP server (as described below in how_to_use): dotnet run --project McpServerYouTubeDemo/McpServerYouTubeDemo.csproj -c Release
- If you plan to use the client-side consumer, follow the README prerequisites to obtain an OpenAI API key and set it via dotnet user-secrets in the ExampleClientApplication project: cd ExampleClientApplication dotnet user-secrets set OpenAiApiKey <your-key>
Additional notes
Tips and notes:
- Ensure you have built the solution before adding it to VSCode as an MCP server; the MCP installation command in tutorials often uses --no-build, so a pre-build is required.
- If you encounter issues when running the MCP server inside GitHub Copilot, check the VSCode Output panel (mcp.json -> More -> Show Output) for warnings or errors.
- The client-side OpenAI key is only required if you are using the ExampleClientApplication to interact with OpenAI; otherwise the server runs without this dependency.
- The README mentions the YouTube demo; use this server to validate MCP client compatibility and basic request/response flows in a local environment.
Related MCP Servers
mssql
MSSQL Server MCP implementation written in C#
McpDotNet.Extensions.SemanticKernel
Microsoft SemanticKernel integration for the Model Context Protocol (MCP). Enables seamless use of MCP tools as AI functions.
DatabaseMcpServer
MCP server from ttcc666/DatabaseMcpServer
mcp-dataverse
MCP Server for querying Dataverse using SQL
xperience-community
ASP.NET Core MCP server for Xperience by Kentico projects
console-to-http
Example of converting a stdio MCP server to HTTP using ModelContextProtocol.AspNetCore