MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isStdioConfig

Function isStdioConfig

sdk/src/__tests__/load-mcp-config.test.ts:12–14  ·  view source on GitHub ↗
(config: MCPConfig)

Source from the content-addressed store, hash-verified

10
11// Helper to safely access stdio config properties
12function isStdioConfig(config: MCPConfig): config is MCPConfig & { command: string; env?: Record<string, string> } {
13 return 'command' in config
14}
15
16describe('mcpFileSchema', () => {
17 it('should parse a valid mcp.json with stdio config', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected