MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / mcpServerAtom

Function mcpServerAtom

packages/plugins/mcp/src/react/atoms.ts:14–19  ·  view source on GitHub ↗
(slug: IntegrationSlug)

Source from the content-addressed store, hash-verified

12// ---------------------------------------------------------------------------
13
14export const mcpServerAtom = (slug: IntegrationSlug) =>
15 McpClient.query("mcp", "getServer", {
16 params: { slug },
17 timeToLive: "15 seconds",
18 reactivityKeys: [ReactivityKey.integrations, ReactivityKey.tools],
19 });
20
21// ---------------------------------------------------------------------------
22// Mutation atoms

Callers 3

EditMcpIntegrationFunction · 0.90
McpAccountsPanelFunction · 0.90
McpSignInButtonFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected