Repository navigation
fix: configure the media assets MCP in the AI service - #11
Open
Onweekendd wants to merge 3 commits into
Open
Onweekendd wants to merge 3 commits into
Onweekendd wants to merge 3 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
让服务器上的 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 配置及工作流语法检查通过。