Skip to main content
Glama
cxOrz

meican-mcp

by cxOrz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNo默认3000
BIND_HOSTNo默认127.0.0.1
LOG_LEVELNo默认info
MCP_API_KEYNoHTTP /mcp 的Bearer token
MEICAN_CLIENT_IDNo美餐的OAuth client id
MEICAN_NAMESPACENo默认组织/站点 namespace
MEICAN_ACCESS_TOKENNo美餐sat cookie
MEICAN_API_BASE_URLNo默认 https://www.meican.com/forward/api
MEICAN_CLIENT_SECRETNo美餐的OAuth client secret
MEICAN_REFRESH_TOKENNo美餐srt cookie

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
meican_whoamiA

Look up the current user's organization info and ALL delivery addresses on Meican. Call this once per user to discover their suggested_default_address (= most recently used pickup point); store the returned unique_id on the user's profile and pass it as address_unique_id to meican_place_order.

meican_list_meal_tabsA

List meal sessions ('餐次', e.g. 午餐, 晚餐) available for a given date. Each tab has a tab_unique_id and a target_time (the order deadline as 'YYYY-MM-DD HH:MM') which you pass verbatim to subsequent tools. Use this FIRST when the user wants to order or view orders for a day. If existing_order is non-null for a tab, the user has already ordered from it — surface that instead of placing a duplicate.

meican_list_restaurantsA

List restaurants serving in one meal session. Returns each restaurant's unique_id and name. Get the args from meican_list_meal_tabs.

meican_show_menuA

Show one restaurant's full menu for a meal session. Returns dishes grouped by section. You need dish_id values from here to place an order.

meican_list_ordersA

List the current user's existing Meican orders for a date plus any unpaid items. Call this BEFORE meican_place_order to avoid duplicates.

meican_show_orderA

Show full status of one order by its uniqueId, including pickup location, current pay status, and dishes. Use after placing an order to confirm it succeeded (expect status_info='NEW_ORDER', pay_status='SUCCESS').

meican_place_orderA

Place a meal order. DESTRUCTIVE: this may charge the user or consume an organization subsidy. ALWAYS confirm dish names, counts, total price, target time, and pickup address with the user BEFORE calling this. Set dry_run: true first to inspect the payload without submitting.

meican_cancel_orderA

Cancel a meal order. DESTRUCTIVE: this removes the order. ALWAYS confirm with the user before calling.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cxOrz/meican-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server