-
Notifications
You must be signed in to change notification settings - Fork 60.1k
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
Support MCP( WIP) #5974
Merged
+2,830
−297
Merged
Support MCP( WIP) #5974
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
e1c7c54
chore: change md
Leizhenpeng c3108ad
feat: simple MCP example
Kadxy 664879b
feat: Create all MCP Servers at startup
Kadxy e1ba8f1
feat: Send MCP response as a user
Kadxy fe67f79
feat: MCP message type
Kadxy 77be190
feat: carry mcp primitives content as a system prompt
Kadxy f2a2b40
feat: carry mcp primitives content as a system prompt
Kadxy 0c14ce6
fix: MCP execution content matching failed.
Kadxy 7d51bfd
feat: MCP market
Kadxy b410ec3
feat: auto scroll to bottom when MCP response
Kadxy 125a71f
fix: unnecessary initialization
Kadxy e95c94d
fix: inaccurate content
Kadxy a3af563
feat: Reset mcp_config.json to empty
Kadxy ce13cf6
feat: ignore mcp_config.json
Kadxy 8aa9a50
feat: Optimize MCP configuration logic
Kadxy a70e9a3
chore:update mcp icon
Leizhenpeng be59de5
feat: Display the number of clients instead of the number of availabl…
Kadxy ac3d940
Merge branch 'feat-mcp' of https://github.com/ChatGPTNextWeb/ChatGPT-…
Leizhenpeng c89e488
chore: update icon
Leizhenpeng e440ff5
fix: env not work
Kadxy 07c6349
feat: support stop/start MCP servers
Kadxy 4d63d73
feat: load MCP preset data from server
Kadxy d4f499e
feat: adjust form style
Kadxy 588d81e
feat: remove unused files
Kadxy 4d535b1
chore: enhance mcp prompt
Leizhenpeng 65810d9
feat: improve async operations and UI feedback
Kadxy 0112b54
fix: missing en translation
Kadxy bc71ae2
feat: add ENABLE_MCP env var to toggle MCP feature globally and in Do…
Kadxy bfeea4e
fix: prevent MCP operations from blocking chat interface
Kadxy 611e97e
docs: update README.md
Kadxy a3d3ce3
Merge branch 'main' into feat-mcp
Kadxy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
public/serviceWorker.js | ||
public/serviceWorker.js | ||
app/mcp/mcp_config.json |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,6 @@ dev | |
*.key.pub | ||
|
||
masks.json | ||
|
||
# mcp config | ||
app/mcp/mcp_config.json |
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restrict directory permissions for security.
Setting 777 permissions (read, write, execute for all users) on the
/app/app/mcp
directory is too permissive and poses a security risk. Consider using more restrictive permissions.Apply this diff to use more restrictive permissions:
📝 Committable suggestion