All files / src/components/mcp McpComingSoon.tsx

100% Statements 3/3
100% Branches 1/1
100% Functions 1/1
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24            4x             4x 12x                  
import { EmptyState } from "@/components/collection";
import { Server } from "lucide-react";
import React from "react";
 
/** What an agent has instead, said the same way everywhere MCP is absent. */
export const MCP_COMING_SOON_HINT =
  "Connecting agents to your own tools through MCP servers is not available in this release. Until then, every agent has the built-in tools — web search, page fetching, document rendering and more — and answers from the knowledge you grant it.";
 
/**
 * Where MCP servers and toolkits would be, while they are not available
 * (`MCP_AVAILABLE` in `util/mcp.ts`): the Inference tab they used to fill and
 * the Tools tab of an agent.
 */
const McpComingSoon: React.FC<{ dashed?: boolean }> = ({ dashed = true }) => (
  <EmptyState
    Icon={Server}
    title="MCP servers are coming soon"
    hint={MCP_COMING_SOON_HINT}
    dashed={dashed}
  />
);
 
export default McpComingSoon;