meican-mcp

meican-mcp

美餐MCP服务器,支持查询餐次、餐厅、菜单和订单,以及下单和取消订单操作。

Category
Visit Server

README

meican-mcp

MCP Badge

美餐(Meican)MCP Server。支持查询餐次、餐厅、菜单、订单,以及下单和取消订单。

可用工具

工具 用途
meican_whoami 查询组织信息和取餐地址。
meican_list_meal_tabs 查询某天可用餐次。
meican_list_restaurants 查询某个餐次下可用餐厅。
meican_show_menu 查询某个餐厅在指定餐次下的菜单。
meican_list_orders 查询某天已有订单和未支付项目摘要。
meican_show_order 查询单个订单详情。
meican_place_order 下单。调用前必须向用户确认。
meican_cancel_order 取消订单。调用前必须向用户确认。

工具返回一个 MCP text content block,内容是 JSON 字符串:

{ "ok": true, "data": {} }

失败时:

{ "ok": false, "error": { "message": "...", "status": 400, "body": {}, "kind": "MeicanError" } }

如果返回 _rotation,说明 token 已刷新,客户端应在下一次调用前保存新的 access_tokenrefresh_token

快速使用

{
  "mcpServers": {
    "meican": {
      "command": "npx",
      "args": ["-y", "meican-mcp"],
      "env": {
        "MEICAN_CLIENT_ID": "...",
        "MEICAN_CLIENT_SECRET": "...",
        "MEICAN_ACCESS_TOKEN": "...",
        "MEICAN_REFRESH_TOKEN": "...",
        "MEICAN_NAMESPACE": "..."
      }
    }
  }
}

MEICAN_ACCESS_TOKEN 对应美餐的 cookie satMEICAN_REFRESH_TOKEN 对应美餐的 cookie srt

环境变量

变量 必填 说明
MEICAN_CLIENT_ID 美餐的 OAuth client id,去 Web 端找,或抓包。
MEICAN_CLIENT_SECRET 美餐的 OAuth client secret,去 Web 端找,或抓包。
MEICAN_ACCESS_TOKEN 美餐 sat cookie。不填的话在调用时传 access_token 也可。
MEICAN_REFRESH_TOKEN 美餐 srt cookie。不填的话在调用时传 refresh_token 也可。
MEICAN_NAMESPACE 默认组织/站点 namespace。也可以在工具调用参数里传。
MEICAN_API_BASE_URL 默认 https://www.meican.com/forward/api

HTTP 模式相关:

变量 必填 说明
MCP_API_KEY HTTP /mcp 的 Bearer token,随便生成一个,不带 token 的不允许调用。
BIND_HOST 默认 127.0.0.1。容器内通常用 0.0.0.0
PORT 默认 3000
LOG_LEVEL 默认 info。可选 debuginfowarnerror

HTTP 模式

npm install
cp .env.example .env
# 编辑 .env
npm run build
npm start

健康检查:

curl http://127.0.0.1:3000/healthz

HTTP MCP 配置示例:

{
  "mcpServers": {
    "meican": {
      "url": "http://127.0.0.1:3000/mcp",
      "headers": {
        "Authorization": "Bearer ${MCP_API_KEY}"
      }
    }
  }
}

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured