refactor: move mcp auth record ownership

This commit is contained in:
lda
2026-06-06 15:01:39 +07:00 Verified
parent 0028528269
commit a28ca5434a
150 changed files with 557 additions and 549 deletions
+3 -1
View File
@@ -8,7 +8,9 @@ from .context import WorkflowServer, build_local_static_workflow_server
def _has_mcp_sources(config: WorkflowConfigFile) -> bool:
return any(getattr(source, "kind", None) == "mcp" for source in config.server.sources)
return any(
getattr(source, "kind", None) == "mcp" for source in config.server.sources
)
def _build_mcp_workflow_server_from_workflow_config(