Skip to content

[BUG][UI]: Visibility selection not retained when editing virtual server #3391

@msureshkumar88

Description

@msureshkumar88

🐞 Bug Summary

After creating a virtual server and adding a new entry, the visibility option selected during creation is not retained. When opening the entry in the edit window, the previously selected visibility is no longer selected.


🧩 Affected Component

Select the area of the project impacted:

  • mcpgateway - API
  • mcpgateway - UI (admin panel)
  • mcpgateway.wrapper - stdio wrapper
  • Federation or Transports
  • CLI, Makefiles, or shell scripts
  • Container setup (Docker/Podman/Compose)
  • Other (explain below)

🔁 Steps to Reproduce

  1. Visit Virtual MCP Servers
  2. Add new virtual server
  3. Edit Nealy added server
  4. Visibility radio button is not checked

🤔 Expected Behavior

What should have happened instead?
Visibility radio button should be selected

Image

📓 Logs / Error Output

Paste any relevant stack traces or logs here.
⚠️ Do not paste secrets, credentials, or tokens.


🧠 Environment Info

You can retrieve most of this from the /version endpoint.

Key Value
Version or commit main@8253c1137a3f0a822fe4c667c3935570d9cfb3f1
Runtime e.g. Python 3.12, Gunicorn
Platform / OS e.g. Ubuntu 22.04
Container none

🧩 Additional Context (optional)

Add any configuration details, flags, or related issues.

Metadata

Metadata

Assignees

Labels

SHOULDP2: Important but not vital; high-value items that are not crucial for the immediate releasebugSomething isn't workingreadyValidated, ready-to-work-on itemsuiUser Interface

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions