mc_kit_express
Returns a shareable URL or the absolute file path for files placed in the publish area (.mcp-mc-agent/.express/), so you can open, embed, or hand them to users.
Instructions
把发布区(.mcp-mc-agent/.express/)里的文件给用户。
· 入参 path:发布区下的文件(相对或绝对;必须在 .mcp-mc-agent/.express/ 下);
· 返回一行,内容取决于 mc_admin_config 里 expressBase 有没有配:
· 没配(默认):只回一句"文件分享已关闭…"——那就把文件的绝对路径告诉用户,让用户自己打开;
· 开启:回完整 URL——图片 、其它文件 [文件名](url) 嵌进回复里;
· 链接原样使用,不要再补 http://… 或域名。
⚠️ 只有发布区(.mcp-mc-agent/.express/)下的文件可分享。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 发布区下的文件路径(工作区相对或绝对;必须在 .mcp-mc-agent/.express/ 下) |