This commit is contained in:
lda
2026-05-16 18:11:10 +07:00 Verified
parent 7dcfad92c1
commit cfca2547d5
7 changed files with 74 additions and 0 deletions
+4
View File
@@ -39,6 +39,10 @@ def register_broker_tools(server: FastMCP, service: WfMcpService) -> None:
async def list_spec_sources() -> list[dict[str, Any]]:
return handlers.list_spec_sources()
@server.tool()
async def list_sources() -> list[dict[str, Any]]:
return handlers.list_sources()
@server.tool()
async def read_broker_resource(qualified_name: str) -> dict[str, Any]:
return await handlers.read_broker_resource(qualified_name)