maoyan-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_hot_moviesB | 正在热映的电影列表(全国热映榜,不分城市)。 |
| get_coming_moviesB | 即将上映的电影列表(按城市)。city 可传城市名如“深圳”或编号如 30。 |
| search_moviesB | 按片名搜索电影。city 可传城市名如“深圳”或编号如 30。 |
| get_movie_detailA | 一部电影的详情:类型、导演、时长、评分、简介等。movie_id 来自搜索或热映列表。 |
| list_cinemasB | 某城市的影院列表,可按影院名/地址关键词筛选。day 为 YYYY-MM-DD,默认今天。 |
| get_cinema_showtimesB | 某影院的排片:场次时间、影厅、版本、语言。只覆盖今天起 3 天;售价为石墨字体加密,返回为空,影城卡价(如有)在 vip_price。 |
| search_performancesB | 某城市的热门演出列表(演唱会、话剧、音乐会等)。注意:这是猫眼按城市精选的热门榜,不是严格的本地演出表,个别条目可能是巡演项目、在其他城市开售,条目里的 on_sale_text 会注明。 |
| get_hot_performancesA | 热门演出列表(不指定关键词时用这个)。city 可传城市名或编号;返回的是按城市精选的热门榜,个别条目可能是巡演项目、在其他城市开售。 |
| get_performance_detailB | 演出详情:时间、城市、场馆、票价档、开售时间等,无需登录。item_id 来自热门演出列表。 |
| get_performance_ticketsB | 演出场次与票档:每场的时间、票档名、票面价/实售价、余票、限购。需要登录(import_cookie 后可用)。预售期走预选接口,已开售走场次+票档接口,两条都已实测;未登录会明确报错,不返回假数据。 |
| auth_statusB | 查看当前登录状态。 |
| import_cookieA | 导入登录 Cookie(后备登录方式):先在浏览器里登录大众点评(www.dianping.com)再取 .dianping.com 的 dper 值,如 dper=xxx——只登录猫眼演出拿不到它。验证通过后保存在本机 ~/.maoyan-mcp/auth.json(0600),不上传。 |
| logoutA | 退出登录:删除本机保存的登录凭证。 |
| send_sms_codeA | 【暂未实现】发送短信验证码。美团/大众点评登录需先过滑块验证,无法用纯接口完成,调用会明确返回不可用及替代方案。 |
| login_with_smsB | 【暂未实现】用短信验证码登录。原因同 send_sms_code:需先过滑块验证,无法用纯接口完成。 |
| damai_get_hot_performancesA | 大麦热门演出列表(演唱会、话剧、音乐会、体育等)。city 可传城市名如“深圳”——大麦的榜单是全国热门榜,城市筛选在本地按场馆城市做;小城市可能返回较少。category 可传“演唱会”“音乐会”“话剧歌剧”“舞蹈芭蕾”“曲苑杂坛”“体育”“展览休闲”或编号。 |
| damai_search_performancesA | 大麦按关键词搜演出(片名/艺人/场馆名)。注意:大麦没有可用的公开关键词搜索接口,本工具是在热门榜里筛选;如需查指定演出,请用演出编号调 damai_get_performance_detail。city 可传城市名,不传则全国。 |
| damai_get_performance_detailA | 大麦演出详情:时间、城市、场馆、票价区间、开售时间、艺人等,无需登录。item_id 来自大麦热门演出列表。 |
| damai_get_performance_ticketsA | 大麦演出场次与票档。诚实说明:大麦公开的 H5 详情接口目前不返回场次列表,且按场次查票档需要登录;本工具返回演出时间范围与票价区间,并说明场次不可用的原因,不编造场次。 |
| damai_auth_statusA | 查看大麦当前登录状态。 |
| damai_import_cookieA | 导入大麦登录 Cookie(后备登录方式):先在浏览器里登录大麦,再取 .damai.cn 的登录 Cookie 整串,如 cookie2=xxx; tb_token_=xxx(还可带 cna、t、damai.cn_user 等)。注意:大麦现在的登录里没有 SESSION 这个 Cookie。验证通过后保存在本机 ~/.maoyan-mcp/damai_auth.json(0600),不上传。注意:该登录验证尚未用真实登录测过,见 README。 |
| damai_logoutA | 退出大麦登录:删除本机保存的大麦登录凭证。 |
| damai_send_sms_codeA | 【暂未实现】大麦发送短信验证码。大麦登录是淘宝/支付宝账号体系,需先过滑块验证或 App 扫码,无法用纯接口完成,调用会明确返回不可用及替代方案。 |
| damai_login_with_smsB | 【暂未实现】大麦用短信验证码登录。原因同 damai_send_sms_code:需先过滑块验证或 App 扫码,无法用纯接口完成。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 24 tools
The maoyan vs damai_ prefixed tools are mostly separable, but the parallel performance tools (search_performances vs get_hot_performances, and the four damai equivalents) blur together, and search_performances is described as a hot list rather than a keyword search. Four tools are explicitly marked 【暂未实现】 (send_sms_code, login_with_sms, damai_send_sms_code, damai_login_with_sms), which are dead ends an agent may still pick. The login story (import_cookie vs SMS login vs auth_status) also has overlapping intent.
The verb_noun pattern is followed consistently (get_, list_, search_, import_, send_, login_with_), which is good. However, the namespace is asymmetric: damai tools carry a damai_ prefix while the equivalent Maoyan tools have no prefix, so identical concepts look like different families. The suffix naming (search_performances vs damai_search_performances) makes the pairing readable but not predictable.
24 tools is heavy for a read-only discovery server, and four of them are unimplemented stubs that consume slots without adding capability. The movie/cinema/performance/damai breakdown is logical, but trimming the non-functional auth tools would make the set much tighter.
Discovery coverage is solid for movies (hot, coming, search, detail, cinemas, showtimes) and performances (hot, search, detail, tickets) across both Maoyan and Damai. But the surface stops at browsing: no seat maps, no order/booking flow, and get_cinema_showtimes returns empty prices due to encryption, leaving a dead end. The auth lifecycle is half-finished since SMS login paths are declared unavailable.