JL

jamesmontemagno/lunchroulettemcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

5 stars 5 forks 품질 51 트렌드 13

A Model Context Protocol (MCP) server for managing lunch restaurant choices and picking random restaurants.

개요

A Model Context Protocol (MCP) server for managing lunch restaurant choices and picking random restaurants. This server helps you decide where to eat lunch by maintaining a list of restaurants and tracking visit statistics. 1. - List all available restaurants 2. - Add a new restaurant to your choices 3. - Randomly select a restaurant for lunch 4. - View statistics about how often you've visited each restaurant The server comes pre-loaded with 10 trendy restaurants from the West Hollywood area: - - Oaxacan Mexican (3014 W Olympic Blvd) - - French Bistro (624 S La Brea Ave) - - Thai Street Food (9041 Sunset Blvd) - - Vegan Mexican (8905 Melrose Ave) - - Californian (113 N Robertson Blvd) - - Seafood (8715 Melrose Ave) - - Italian (8764 Melrose Ave) - - Global Comfort Food (8730 W Sunset Blvd) - - Mediterranean (8948 Santa Monica Blvd) - - American Contemporary (8826 Melrose Ave) - .NET 9.0 SDK or later - MCP-compatible client (VS Code with GitHub Copilot, Claude Desktop, etc.

README

원문 README의 일부입니다. 원문 보기.

Lunch Roulette MCP Server

A Model Context Protocol (MCP) server for managing lunch restaurant choices and picking random restaurants. This server helps you decide where to eat lunch by maintaining a list of restaurants and tracking visit statistics.

Features

Available Tools

  1. GetRestaurants - List all available restaurants
  2. AddRestaurant - Add a new restaurant to your choices
  3. PickRandomRestaurant - Randomly select a restaurant for lunch
  4. GetVisitStatistics - View statistics about how often you’ve visited each restaurant

Pre-loaded Restaurants

The server comes pre-loaded with 10 trendy restaurants from the West Hollywood area:

  • Guelaguetza - Oaxacan Mexican (3014 W Olympic Blvd)
  • Republique - French Bistro (624 S La Brea Ave)
  • Night + Market WeHo - Thai Street Food (9041 Sunset Blvd)
  • Gracias Madre - Vegan Mexican (8905 Melrose Ave)
  • The Ivy - Californian (113 N Robertson Blvd)
  • Catch LA - Seafood (8715 Melrose Ave)
  • Cecconi’s - Italian (8764 Melrose Ave)
  • Earls Kitchen + Bar - Global Comfort Food (8730 W Sunset Blvd)
  • Pump Restaurant - Mediterranean (8948 Santa Monica Blvd)
  • Craig’s - American Contemporary (8826 Melrose Ave)

Setup

Prerequisites

  • .NET 9.0 SDK or later
  • MCP-compatible client (VS Code with GitHub Copilot, Claude Desktop, etc.)

Building

dotnet build

Running

dotnet run

Configuration

VS Code with GitHub Copilot

Add this to your MCP settings:

{
    "inputs": [],
    "servers": {
        "lunchroulette": {
            "type": "stdio",
            "command": "dotnet",
            "args": [
                "run",
                "--project",
                "C:\\GitHub\\LunchRouletteMCP\\LunchTimeMCP\\LunchTimeMCP.csproj"
            ],
            "env": {}
        }
    }
}

Claude Desktop

Add this to your claude_desktop_config.json:

{
    "mcpServers": {
        "lunchroulette": {
            "command": "dotnet",
            "args": [
                "run",
                "--project",
                "C:\\GitHub\\LunchRouletteMCP\\LunchTimeMCP\\LunchTimeMCP.csproj"
            ]
        }
    }
}

Usage Examples

Getting All Restaurants

Use the GetRestaurants tool to see all available restaurants in your list.

Adding a New Restaurant

Use the AddRestaurant tool with parameters:

  • name: The name of the restaurant
  • location: The address or location
  • foodType: The type of cuisine (e.g., “Italian”, “Mexican”, “Thai”)

Picking a Random Restaurant

Use the PickRandomRestaurant tool to randomly select a restaurant for lunch. This will also increment the visit counter for that restaurant.

Checking Visit Statistics

Use the GetVisitStatistics tool to see:

  • How many times you’ve visited each restaurant
  • Total number of restaurants
  • Total number of visits
  • Restaurants sorted by visit frequency

Data Storage

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "lunchroulette": { "command": "dotnet", "args": [ "run", "--project", "C:\\GitHub\\LunchRouletteMCP\\LunchTimeMCP\\LunchTimeMCP.csproj" ] } } }