Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ui): correct MCP server form validation for required fields

Steven Enamakelc2db0714385c
diff --git a/app/src/components/channels/mcp/McpServerForm.tsx b/app/src/components/channels/mcp/McpServerForm.tsx
index 7e2e60e368..a550ed541a 100644
--- a/app/src/components/channels/mcp/McpServerForm.tsx
+++ b/app/src/components/channels/mcp/McpServerForm.tsx
@@ -114,7 +114,7 @@ const McpServerForm = ({ existing, onClose, onSaved }: McpServerFormProps) => {
const [saving, setSaving] = useState(false);
const [error, setError] = useState<string | null>(null);
- const nameValid = /^[A-Za-z0-9][A-Za-z0-9._@\/-]*$/.test(name.trim());
+ const nameValid = /^[A-Za-z0-9][A-Za-z0-9._@/-]*$/.test(name.trim());
const canSave =
!saving &&
nameValid &&