1. Conduid
  2. Commerce
  3. food402
MCP server · Commerce

food402

mcp service for ordering foods in Turkey

Unclaimed commerce
39Low

Scored 7 days ago · breakdown

About food402

food402 is an MCP server published by git+rersozlu in the Commerce category: mcp service for ordering foods in Turkey.

The repository has 13 stars and 0 forks.

Install

Install
npx food402
Claude Code
claude mcp add food402 -- npx -y food402
npx
npx -y food402

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (21)

add_addressAdd a new delivery address

Parameters not published.

add_to_basketAdd items to cart

Parameters not published.

checkout_readyGet basket ready for checkout with payment context

Parameters not published.

clear_basketClear entire cart

Parameters not published.

get_addressesGet user's saved delivery addresses

Parameters not published.

get_basketGet current cart contents

Parameters not published.

get_citiesGet list of all cities for address selection

Parameters not published.

get_districtsGet districts for a city

Parameters not published.

get_neighborhoodsGet neighborhoods for a district

Parameters not published.

get_order_detailGet detailed order info including delivery status

Parameters not published.

Show all 21 tools
get_ordersGet user's order history with status

Parameters not published.

get_product_detailsGet product customization options

Parameters not published.

get_product_recommendationsGet "goes well with" suggestions

Parameters not published.

get_restaurant_menuGet restaurant's full menu

Parameters not published.

get_restaurantsSearch restaurants near a location

Parameters not published.

get_saved_cardsGet user's saved payment cards (masked)

Parameters not published.

place_orderPlace order with 3D Secure (opens browser for verification)

Parameters not published.

remove_from_basketRemove item from cart

Parameters not published.

search_restaurantsSearch restaurants and products by keyword

Parameters not published.

select_addressSelect delivery address (must call before ordering)

Parameters not published.

set_order_noteSet order note and delivery preferences

Parameters not published.

Ask AI

✦

Ask AI about food402

Powered by Claude · Grounded in docs

I know everything about food402. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

Food402 MCP Server

npm version ClawHub

An MCP (Model Context Protocol) server that enables AI assistants to order food from TGO Yemek. Simply chat with your AI assistant to browse restaurants, build your order, and complete checkout. Works with Claude, ChatGPT (Developer Mode), and Codex CLI via MCP.


Clawdbot / OpenClaw (AgentSkills)

Food402 is also available as an AgentSkill on ClawHub for use with Clawdbot (OpenClaw), Claude Code, Cursor, Codex, Gemini CLI, and other AgentSkills-compatible tools.

Install via ClawHub:

clawhub install rersozlu/food402

Or manually: Copy the skill/ folder to ~/.openclaw/skills/food402/ and configure your credentials in ~/.openclaw/openclaw.json.


Local MCP Server (npm package)

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "food402": {
      "command": "npx",
      "args": ["-y", "food402"],
      "env": {
        "TGO_EMAIL": "your-email@example.com",
        "TGO_PASSWORD": "your-password",
        "GOOGLE_PLACES_API_KEY": "your-google-api-key"
      }
    }
  }
}

Replace credentials with your own. GOOGLE_PLACES_API_KEY is optional (see Optional Features).

Claude Code

For project-specific installation with Claude Code:

npm install food402

This automatically adds food402 to your .mcp.json. Open the file and update your credentials:

{
  "mcpServers": {
    "food402": {
      "command": "node",
      "args": ["./node_modules/food402/dist/src/index.js"],
      "env": {
        "TGO_EMAIL": "your-email@example.com",
        "TGO_PASSWORD": "your-password",
        "GOOGLE_PLACES_API_KEY": "your-google-api-key"
      }
    }
  }
}

GOOGLE_PLACES_API_KEY is optional (see Optional Features).

Codex CLI (Terminal)

Codex reads MCP servers from your global config at ~/.codex/config.toml.

Option A: Via CLI

codex mcp add food402 --env TGO_EMAIL=your-email@example.com --env TGO_PASSWORD=your-password --env GOOGLE_PLACES_API_KEY=your-google-api-key -- npx -y food402

Option B: Manual config

Add to ~/.codex/config.toml:

[mcp_servers.food402]
command = "npx"
args = ["-y", "food402"]

[mcp_servers.food402.env]
TGO_EMAIL = "your-email@example.com"
TGO_PASSWORD = "your-password"
GOOGLE_PLACES_API_KEY = "your-google-api-key"  # Optional

Prerequisites

Account Setup Required

Before using this MCP server, you must have a TGO Yemek account with:

  1. TGO Yemek account - Create one at tgoyemek.com if you don't have one
  2. Payment card saved to your account - The checkout process requires a saved card; you cannot enter card details during ordering
  3. At least one delivery address saved (recommended) - You can add addresses through the MCP, but having one pre-configured makes ordering faster

