Skip to content

fix: configure the media assets MCP in the AI service - #11

Open
Onweekendd wants to merge 3 commits into
mainfrom
fix/media-assets-server-env
Open

Onweekendd wants to merge 3 commits into
mainfrom
fix/media-assets-server-env

Conversation

@Onweekendd

@Onweekendd Onweekendd commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

让服务器上的 AI 容器可以连接 Answer Media Agent 联网素材 MCP。Compose 原先未将 MEDIA_ASSETS_MCP_URL 和 MEDIA_ASSETS_MCP_TOKEN 传给服务,即使写入服务器 .env,工具仍会提示缺少配置。

本 PR 把两项变量只传给 ai 服务,并在部署示例和 README 说明服务器 /root/funbi/.env 的设置方法以及重建 AI 容器的命令。也说明 Answer 网站的 /answer/api/v1/mcp/sse 是问答 MCP,与素材搜索 MCP 不同;素材服务需从 AI 容器网络可达。

验证:服务器 Answer /answer/api/v1/mcp/sse 路由存在,未认证请求返回 401;该路由提供问题、回答、评论和标签工具,不是素材服务。原素材 MCP 端口 8766 未监听。Compose 配置及工作流语法检查通过。

@Onweekendd Onweekendd changed the title fix: configure the media MCP in the AI service fix: configure the media assets MCP in the AI service Oct 25, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant