list_providers
Lists all installed provider packages in Apache Airflow to manage integrations and dependencies for workflow automation.
Instructions
[Tool Role]: Lists all provider packages installed in the Airflow system.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The main handler function for the 'list_providers' tool. It makes a GET request to the Airflow API endpoint '/providers' to fetch and return the list of installed provider packages.@mcp.tool() async def list_providers() -> Dict[str, Any]: """[Tool Role]: Lists all provider packages installed in the Airflow system.""" resp = await airflow_request("GET", "/providers") resp.raise_for_status() return resp.json()
- src/mcp_airflow_api/tools/v1_tools.py:23-23 (registration)Registration call for common tools (including list_providers) in the v1 API tools module. Executed within register_tools(mcp) to add the tool to the MCP server.common_tools.register_common_tools(mcp)
- src/mcp_airflow_api/tools/v2_tools.py:24-24 (registration)Registration call for common tools (including list_providers) in the v2 API tools module. Executed within register_tools(mcp) to add the tool to the MCP server.common_tools.register_common_tools(mcp)