MCPcopy Create free account
hub / github.com/Noumena-Network/code / isWebSocketConfig

Function isWebSocketConfig

src/services/mcp/utils.ts:454–458  ·  view source on GitHub ↗
(
  config: McpServerConfig,
)

Source from the content-addressed store, hash-verified

452}
453
454function isWebSocketConfig(
455 config: McpServerConfig,
456): config is McpWebSocketServerConfig {
457 return config.type === 'ws'
458}
459
460/**
461 * Extracts MCP server definitions from agent frontmatter and groups them by server name.

Callers 1

extractAgentMcpServersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected