nomadro/apps/miniprogram/weapp/ai-pkg/socialSkill/mcp.json
Eric ffa456afdf Ship social join profile + SeaweedFS avatars, notify/coffee, and .com audience stack.
Pay-then-profile join desk with live card, S3 upload fallback, hydration-safe drafts; document on test9 README.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-04 02:25:05 +08:00

210 lines
6.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"apis": [
{
"name": "joinSocialCommunity",
"description": "加入游民社区(加群收费,微信虚拟支付)。与 VIP 会员、community 付费体系不同。返回加群说明与接力到支付页。对齐公开 API GET /api/public/v1/social/join。",
"_meta": {
"ui": {
"componentPath": "components/join-card/index",
"pagePath": "/pages/social/index"
},
"http": { "method": "GET", "path": "/api/public/v1/social/join" }
},
"inputSchema": {
"type": "object",
"properties": {
"email": {
"type": "string",
"description": "用户邮箱,用于账号识别。可空,接力页再填。"
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"title": { "type": "string" },
"priceLabel": { "type": "string" },
"isMember": { "type": "boolean" },
"pagePath": {
"type": "string",
"format": "page-link",
"x-link-text-field": "linkText"
},
"linkText": { "type": "string" }
}
}
},
{
"name": "listMeetupRooms",
"description": "列出可开语音/视频的线上见面场次。对齐 GET /api/public/v1/social/meetups。",
"_meta": {
"ui": {
"componentPath": "components/meetup-list/index",
"pagePath": "/pages/social/meetup/index"
},
"http": { "method": "GET", "path": "/api/public/v1/social/meetups" }
},
"inputSchema": {
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "可选关键词,如签证、办公室"
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"rooms": { "type": "array" },
"pagePath": {
"type": "string",
"format": "page-link",
"x-link-text-field": "linkText"
},
"linkText": { "type": "string" }
}
}
},
{
"name": "openMeetupLive",
"description": "打开指定场次的语音视频厅。微信内原生 live-pusher;H5 为 MiroTalk。对齐 GET /api/public/v1/social/meetups/{meetupId}。",
"_meta": {
"ui": {
"componentPath": "components/meetup-live-card/index",
"pagePath": "/pages/social/meetup-live/index"
},
"http": {
"method": "GET",
"path": "/api/public/v1/social/meetups/{meetupId}"
}
},
"inputSchema": {
"type": "object",
"properties": {
"meetupId": {
"type": "string",
"description": "场次 id,如 wk-nomad-office、visa-ama"
},
"nick": {
"type": "string",
"description": "进房显示名,默认游民"
}
},
"required": ["meetupId"]
},
"outputSchema": {
"type": "object",
"properties": {
"title": { "type": "string" },
"pagePath": {
"type": "string",
"format": "page-link",
"x-link-text-field": "linkText"
},
"linkText": { "type": "string" }
}
}
},
{
"name": "listTeamGigs",
"description": "列出找搭子/共创机会。对齐 GET /api/public/v1/social/gigs。",
"_meta": {
"ui": {
"componentPath": "components/gig-list/index",
"pagePath": "/pages/social/team/index"
},
"http": { "method": "GET", "path": "/api/public/v1/social/gigs" }
},
"inputSchema": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "volunteer | parttime | fulltime | all",
"enum": ["all", "volunteer", "parttime", "fulltime"]
},
"keyword": { "type": "string", "description": "角色/技能关键词" }
}
},
"outputSchema": {
"type": "object",
"properties": {
"gigs": { "type": "array" },
"pagePath": {
"type": "string",
"format": "page-link",
"x-link-text-field": "linkText"
},
"linkText": { "type": "string" }
}
}
},
{
"name": "applyTeamGig",
"description": "提交找搭子/共创申请。对齐 POST /api/public/v1/social/gigs/{gigId}/apply。",
"_meta": {
"ui": {
"componentPath": "components/apply-card/index",
"pagePath": "/pages/social/team/index"
},
"context": { "query": true },
"http": {
"method": "POST",
"path": "/api/public/v1/social/gigs/{gigId}/apply"
}
},
"inputSchema": {
"type": "object",
"properties": {
"gigId": { "type": "string", "description": "岗位 id" },
"name": { "type": "string", "description": "怎么称呼" },
"contact": { "type": "string", "description": "邮箱/微信/Telegram" },
"note": { "type": "string", "description": "能带来什么、经历、作品" }
},
"required": ["gigId"]
},
"outputSchema": {
"type": "object",
"properties": {
"status": { "type": "string" },
"pagePath": {
"type": "string",
"format": "page-link",
"x-link-text-field": "linkText"
},
"linkText": { "type": "string" }
}
}
},
{
"name": "listMapCities",
"description": "全球城市地图点位。对齐 GET /api/public/v1/social/cities;H5/Web 打开 /social/map。",
"_meta": {
"http": { "method": "GET", "path": "/api/public/v1/social/cities" }
},
"inputSchema": {
"type": "object",
"properties": {
"west": { "type": "number" },
"south": { "type": "number" },
"east": { "type": "number" },
"north": { "type": "number" }
}
},
"outputSchema": {
"type": "object",
"properties": {
"items": { "type": "array" },
"pagePath": {
"type": "string",
"format": "page-link",
"x-link-text-field": "linkText"
},
"linkText": { "type": "string" }
}
}
}
]
}