fix: update platform mcp warning copy

This commit is contained in:
Krrish Dholakia 2026-06-22 18:17:08 -07:00
parent 9221010a1f
commit e9697b26bc
2 changed files with 4 additions and 3 deletions

View file

@ -26,7 +26,8 @@ describe("PlatformMCPTab", () => {
it("shows the pre-v0 warning and v0 meta-tools", async () => {
render(<PlatformMCPTab accessToken="token" />);
expect(await screen.findByText(/Platform MCP is a pre-v0 feature/i)).toBeInTheDocument();
expect(await screen.findByText(/This can change unexpectedly/i)).toBeInTheDocument();
expect(screen.getByText(/product@berri.ai/i)).toBeInTheDocument();
expect(screen.getByText(/tools\/list responses/i)).toBeInTheDocument();
expect(screen.getByText("list_servers")).toBeInTheDocument();
expect(screen.getByText("enable_server")).toBeInTheDocument();

View file

@ -97,8 +97,8 @@ const PlatformMCPTab: React.FC<PlatformMCPTabProps> = ({ accessToken }) => {
<div className="flex items-center gap-2 rounded-lg border border-amber-200 bg-amber-50 px-4 py-3 text-sm text-amber-800">
<ExperimentOutlined className="flex-shrink-0 text-amber-600" />
<span>
Platform MCP is a pre-v0 feature. The dashboard control is only available to proxy admins and should not be
used in production.
Platform MCP is a pre-v0 feature. This can change unexpectedly. Do not use this in production. If you have
feedback, please email product@berri.ai.
</span>
</div>