config_describe_recorder_status
Check AWS Config recorder status to monitor configuration compliance and track changes across AWS resources in a specified region.
Instructions
Describe status of AWS Config recorder(s).
Parameters:
aws_region (str): The AWS region - use 'us-east-1' if not specified.
Returns:
JSON list of ConfigurationRecorderStatus objects.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aws_region | Yes |
Implementation Reference
- server.py:687-701 (handler)The handler function for the 'config_describe_recorder_status' tool. It uses boto3 to call describe_configuration_recorder_status in AWS Config service and returns the JSON serialized recorder statuses. The @mcp.tool() decorator registers it as an MCP tool, and the docstring provides schema information via parameters and return description.@mcp.tool() async def config_describe_recorder_status(aws_region: str) -> str: """ Describe status of AWS Config recorder(s). Parameters: aws_region (str): The AWS region - use 'us-east-1' if not specified. Returns: JSON list of ConfigurationRecorderStatus objects. """ client = boto3.client('config', region_name=aws_region) resp = client.describe_configuration_recorder_status() statuses = resp.get("ConfigurationRecorderStatuses", []) return json.dumps(statuses, indent=2, cls=DateTimeEncoder)
- server.py:687-687 (registration)The @mcp.tool() decorator registers the config_describe_recorder_status function as an MCP tool.@mcp.tool()
- server.py:689-697 (schema)Docstring defining the input parameter 'aws_region' and output as JSON list of ConfigurationRecorderStatus objects, serving as the tool schema.""" Describe status of AWS Config recorder(s). Parameters: aws_region (str): The AWS region - use 'us-east-1' if not specified. Returns: JSON list of ConfigurationRecorderStatus objects. """