-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: support project-level mcp config #1618
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
Conversation
|
605339b to
4106ca4
Compare
src/services/mcp/McpHub.ts
Outdated
| // Validate configuration structure | ||
| const result = McpSettingsSchema.safeParse(config) | ||
| if (!result.success) { | ||
| vscode.window.showErrorMessage("项目 MCP 配置格式无效") |
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.
Mind if we make these English for now and then we can internationalize them soon?
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.
Mind if we make these English for now and then we can internationalize them soon?
Of course, I have already seen the international submission, that's really a great thing!
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.
Thank you! I want to talk to you about that separately - will send a message in Discord.
mrubens
left a comment
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.
Love this! Looks great once the tests pass and we switch the toasts to English 🦾
done |
# Conflicts: # webview-ui/src/components/mcp/McpView.tsx
# Conflicts: # webview-ui/src/i18n/locales/ar/mcp.json # webview-ui/src/i18n/locales/cs/mcp.json # webview-ui/src/i18n/locales/hu/mcp.json # webview-ui/src/i18n/locales/pt/mcp.json # webview-ui/src/i18n/locales/ru/mcp.json
# Conflicts: # src/services/mcp/McpHub.ts
Context
support project-level mcp config
i found cursor support project-level mcp config, and some one tell me they need it.
Implementation
UI interaction:
The server list displays:
Screenshots
±
How to Test
Get in Touch
aheizi
Important
Adds support for project-level MCP configuration, including UI updates, backend logic, and internationalization changes.
ClineProvider.tsandMcpHub.ts.McpView.tsxto include buttons for editing global and project MCP settings..roo/mcp.jsonwhen 'Edit Project MCP' is clicked.ClineProvider.test.tsandMcpHub.test.tsfor project MCP settings handling.This description was created by
for bda929b. It will automatically update as commits are pushed.