Quick Start: Ordering Flow

Here's the typical workflow when ordering food through the AI assistant:

1. Select Delivery Address

"Show me my saved addresses"
"Select my home address for delivery"

2. Find Restaurants

"What restaurants are near me?"
"Search for pizza restaurants"
"Find places that serve lahmacun"

3. Browse Menu & Add Items

"Show me the menu for [restaurant name]"
"Add 2 lahmacun to my cart"
"What customization options are available for this item?"

4. Review & Checkout

"Show me my basket"
"Remove the drink from my order"
"I'm ready to checkout"

5. Place Order

"Place my order using my saved card"

Note: A browser window will open for 3D Secure verification. Complete the verification to finalize your order.

6. Track Order

"What's the status of my order?"
"Show me my recent orders"

Available Tools

Tool Description Parameters
get_addresses Get user's saved delivery addresses None
select_address Select delivery address (must call before ordering) addressId
get_restaurants Search restaurants near a location latitude, longitude, page?
search_restaurants Search restaurants and products by keyword searchQuery, latitude, longitude, page?
get_restaurant_menu Get restaurant's full menu restaurantId, latitude, longitude
get_product_details Get product customization options restaurantId, productId, latitude, longitude
get_product_recommendations Get "goes well with" suggestions restaurantId, productIds[]
add_to_basket Add items to cart storeId, items[], latitude, longitude, etc.
get_basket Get current cart contents None
remove_from_basket Remove item from cart itemId
clear_basket Clear entire cart None
get_cities Get list of all cities for address selection None
get_districts Get districts for a city cityId
get_neighborhoods Get neighborhoods for a district districtId
add_address Add a new delivery address name, surname, phone, addressName, addressLine, cityId, districtId, neighborhoodId, latitude, longitude, etc.
get_saved_cards Get user's saved payment cards (masked) None
checkout_ready Get basket ready for checkout with payment context None
set_order_note Set order note and delivery preferences note?, noServiceWare?, contactlessDelivery?, dontRingBell?
place_order Place order with 3D Secure (opens browser for verification) cardId
get_orders Get user's order history with status page?
get_order_detail Get detailed order info including delivery status orderId

Optional Features

Google Reviews Integration

The get_google_reviews tool allows you to fetch Google Reviews for restaurants, enabling comparison between TGO ratings and Google ratings. This feature is optional and requires a Google Places API key.

To enable Google Reviews:

  1. Get a Google Places API key from the Google Cloud Console
  2. Enable BOTH APIs for your project (both are required):
    • Places API (New) - Used for text search to find restaurants
    • Places API - Used for fetching place details and reviews
  3. Add the key to your MCP server configuration:
{
  "mcpServers": {
    "food402": {
      "command": "npx",
      "args": ["-y", "food402"],
      "env": {
        "TGO_EMAIL": "your-email@example.com",
        "TGO_PASSWORD": "your-password",
        "GOOGLE_PLACES_API_KEY": "your-google-api-key"
      }
    }
  }
}

Without the API key: The tool will return a helpful message indicating the feature is unavailable but won't cause any errors. The rest of the food ordering functionality works normally without it.


Development

Repository Structure

food402/
├── src/                    # MCP server (stdio transport)
│   ├── index.ts            # MCP entry point with tool definitions
│   ├── auth.ts             # TGO auth with token caching
│   ├── api.ts              # Thin wrapper around shared/api.ts
│   └── postinstall.ts      # Auto-configures .mcp.json on npm install
├── shared/                 # Shared API code
│   ├── api.ts              # Token-parameterized TGO API functions
│   └── types.ts            # TypeScript interfaces
├── test/                   # Test suite
│   ├── integration/        # API integration tests
│   ├── security/           # Security validation tests
│   └── setup/              # Test utilities and fixtures
├── package.json            # Root package (npm: food402)
├── README.md
└── CLAUDE.md

Local Server Development

# Install dependencies
npm install

# Run in development mode
npm start

# Build TypeScript
npm run build

Testing

The project includes integration tests and security tests using Vitest.

# Run all tests
npm test

# Run security tests only
npm run test:security

# Run tests with coverage
npm run test:coverage

Setup for tests:

  1. Copy test/.env.test.example to test/.env.test
  2. Add your TGO credentials to test/.env.test
  3. Run npm test

Tests cover:

  • Address management (cities, districts, neighborhoods)
  • Restaurant discovery and menu browsing
  • Basket/cart operations
  • Payment card retrieval and checkout readiness
  • Order history
  • Security checks for credential handling

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About food402

How do I install food402?

Run npx food402, then add the server to your MCP client's configuration.

Is food402 safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is food402 still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.