list_connections
Retrieve all Airflow connections from an Amazon MWAA environment to manage database, API, and service integrations for workflow orchestration.
Instructions
List all Airflow connections in the environment.
Args: environment_name: Name of the MWAA environment limit: Number of items to return offset: Number of items to skip
Returns: Dictionary containing list of connections
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment_name | Yes | ||
| limit | No | ||
| offset | No |
Implementation Reference
- awslabs/mwaa_mcp_server/tools.py:438-448 (handler)The handler implementation of the 'list_connections' tool within the MWAATools class.
async def list_connections( self, environment_name: str, limit: Optional[int] = 100, offset: Optional[int] = 0, ) -> Dict[str, Any]: """List connections via Airflow API.""" params: Dict[str, Any] = {"limit": limit, "offset": offset} return self._invoke_airflow_api( environment_name, "GET", "/connections", params=params )