MCP-Hello-World logo

MCP-Hello-World

by ramazanaltintop

MCP-Hello-World is a basic .NET project demonstrating the use of Model Context Protocol. It includes instructions on how to build and run the project with the MCP Inspector to observe the application's output.

View on GitHub

Last updated: N/A

What is MCP-Hello-World?

MCP-Hello-World is a simple .NET application designed to introduce developers to the Model Context Protocol and its associated Inspector tool.

How to use MCP-Hello-World?

To use this project, first build it using dotnet build. Then, run it with the MCP Inspector using the command npx @modelcontextprotocol/inspector dotnet run. This allows you to observe the output of the application through the Inspector.

Key features of MCP-Hello-World

  • Demonstrates basic MCP usage

  • Provides a simple example for .NET

  • Includes instructions for using the MCP Inspector

  • Uses ModelContextProtocol NuGet package

Use cases of MCP-Hello-World

  • Learning MCP basics

  • Testing MCP Inspector

  • Starting point for MCP projects

  • Understanding .NET integration with MCP

FAQ from MCP-Hello-World

What is Model Context Protocol (MCP)?

MCP is a protocol for interacting with models.

What is the MCP Inspector?

The MCP Inspector is a tool for observing the output of applications using the Model Context Protocol.

What NuGet packages are used?

ModelContextProtocol and Microsoft.Extensions.Hosting are used.

How do I build the project?

Use the command dotnet build.

How do I run the project with the Inspector?

Use the command npx @modelcontextprotocol/inspector dotnet run.