Skip to content

Fix empty static MCP server names - #30224

Merged
frankaloia merged 1 commit into
mainfrom
fix/static-mcp-empty-view-name
Aug 10, 2026
Merged

Fix empty static MCP server names#30224
frankaloia merged 1 commit into
mainfrom
fix/static-mcp-empty-view-name

Conversation

@frankaloia

@frankaloia frankaloia commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Caused by: #30107
eng runner: https://github.com/dust-tt/tasks/issues/9980

Following the addition of custom MCP server view names, first-time setup of integrations using the static-credential flow could fail with:

invalid_request_error: viewName must be a non-empty string

The connection-name field is hidden for a first server instance and defaults to an empty string. The standard MCP creation flow trims and omits that value, but the static-credential flow forwarded viewName: "" directly to the API. The backend interpreted it as an explicitly supplied name and correctly rejected it.

This affected integrations using the static-credential creation path, while integrations following the standard creation flow continued to work.

Testing

  • Manual connected in localhost. did not work before now it does.

Risk

Low - Fixing issue

Deploy

  1. Deploy front

Omit blank view names before creating static-credential MCP servers while preserving required custom-name validation for duplicate instances.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
playground Ignored Ignored Preview Aug 7, 2026 6:11pm
storybook Ignored Ignored Preview Aug 7, 2026 6:11pm

Request Review

@dust-agent dust-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coding Rules LGTM \o/

@frankaloia
frankaloia requested a review from aubin-tchoi August 10, 2026 13:04

@aubin-tchoi aubin-tchoi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🙏🏻

@frankaloia
frankaloia merged commit b31e59d into main Aug 10, 2026
42 checks passed
@frankaloia
frankaloia deleted the fix/static-mcp-empty-view-name branch August 10, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants