Skip to content

Conversation

nl8590687
Copy link
Contributor

@nl8590687 nl8590687 commented Aug 25, 2025

feat: 新增MCP Server功能,支持文档全局检索工具

由于依赖mcp-go依赖对go版本最低要求为 go 1.23,因此go build的最低版本将被升级到 go 1.23


已通过Dify v1.7.0版本进行自测试并验证通过:

  1. MCP服务对接验证
屏幕截图 2025-08-26 223605 屏幕截图 2025-08-26 223755
  1. MCP工具在AI Agent模式下调用能力测试
屏幕截图 2025-08-26 003642 屏幕截图 2025-08-26 003718
  1. MCP工具在AI Chatflow模式下调用能力测试
屏幕截图 2025-08-26 231647

其中,MCP配置为:

{
  "mindoc": {
    "transport": "streamable_http",
    "url": "http://10.0.10.104:8181/mcp/?api_key=demo-mcp-api-key",
    "headers":{},
    "timeout":600
  }
}

对应的app.conf配置为:

# MCP Server 功能
enable_mcp_server="${MINDOC_ENABLE_MCP_SERVER||true}"
mcp_api_key="${MINDOC_MCP_API_KEY||demo-mcp-api-key}"

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