SValanju/LunchTimeMCP
If you are the rightful owner of LunchTimeMCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
LunchTimeMCP is a .NET 9 server application designed to assist teams in deciding where to go for lunch by managing restaurant options and visit statistics.
LunchTimeMCP
LunchTimeMCP is a .NET 9 server application designed to help teams decide where to go for lunch. It allows users to add restaurants, view available options, pick a random restaurant, and track visit statistics.
Features
- Add new restaurants with cuisine type and location
- List all available restaurants
- Pick a random restaurant for lunch
- View visit statistics for each restaurant
Prerequisites
- .NET 9 SDK
- ModelContextProtocol --prerelease (NuGet package)
- Microsoft.Extensions.Hosting (NuGet package)
Configuration & Setup
-
Clone the repository
git clone https://github.com/SValanju/LunchTimeMCP.git cd LunchTimeMCP -
Restore dependencies
dotnet restore -
Build the project
dotnet build --configuration Release
Using with GitHub Copilot Agent Mode
To use this MCP app in GitHub Copilot agent mode:
- Ensure the
.mcp.jsonfile is present in the root folder of your project. This file configures the MCP server for Copilot agent integration. - Open GitHub Copilot chat in your development environment.
- Switch to Agent Mode in Copilot chat.
- In the tools section, select your project name (e.g., LunchTimeMCP) to connect the agent to your MCP server.
- Ask the Copilot agent to perform actions like adding restaurants, listing options, or picking a random restaurant.
Refer to the Copilot agent documentation for details on agent mode setup and integration.
Using with ModelContextProtocol/Inspector
To use LunchTimeMCP with ModelContextProtocol/Inspector:
1. Install Inspector
Install the Inspector tool (refer to the official documentation for platform-specific instructions). Available as a node package, use:
npm install -g @modelcontextprotocol/inspector
2. Launch Inspector
Start the Inspector tool by running:
npx @modelcontextprotocol/inspector dotnet run
3. Use Inspector
- Once the Inspector is running, it will provide an interactive interface.
- Click on Connect to start a session with the MCP server.
- Once connected, you can interact with the MCP server using the Inspector's UI.
Refer to the Inspector documentation for advanced usage and troubleshooting.