MCPcopy Create free account
hub / github.com/github/gh-aw / RenderMCPConfig

Method RenderMCPConfig

pkg/workflow/crush_mcp.go:13–18  ·  view source on GitHub ↗

RenderMCPConfig renders MCP server configuration for Crush CLI

(sb *strings.Builder, tools map[string]any, mcpTools []string, workflowData *WorkflowData)

Source from the content-addressed store, hash-verified

11
12// RenderMCPConfig renders MCP server configuration for Crush CLI
13func (e *CrushEngine) RenderMCPConfig(sb *strings.Builder, tools map[string]any, mcpTools []string, workflowData *WorkflowData) error {
14 crushMCPLog.Printf("Rendering MCP config for Crush: tool_count=%d, mcp_tool_count=%d", len(tools), len(mcpTools))
15
16 // Crush uses JSON format without Copilot-specific fields and multi-line args
17 return renderDefaultJSONMCPConfig(sb, tools, mcpTools, workflowData, constants.TmpMcpServersJsonPath)
18}

Callers

nothing calls this directly

Calls 2

PrintfMethod · 0.45

Tested by

no test coverage detected