ragflow/docs
yiminghub2024 1aa97600df
Fix mcp server startup failure (#7329)
### What problem does this PR solve?
0.18.0 mcp server can not start with upgrade from 0.17.2 or new install
except rebuild all docker

Close #7321

mcp server can not start auto from docker :
2025-04-25 17:30:44,512 INFO 25 task_executor_2a9f3e2de99a_0 reported
heartbeat: {"name": "task_executor_2a9f3e2de99a_0", "now":
"2025-04-25T17:30:44.509+08:00", "boot_at":
"2025-04-25T16:43:33.038+08:00", "pending": 0, "lag": 0, "done": 0,
"failed": 0, "current": {}}
usage: server.py [-h] [--base_url BASE_URL] [--host HOST] [--port PORT]
                 [--mode MODE] [--api_key API_KEY]
server.py: error: unrecognized arguments:

problem:
server.py in docker start arguments not correct , so mcp server start
fail
reason:
```
1. docker-copose.yaml
     example  - --mcp-host-api-key="ragflow-12345678" is wrong.  do not add "" to key or it says:"api-key wrong"
2.docker file  entrypoint.sh  can not translate config to exec command , we need mapping file from host to docker
     - ./entrypoint.sh:/ragflow/entrypoint.sh
3.just add one code raw fix all probelm 
```
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Documentation Update
- [x] Performance Improvement

---------

Co-authored-by: Yongteng Lei <yongtengrey@outlook.com>
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
2025-04-27 18:47:12 +08:00
..
develop Fix mcp server startup failure (#7329) 2025-04-27 18:47:12 +08:00
guides Updated RAPTOR-specific UI (#7348) 2025-04-27 16:49:14 +08:00
references DOC: Miscellaneous UI and editorial updates (#7324) 2025-04-27 11:44:08 +08:00
_category_.json Reorganized docs for docusaurus publish (#860) 2024-05-21 20:53:55 +08:00
configurations.md DocsHow to disable user registration (#7265) 2025-04-24 18:02:32 +08:00
faq.mdx DOC: Miscellaneous UI and editorial updates (#7324) 2025-04-27 11:44:08 +08:00
quickstart.mdx DOC: Miscellaneous UI and editorial updates (#7324) 2025-04-27 11:44:08 +08:00
release_notes.md DOC: Miscellaneous UI and editorial updates (#7324) 2025-04-27 11:44:08 +08:00