Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 文档里缺少mcp的使用说明 #6114

Open
donghao1393 opened this issue Jan 29, 2025 · 5 comments
Open

[Bug] 文档里缺少mcp的使用说明 #6114

donghao1393 opened this issue Jan 29, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@donghao1393
Copy link

📦 部署方式

Docker

📌 软件版本

latest

💻 系统环境

macOS

📌 系统版本

14.7.2

🌐 浏览器

Other

📌 浏览器版本

Vivaldi 7.0.3495.29

🐛 问题描述

在本项目下面,我搜索不到mcp的配置说明,除了一句ENABLE_MCP=true,让人摸不着头脑。config.json怎么配置?

📷 复现步骤

docker compose up -d

🚦 期望结果

用户应该能配置和使用mcp服务,例如通过filesystem读取本地文件

📝 补充信息

No response

@donghao1393 donghao1393 added the bug Something isn't working label Jan 29, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: null

📦 deployment method

Docker

📌 Software version

latest

💻 System environment

macos

📌 System version

14.7.2

🌐 browser

Other

📌 Browser version

Vivaldi 7.0.3495.29

🐛 Problem description

Below this project, I can't search for MCP configuration instructions. Except for a sentence enable_mcp = true, people can't be touched. How to configure config.json?

📷 Reapped steps

docker compose up -d

🚦 expectation result

Users should be able to configure and use MCP services. For example

📝 Supplement information

_NO Response

@Leizhenpeng
Copy link
Member

这是一个实验性的模块,还不稳定啊,就是后面稳定之后,我们会以文档的方式告诉大家怎么使用的。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


This is an experimental module. It is not stable. After the stability of the back, we will tell you how to use it in a document.

@donghao1393
Copy link
Author

我加了ENABLE_MCP=true进行镜像编译
然后使用了下面的docker-compose.yaml文件内容:

services:
  chatgpt-next-web:
    container_name: chatgpt-next-web
    image: nextchat:250130
    ports:
      - 3000:3000
    environment:
      - ANTHROPIC_API_KEY=***
    volumes:
      - ./my_mcp_config.json:/app/app/mcp/mcp_config.json

启动以后

$ docker compose up -d
[+] Running 2/2
 ✔ Network nextchat_default    Created                                                                                                                                                                                                        0.1s
 ✔ Container chatgpt-next-web  Started

在网页对话框里,没有看到mcp相关的配置。
我就本地映射了一个配置好的mcp_config.json文件,然后在对话中请求它读取我的一个本地文件,AI说

我无法直接访问您计算机上的文件。如果您想让我帮您查看和分析该文件,请将文件内容复制并粘贴到我们的对话中。这样我就能看到文件内容并为您提供相关建议和分析。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I added enable_mcp = true to compile mirror
Then use the following docker-compose.yaml file content:
`yaml service: ChatGPT-NEXT-Web: container_name: Chatgpt-Next-Web Image: NextChat: 250130 Ports: -3000: 3000 environment: -Anthropic_api_key = *** Volumes: -./my_mcp_config.json:App/app/mcp/mcp_config.json `

After starting
`Bash $ docker compose up -d [+] Running 2/2 N Network NextChat_default Created 0.1S C CONTAINER CHATGPT-NEXT-Web Started `

In the web dialog box, no MCP -related configuration is seen.
I mapped a configured mcp_config.json file in the local area, and then asked it to read a local file in the conversation. AI said

I can't visit the files on your computer directly. If you want me to help you view and analyze the file, copy and paste the file content into our conversation. In this way, I can see the content of the file and provide you with relevant suggestions and analysis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants