🐞 Bug Summary
MCP Registry "Add Server" button behaviour is inconsistent. The spinner won't replace the original text, and - as the POST route's response is a JSON object - the actual button is gone and replaced with a layout-braking JSON object when the server is added successfully (see screenshots below).
🧩 Affected Component
Select the area of the project impacted:
🔁 Steps to Reproduce
- Access the Admin UI
- Click the MCP Registry tab
- Add a few servers, with multiple auth settings (open, OAuth2, api...)
🤔 Expected Behavior
- For Auth servers, a modal should open for configuring it.
- While the server is being added, the button label should be replaced with the spinner
- After the server is added, the button should be replaced with the disabled version with the "Already registered" label
🐞 Bug Summary
MCP Registry "Add Server" button behaviour is inconsistent. The spinner won't replace the original text, and - as the POST route's response is a JSON object - the actual button is gone and replaced with a layout-braking JSON object when the server is added successfully (see screenshots below).
🧩 Affected Component
Select the area of the project impacted:
mcpgateway- APImcpgateway- UI (admin panel)mcpgateway.wrapper- stdio wrapper🔁 Steps to Reproduce
🤔 Expected Behavior