docs(mcp): document MCP sync in the CLI registry guide; unexport canExpress

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Devvyn
2026-10-02 19:06:37 +08:00
co-authored by Claude Sonnet 5.5
parent af032fc81a
commit 7616de13de
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -449,7 +449,7 @@ export function parseServers(format: McpFormat, text: string | null): McpServerM
}
/** Whether this dialect can express the server. */
export function canExpress(format: McpFormat, s: McpServer): boolean {
function canExpress(format: McpFormat, s: McpServer): boolean {
if (format === 'codex-toml' || format === 'antigravity-json') return s.transport !== 'sse';
return true;
}