Capability sources, add default source under wf.

This commit is contained in:
lda
2026-05-10 16:50:53 +07:00 Verified
parent f13bad5754
commit 4999cf38bb
17 changed files with 1739 additions and 129 deletions
+3
View File
@@ -12,6 +12,9 @@ from .service import WfMcpService
def register_broker_tools(server: FastMCP, service: WfMcpService) -> None:
"""Register broker tool handlers on a FastMCP server."""
# These MCP tool names are compatibility exports. Their capability metadata
# belongs to the wf.admin source; future admin-enabled servers can project
# dotted wf.admin.* names from that source.
@server.tool()
async def list_connections() -> list[dict[str, Any]]:
return [