feat: auto-fill MCP server description with app description #22443 (#22477)

This commit is contained in:
baonudesifeizhai 2025-07-16 03:03:33 -04:00 • committed by GitHub
commit d52fb18457
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 35 additions and 13 deletions

View file

@ -206,7 +206,7 @@ export const useCreateMCPServer = () => {
mutationKey: [NAME_SPACE, 'create-mcp-server'],
mutationFn: (payload: {
appID: string
description: string
description?: string
parameters?: Record<string, string>
}) => {
const { appID, ...rest } = payload