Feature/mcp tools selection improvement#6
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…e status Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Add card-like border and border-radius around each server group - Clean up group header with bg-surface background and bottom border - Tool items separated by subtle dividers - Description text fills available space with flex: 1 - Remove nonexistent CSS variable, use explicit 12px - Adjust params panel margins to fit within card container Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…tors - Parameter rows: add colon after name, parentheses around required/optional, em-dash before description (query: string (必填) — 描述) - Expand button: show 展开 ▾ / 收起 ▴ with arrow indicators - Server header: add vertical pipe separators between endpoint and tool count Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add hardcoded fallbacks to all `var(--eify-*)` color references in tool-group-header, tool-item, tool-desc, server-name, param-name, param-desc, and related elements. Also fix form label asterisk alignment with explicit text-align: right and line-height. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
feat: add description field to MCP Server and fix Agent edit dialog UI issues - Add description column to mcp_server table via Flyway V7 migration - Add description field to entity, DTOs, service, and controller - Add description input to McpServerList add/edit form and views - Show server description in Agent edit MCP Tools tab - Fix MCP Tools tab text invisible (el-checkbox-group font-size:0 cascade) - Fix form label asterisk separated from label text (flex→block layout) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> @
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Change Type
Description
MCP Tools Selection in Agent Edit Dialog
Replaced the flat tool checklist in the Agent edit dialog with a new MCP Tools tab that groups tools by server with rich context:
GET /api/v1/mcp-servers/tools— batch-returns all servers with their tools, includingonlinestatus,inputSchema, and server metadataMCP Server
descriptionFieldAdded an optional
descriptionfield to MCP Server across the entire stack:deploy/sql/init_eify_mysql.sqlMcpServerCreateRequest,McpServerUpdateRequest,McpServerResponse,McpServerToolsResponseen-US.json+zh-CN.jsonplaceholder textBug Fixes
.el-checkbox-group { font-size: 0; line-height: 0 }cascaded into custom elements inside the group, zeroing out all text rendering. Fixed by explicitly declaringfont-sizeandline-heighton.tool-group,.tool-group-header,.tool-item,.tool-desc,.tool-params, and.param-row.el-form-item__labeldefaults todisplay: inline-flex; justify-content: flex-end, which treats the::beforeasterisk and the label text as independent flex items — causing them to spread apart likespace-between. Fixed by overriding todisplay: block; text-align: right, keeping the asterisk and text as a single inline flow.Version Bump
pom.xml:1.0.1-SNAPSHOT→1.0.2-SNAPSHOTpackage.json+package-lock.json:1.0.1-SNAPSHOT→1.0.2-SNAPSHOTTesting
mvn testpasses locallynpx vue-tsc --noEmittype check passesnpx vitest runpassesMcpServerServiceTest.listToolsByWorkspace, controller integration tests for/toolsendpoint)Checklist
descriptionis a display-only column not used in WHERE / JOIN clauses — no index needed. Flyway migration usesINFORMATION_SCHEMAcheck for idempotency./api/v1/mcp-servers/toolsdelegates tolistToolsByWorkspace, which filters byWorkspaceContext.getWorkspaceId(). All existing CRUD operations already enforce workspace scoping.ErrorCodeenum viaBusinessException. NoRuntimeExceptionor raw-string errors.v-htmlusage. All dynamic content rendered via Vue template bindings.Related Issue
N/A
Screenshots