Feat: add mcp self-host mode (#7157)

### What problem does this PR solve?

Add mcp self-host mode, a complement of #7084.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Yongteng Lei
2025-04-22 10:04:21 +08:00
committed by GitHub
parent 91c5a5c08f
commit ad220a0a3c
4 changed files with 73 additions and 17 deletions

View File

@ -15,6 +15,8 @@ services:
# - --mcp-port=9382
# - --mcp-base-url=http://127.0.0.1:9380
# - --mcp-script-path=/ragflow/mcp/server/server.py
# - --mcp-mode=self-host
# - --mcp--host-api-key="ragflow-xxxxxxx"
container_name: ragflow-server
ports:
- ${SVR_HTTP_PORT}:9380