MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isStdioConfig

Function isStdioConfig

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

Source from the content-addressed store, hash-verified

437
438// Type guards for MCP server config types
439function isStdioConfig(
440 config: McpServerConfig,
441): config is McpStdioServerConfig {
442 return config.type === 'stdio' || config.type === undefined
443}
444
445function isSSEConfig(config: McpServerConfig): config is McpSSEServerConfig {
446 return config.type === 'sse'

Callers 1

extractAgentMcpServersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected