Skip to main content
Glama
For Five Coffee MCP Server

For Five Coffee MCP Server

by Kong

CI License Node.js Version

For Five Coffee MCP Server

A Model Context Protocol (MCP) server that provides access to For Five Coffee menu data. Works with Claude Desktop, Cursor, and other MCP clients, plus provides a REST API.

Quick Start

git clone https://github.com/Kong/for-five-mcp.git
cd for-five-mcp
npm install
npm start

This starts both:

  • MCP Server (stdio) - for AI assistants

  • HTTP API (port 3000) - for web apps

Related MCP server: @striderlabs/mcp-shakeshack

MCP Client Setup

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "for-five-coffee": {
      "command": "node",
      "args": ["/path/to/for-five-mcp/server.js"]
    }
  }
}

Cursor

Option 1: Let Cursor start the server Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "for-five-coffee": {
      "command": "node",
      "args": ["/path/to/for-five-mcp/server.js"],
      "env": {
        "PORT": "3000"
      }
    }
  }
}

Option 2: Connect to already running server If you're running npm start separately, add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "for-five-coffee": {
      "url": "http://localhost:3000/mcp",
      "transport": "http"
    }
  }
}

This connects Cursor to the running MCP server via HTTP JSON-RPC 2.0 transport.

Usage Examples

Ask Your AI Assistant

  • "What coffee drinks does For Five Coffee have?"

  • "Search for pastries on the menu"

  • "What's the cheapest coffee option?"

  • "Show me all tea varieties"

Use the HTTP API

# Get full menu
curl http://localhost:3000/api/menu

# Search for items
curl "http://localhost:3000/api/menu/search?q=latte"

# Get categories
curl http://localhost:3000/api/menu/categories

In Your Code

// Fetch menu data
const response = await fetch('http://localhost:3000/api/menu');
const menu = await response.json();

// Search items
const search = await fetch('http://localhost:3000/api/menu/search?q=coffee');
const results = await search.json();
import requests

# Get menu
menu = requests.get('http://localhost:3000/api/menu').json()

# Search
results = requests.get('http://localhost:3000/api/menu/search', 
                      params={'q': 'latte'}).json()

Available Endpoints

Endpoint

Description

GET /

Server info

GET /health

Health check

GET /api/menu

Full menu

GET /api/menu/search?q={query}

Search items

GET /api/menu/categories

All categories

GET /api/menu/category/{name}

Items by category

POST /mcp

MCP JSON-RPC 2.0 endpoint

MCP Tools

  • get_full_menu - Get complete menu

  • search_menu_items - Search by query

  • get_menu_categories - List categories

  • get_items_by_category - Filter by category

Development

npm run dev          # Start with auto-restart
npm test             # Run all tests
npm run test:unit    # Unit tests only
npm run test:http    # HTTP API tests only  
npm run test:mcp     # MCP transport tests only
npm run test:integration # Integration tests only
npm run lint         # Check code style

Troubleshooting

MCP not working?

  • Check the absolute path to server.js in your config

  • Restart your MCP client after config changes

  • Run npm start manually to test

HTTP API not responding?

  • Make sure server is running: npm start

  • Check port 3000 isn't in use: lsof -i :3000

  • Test: curl http://localhost:3000/health

No menu data?

  • Check internet connection

  • The server handles SSL issues automatically

  • Website structure may have changed (fallbacks included)

License

Apache 2.0

Available Tools

4 tools
get_full_menuB

Fetch the complete menu from For Five Coffee including all categories and items

Inputs: no named parameters.

get_items_by_categoryB

Get all menu items from a specific category

Inputs: category (required).

get_menu_categoriesB

Get all available menu categories

Inputs: no named parameters.

search_menu_itemsC

Search for specific menu items by name or category

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 4 tools

    Disambiguation4/5

    The tools are mostly distinct with clear purposes: get_full_menu retrieves everything, get_items_by_category filters by category, get_menu_categories lists categories only, and search_menu_items searches by name or category. However, get_items_by_category and search_menu_items could potentially overlap if searching by category, but their descriptions clarify the distinction—one lists all items in a category while the other searches within items.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case: get_full_menu, get_items_by_category, get_menu_categories, and search_menu_items. The verbs 'get' and 'search' are appropriately used and maintain a predictable naming convention throughout the set.

    Tool Count5/5

    With 4 tools, this server is well-scoped for a coffee shop menu domain. Each tool serves a distinct function in retrieving or filtering menu data, and the count is appropriate—not too sparse or bloated—for the apparent purpose of exploring a menu.

    Completeness4/5

    The tool set covers the core read operations for a menu: fetching the full menu, filtering by category, listing categories, and searching items. A minor gap is the lack of tools for updating or managing the menu (e.g., add_item, update_price), but as a read-only surface for menu exploration, it is reasonably complete.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      An MCP adapter that maps Coffee Company B2B HTTP APIs to MCP tools, allowing AI agents to query member information, benefits, coupons, and payment statuses. It enables seamless integration for AI assistants to manage coffee-related customer assets and loyalty details through natural language.
      10
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      This MCP server provides tools for interacting with Shake Shack restaurant data, including browsing menus, searching for items, and finding locations. It also enables users to access nutritional information, featured items, and ordering details through natural language.
      7
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language interaction with a coffee shop's inventory and order system, allowing users to check menu items, place orders, and track order status via MCP tools.
      -