MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

↓ 7 callersFunction_clean_datetime_objects
Convert datetime objects in a nested dictionary to ISO format strings. Args: obj: Object that may contain datetime objects Returns:
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:972
↓ 7 callersMethod_cleanup_cache_by_size
Clean up cache when it exceeds max size, prioritizing expired entries first. Strategy: 1. First: Remove all expired entries (regardle
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:1037
↓ 7 callersMethod_cleanup_pagination_cache_by_size
Clean up pagination cache when it exceeds max size, prioritizing expired entries first. Strategy: 1. First: Remove all expired entrie
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1288
↓ 7 callersMethod_client
(self)
src/healthlake-mcp-server/tests/test_pagination_hardening.py:216
↓ 7 callersFunction_client_prefix
Extract a kebab-case prefix from the MCP client name, or 'ide' as fallback.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/server.py:130
↓ 7 callersFunction_collect_paginated
Collect and format a bounded number of pages from a regional list API.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:796
↓ 7 callersMethod_compute_density_ratio
Calculate density ratio based on perfect timeline.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_analyzer.py:145
↓ 7 callersMethod_compute_publishing_period
Compute the publishing period in seconds from timestamp gaps.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_analyzer.py:115
↓ 7 callersMethod_compute_statistics
Compute essential statistical measures for LLM consumption.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_analyzer.py:166
↓ 7 callersFunction_convert_with_markitdown
Helper function to convert documents to markdown using MarkItDown.
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:274
↓ 7 callersFunction_customize_error_message
Convert Pydantic error to custom message format.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/data_model.py:451
↓ 7 callersMethod_ensure_stack_ownership
Ensure that a stack exists and was created by this tool. Args: ctx: The MCP context stack_name: Name of the stack to
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_stack_handler.py:118
↓ 7 callersFunction_explain_dict
Explain dictionary content comprehensively with improved formatting.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/tools/explanation.py:103
↓ 7 callersFunction_extract_remediation_from_rules
Extract remediation advice from guard rules file.
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/tools/cloudformation_compliance_checker.py:69
↓ 7 callersFunction_factory
Return an sts_client_factory yielding the given stub client. The factory stands in for the server's own default-credential STS client (the MC
src/aws-healthomics-mcp-server/tests/test_multihop_identity_propagation.py:114
↓ 7 callersFunction_fake_statement
Build the terminal statement response that _execute_statement() returns.
src/redshift-mcp-server/tests/test_redshift.py:52
↓ 7 callersFunction_find_service_key_attributes
Find KeyAttributes for a service by name (paginated list_services). Returns the matched service's KeyAttributes, or ``None`` if no service resolv
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/endpoint_metrics.py:50
↓ 7 callersFunction_format_billing_groups
Format billing group objects from the AWS API response. Args: billing_groups: List of billing group objects from the AWS API. Return
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:119
↓ 7 callersFunction_format_location
Format Pydantic location tuple as readable path. Example: ('table_list', 3, 'item_count') -> 'table_list[3].item_count'
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/data_model.py:435
↓ 7 callersFunction_generate_explanation
Generate comprehensive explanation for any type of content.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/tools/explanation.py:40
↓ 7 callersMethod_generate_time_range_suggestions
Generate time range suggestions based on alarm history and configuration.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_alarms/tools.py:526
↓ 7 callersMethod_get_credentials_from_secret
Get database credentials from AWS Secrets Manager.
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/asyncmy_pool_connection.py:352
↓ 7 callersMethod_get_relevant_pattern_indices
Get indices of patterns relevant to the given file path. Args: file_path: Path to the file Returns: List of
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/file_association_engine.py:144
↓ 7 callersMethod_get_session
Fresh session each call to pick up rotated credentials.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:76
↓ 7 callersMethod_get_static_storage_allocation
Calculate actual static storage allocation. Static storage is allocated with: - Minimum of 1200 GiB - Increments of 2400 GiB
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/analysis/cost_analyzer.py:108
↓ 7 callersFunction_get_task_definitions_by_stack
Get task definitions associated with a CloudFormation stack. Parameters ---------- stack_name : str Name of the CloudFormati
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/utils.py:469
↓ 7 callersMethod_handle_execute_query
Handle the executeQuery tool.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/server.py:320
↓ 7 callersFunction_invoice_units
Route an AWS Invoice Unit ``operation`` to its handler. Kept separate from the FastMCP-decorated wrapper so the routing can be unit tested di
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/invoice_units_tools.py:43
↓ 7 callersMethod_is_related_index_file
Check if a detected file type is a related index file for the requested file type. Args: detected_file_type: The detected file ty
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:1002
↓ 7 callersMethod_list_references_with_filter_paginated
List references in a HealthOmics reference store with pagination and optional name filter. Args: reference_store_id: ID of the re
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:869
↓ 7 callersFunction_load
(name)
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:27
↓ 7 callersMethod_make_conn
(self)
src/mysql-mcp-server/tests/test_asyncmy_connector.py:368
↓ 7 callersMethod_make_context
Build a CredentialContext with sensible defaults for tests.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:1252
↓ 7 callersFunction_make_empty_response
Build a mock execute_query response with no rows.
src/redshift-mcp-server/tests/test_review_executor.py:34
↓ 7 callersFunction_make_request
Build a real httpx.Request for AWSAuth.auth_flow.
src/healthlake-mcp-server/tests/test_pagination_hardening.py:414
↓ 7 callersMethod_matches_file_type_filter
Check if a detected file type matches the file type filter. Args: detected_file_type: The detected file type file_typ
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:884
↓ 7 callersMethod_matches_search_terms_metadata
Check if a HealthOmics resource matches the search terms based on name and metadata. Args: name: Resource name metada
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:1487
↓ 7 callersFunction_mock_ensure_role
Return a patch for _ensure_scheduler_role.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:39
↓ 7 callersFunction_mock_response
Build a minimal httpx.Response for testing.
src/aws-transform-mcp-server/tests/test_http_utils.py:129
↓ 7 callersFunction_normalize_placeholders
Match psycopg placeholder handling in the parser-only SQL copy. When a parameters object is supplied to ``execute``, psycopg scans the raw qu
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/sql_guard.py:223
↓ 7 callersFunction_paginate_call
Return the keyword arguments the paginator was invoked with.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:134
↓ 7 callersFunction_parse
Extract the parsed JSON payload from an MCP result envelope.
src/aws-transform-mcp-server/tests/test_workspace.py:42
↓ 7 callersMethod_parse_alarm_rule
Parse composite alarm rule to extract component alarm names.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_alarms/tools.py:664
↓ 7 callersFunction_parse_dynamodb_local_version
Parse DynamoDB Local version from command output into tuple of integers. Args: output: Command output that may contain version string
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:158
↓ 7 callersMethod_parse_time
Parse ISO timestamp string. Args: time_str: ISO format timestamp string or datetime object Returns: Parsed d
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/visualization/gantt_generator.py:152
↓ 7 callersFunction_read_local_file
Read content from a local file with security and size checks. Args: path: The local file path to read. mode: 'text' for UTF-8 str
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/content_resolver.py:117
↓ 7 callersFunction_run
( status='COMPLETED', tasks=None, start: Optional[datetime] = START, stop: Optional[datetime]
src/aws-healthomics-mcp-server/tests/test_metrics_run_context.py:53
↓ 7 callersMethod_scrub_dict_recursive
Recursively scrub sensitive data from nested structures. Args: data: The data structure to scrub Returns: Th
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/utils/data_scrubber.py:153
↓ 7 callersMethod_search_single_reference_store_paginated
Search a single HealthOmics reference store with pagination support. Args: store_id: ID of the reference store store_
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:954
↓ 7 callersFunction_stub
Queue one GetBillingPreferences response on an activated stubber. Args: response: The response body the API should return. expect
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_operations.py:51
↓ 7 callersMethod_transform_history_item
Parse and transform a CloudWatch alarm history item.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_alarms/tools.py:463
↓ 7 callersMethod_validate_included_attributes_exist
Validate that included_attributes reference valid entity fields. Args: gsi_list: List of GSI definitions entities: Di
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:1198
↓ 7 callersFunction_wait_for_settled
Wait for the page to settle after an interaction that may trigger navigation. Pages restored from the back-forward cache (bfcache) may not re-fir
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/interaction.py:41
↓ 7 callersMethodadd_errors
Add multiple errors to the validation result.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/validation_utils.py:48
↓ 7 callersMethodadd_rect
Add rectangle element with optional tooltip. Args: x: X position y: Y position width: Rectangle width
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/visualization/svg_builder.py:75
↓ 7 callersFunctionanalyze_canary_logs_with_time_window
Analyze canary logs within a specific time window around failure.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_utils.py:575
↓ 7 callersFunctionanalyze_iam_role_and_policies
Analyze IAM Role and Policies.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_utils.py:139
↓ 7 callersFunctionanalyze_log_files
Analyze log files from canary runs.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_utils.py:410
↓ 7 callersMethodanalyze_query
Analyze a CQL query for performance characteristics.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/services.py:116
↓ 7 callersMethodapply_pagination
Apply result limits and pagination to the ranked results. Args: results: List of ranked GenomicsFileResult objects ma
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/result_ranker.py:65
↓ 7 callersMethodauthorize_security_group_ingress
(self)
src/elasticache-mcp-server/tests/tools/rg/test_connect.py:329
↓ 7 callersMethodbrowser_close
Close the current page. Closes the active page in the browser session. If multiple tabs are open, subsequent tools will use the remai
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/management.py:170
↓ 7 callersMethodbrowser_handle_dialog
Configure how JavaScript dialogs are handled for a session. Sets a persistent handler for JavaScript dialogs (alert, confirm, prompt,
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/interaction.py:443
↓ 7 callersFunctionbuild_bearer_config
Build a ConnectionConfig for bearer-token authentication. Args: bearer_token: The OAuth access token. refresh_token: The OAuth re
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/config_store.py:115
↓ 7 callersMethodcalculate_delay
Calculate delay for the given attempt number. Args: attempt: Current attempt number (0-based) retry_after: Optional r
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/retry_handler.py:74
↓ 7 callersMethodcalculate_gsi_wcus
Calculate WCUs for each affected GSI. Args: table: Table instance containing GSI definitions Returns: List o
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/data_model.py:161
↓ 7 callersMethodcalculate_wcus
Calculate Write Capacity Units.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/data_model.py:213
↓ 7 callersFunctioncheck_classic_load_balancers
Check Classic Load Balancers for data-in-transit security best practices.
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/network_security.py:332
↓ 7 callersFunctioncheck_ecr_image_exists
Checks if a Docker image exists in ECR. Args: image_uri: Full ECR image URI (e.g., 123456789012.dkr.ecr.us-west-2.amazon
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/aws.py:360
↓ 7 callersFunctioncheck_lambda_permissions
Check if IAM role has proper Lambda execution permissions.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_utils.py:59
↓ 7 callersFunctioncheck_macie
Check if Amazon Macie is enabled in the specified region. Args: region: AWS region to check session: boto3 Session for AWS API ca
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:1423
↓ 7 callersFunctioncheck_readonly_mode
Check if server is in read-only mode and raise error if so.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/tools/resource_operations.py:37
↓ 7 callersFunctioncheck_security_policy
Check security policy for the given command and return decision.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/service.py:92
↓ 7 callersFunctioncheck_security_services
Verify if selected AWS security services are enabled in the specified region and account. This consolidated tool checks the status of multiple AW
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/server.py:133
↓ 7 callersFunctioncheck_trusted_advisor
Check if AWS Trusted Advisor is accessible in the account. Args: region: AWS region to check (Trusted Advisor is a global service, but AP
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:1156
↓ 7 callersFunctioncleanup_workflow_tokens
Clean up workflow tokens after operations.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/utils/validation.py:38
↓ 7 callersMethodcolumn
(self, name)
src/s3-tables-mcp-server/tests/test_file_processor_utils.py:325
↓ 7 callersFunctioncontainerize_app
Provides guidance for containerizing a web application. This function provides guidance on how to build Docker images for web applications,
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/containerize.py:29
↓ 7 callersFunctionconvert_temporal_fields_in_table
Convert string temporal fields in PyArrow table to appropriate temporal types. Args: pyarrow_table: PyArrow table with string temporal va
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/file_processor/utils.py:68
↓ 7 callersFunctioncost_optimization_hub
Mock implementation of cost_optimization_hub for testing.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:35
↓ 7 callersMethodcreate
Create a new entity with optimistic locking (prevents overwrites) Note: Uses exclude_none=True to support sparse GSIs. Fields with None
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/elearning/base_repository.py:111
↓ 7 callersFunctioncreate_api_key_operation
Execute create_api_key operation.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/operations/create_api_key.py:22
↓ 7 callersFunctioncreate_bulk_import_schema
Construct and validate a bulk import schema. Args: asset_models: List of asset model definitions. Each must include: - assetM
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_metadata_transfer.py:46
↓ 7 callersFunctioncreate_error_response
Create a standardized error response. Args: error: The exception that occurred resource_name: The name of the resource being acce
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/resources.py:35
↓ 7 callersFunctioncreate_state_machine_tool
Create a tool function for a Step Functions state machine. Args: state_machine_name: Name of the Step Functions state machine sta
src/stepfunctions-tool-mcp-server/awslabs/stepfunctions_tool_mcp_server/server.py:217
↓ 7 callersFunctioncreate_table
Create a new table associated with the given namespace in a table bucket. Permissions: You must have the s3tables:CreateTable permission to u
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/tables.py:28
↓ 7 callersFunctioncreate_test_request
Create a test request with the given parameters.
src/elasticache-mcp-server/tests/tools/cc/test_create_additional.py:25
↓ 7 callersMethodcursor
Get a cursor. Returns: CursorContext: A context manager for a cursor
src/postgres-mcp-server/tests/conftest.py:390
↓ 7 callersMethoddebug
Log a debug message to both MCP context and Loguru. Args: message: The debug message to log
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/logging_utils.py:129
↓ 7 callersMethoddelete
Generic delete operation
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/deals/base_repository.py:212
↓ 7 callersMethoddelete
Generic delete operation
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/package_delivery/base_repository.py:212
↓ 7 callersFunctiondescribe_budget_actions
Retrieves budget enforcement actions, routing by ``budget_name``. When ``budget_name`` is provided, calls the per-budget DescribeBudgetActionsFor
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/budget_tools.py:328
↓ 7 callersMethoddescribe_images
(self)
src/elasticache-mcp-server/tests/tools/rg/test_connect.py:335
↓ 7 callersMethoddescribe_subnets
(self)
src/elasticache-mcp-server/tests/tools/rg/test_connect.py:314
↓ 7 callersFunctiondetect_transaction_bypass_attempt
Detect transaction control statements that could bypass read-only enforcement. In read-only mode the server wraps queries with SET TRANSACTION RE
src/oracle-mcp-server/awslabs/oracle_mcp_server/mutable_sql_detector.py:270
↓ 7 callersFunctiondiscover_vpcs_from_cloudformation
Discover VPC IDs from all CloudFormation stacks.
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/fetch_network_configuration.py:261
↓ 7 callersFunctiondownload_agent_artifact
Download the agent artifact content as a parsed JSON object. Returns a dict with optional keys: content, rawText, warning, sizeBytes. For art
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/hitl.py:77
↓ 7 callersFunctionensure_vm_running
Ensure that the Finch VM is running before performing operations. This function checks the current status of the Finch VM and takes appropriate a
src/finch-mcp-server/awslabs/finch_mcp_server/server.py:232
↓ 7 callersMethoderror
Record the error detail instead of discarding it.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:369
↓ 7 callersFunctionexecute_action
Execute an action on a target resource in AWS IoT SiteWise. This API executes an action on a target resource. Actions are typically used to b
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_executions.py:47
← previousnext →1,201–1,300 of 32,024, ranked by callers