MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 3 callersMethod_create_error_response
Create a standardized error response.
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/mcp_lambda_handler.py:320
↓ 3 callersMethod_create_genomics_file_from_object
Create a GenomicsFile object from S3 object metadata. Args: s3_object: S3 object dictionary from list_objects_v2 buck
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:720
↓ 3 callersFunction_create_invoicing_client
Create an AWS Invoicing client. The Region is intentionally not hard-coded. ``create_aws_client`` resolves it from the ``AWS_REGION`` environ
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/invoice_units_operations.py:51
↓ 3 callersMethod_create_pagination_cache_key
Create a cache key for pagination state. Args: request: Search request page_number: Current page number Retu
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1174
↓ 3 callersFunction_create_sigv4_client
Create a SigV4-signed boto3 client for a Transform Coral service. Creates a fresh botocore session with the user's profile and region so that
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/transform_api_client.py:124
↓ 3 callersMethod_create_success_response
Create a standardized success response.
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/mcp_lambda_handler.py:389
↓ 3 callersMethod_create_transaction_pattern_mapping
Create access pattern mapping entry for a cross-table transaction pattern. Args: pattern: Cross-table pattern definition from sch
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:778
↓ 3 callersFunction_create_unit_pricing_details_table
Create a detailed unit pricing reference table.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:166
↓ 3 callersMethod_credit
Return a copy of sample_credit valid between two day offsets from now.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:294
↓ 3 callersFunction_decode_products
Parse each PriceList entry once: the product dict, or the exception that parsing raised.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/aws_pricing_operations.py:428
↓ 3 callersFunction_decoded_literals
Return the JSON-decoded value of every `prefix<literal>` line in a rendered stack. A literal that decodes cleanly proves the value was emitted as
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:505
↓ 3 callersMethod_deduplicate_files
Remove duplicate files based on their paths. Args: files: List of GenomicsFile objects that may contain duplicates Retur
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1035
↓ 3 callersMethod_denied
Wire discovery with either half refused, and nothing found on the other.
src/redshift-mcp-server/tests/test_clusters.py:769
↓ 3 callersFunction_denied_operation
Return the keyword if the statement is, or contains, one of `keywords`. First classifies a whole-statement bare identifier (the `START`/`ABORT` f
src/redshift-mcp-server/awslabs/redshift_mcp_server/sql_guard.py:295
↓ 3 callersMethod_deny_the_batch
Make the batch path answer AccessDeniedException.
src/redshift-mcp-server/tests/test_redshift.py:3914
↓ 3 callersMethod_describe_hp_cluster_node
Describe a SageMaker HyperPod cluster node. This tool describes a specific node in a SageMaker HyperPod cluster. It returns detailed
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_cluster_node_handler.py:737
↓ 3 callersFunction_description
(tool_name)
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:129
↓ 3 callersMethod_description
The sp-explorer description as published to MCP clients.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:1224
↓ 3 callersMethod_description
()
src/billing-cost-management-mcp-server/tests/tools/test_procurement_preferences_tools.py:516
↓ 3 callersMethod_detect_strongest_seasonality
Detect seasonal patterns and compute trend in the data.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_data_decomposer.py:79
↓ 3 callersMethod_determine_group_type
Determine the group type based on the primary file and its associations.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/file_association_engine.py:338
↓ 3 callersFunction_determine_operation_type
Determine operation type from target ARN.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_scheduling/tools.py:44
↓ 3 callersFunction_discover_sigv4_regions
Fan out ListWorkspaces across the supported regions of one partition. Args: caller_region: The resolved AWS region, used to pick the part
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/server.py:229
↓ 3 callersFunction_dispatch_with_cpu_architectures
Run the dispatcher with an ACTIVE, empty-result client; return (coroutine, client).
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3092
↓ 3 callersFunction_echo
Text from the caller, cut to _MAX_ECHOED_TEXT characters.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/server.py:139
↓ 3 callersFunction_ensure_datetime
Normalize a value into an optional ``datetime`` object. MCP serializes all tool arguments as JSON, so ``start_time``/``end_time`` always
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/time_utils.py:23
↓ 3 callersFunction_ensure_vpc_cache
Reject jump-host operations for serverless caches with ConnectionType 'public'. Public-endpoint caches have no VPC endpoint, subnets, or security
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/serverless/connect.py:25
↓ 3 callersFunction_epoch_of
Convert a ``YYYY-MM-DD`` date to epoch seconds without the module's converter. Computing the expected value independently keeps the conversion as
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:152
↓ 3 callersFunction_execute_single_command
( cmd: str, ctx: Context, max_results: int | None )
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/server.py:280
↓ 3 callersMethod_execute_with_retry
Execute an operation with exponential backoff retry logic. Args: operation: Function to execute Returns: Ope
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/translation_service.py:417
↓ 3 callersFunction_explicit_headers
Build ASGI headers carrying explicit AWS credentials.
src/aws-healthomics-mcp-server/tests/test_middleware_context_lifecycle.py:68
↓ 3 callersMethod_extract_error_details
Extract error details from job information. Args: job_details: Job details from AWS API response Returns: Er
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:621
↓ 3 callersFunction_extract_field_names
Extract field names from a comma-separated field list, ignoring functions and keywords.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/query_parser.py:185
↓ 3 callersMethod_extract_retry_after
Extract retry-after value from client error response. Args: client_error: ClientError to examine Returns: Re
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/translation_service.py:543
↓ 3 callersMethod_extract_table_name
Extract the table name from a query.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/services.py:199
↓ 3 callersMethod_fake_mcp
(self)
src/aws-healthomics-mcp-server/integration/harness_tests/test_entrypoint_header_shim.py:135
↓ 3 callersFunction_fetch_error_patterns
Per-(operation, exception) error counts from the ``count`` MetricV2 metric. Returns a list of ``{operation, exception, exception_type, count}`` r
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:309
↓ 3 callersFunction_fetch_region_from_arn
(parameters: dict[str, Any])
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:864
↓ 3 callersFunction_file_lock
Cross-platform exclusive file lock for state read-modify-write cycles. Uses `filelock`, which is `fcntl` on POSIX and `msvcrt` on Windows under t
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:77
↓ 3 callersFunction_filter_knowledge_proxy_tools
Filter AWS Knowledge proxy tools to only expose allowlisted tools.
src/ecs-mcp-server/awslabs/ecs_mcp_server/modules/aws_knowledge_proxy.py:91
↓ 3 callersFunction_filter_value_key
Fold a filter value for matching: case- and underscore-insensitive. Lets the UPPER_SNAKE spelling EC2 returns in its `finding` field (OVER_PROVIS
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_tools.py:672
↓ 3 callersMethod_find
(self, helper_name, kwargs, mock_aws_clients)
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_utils.py:832
↓ 3 callersFunction_find_ap_for_table
Look up the access pattern for a result, returning None if not found or wrong table.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/report_generator.py:137
↓ 3 callersMethod_find_associated_files
Find files associated with the given primary file.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/file_association_engine.py:226
↓ 3 callersMethod_find_aws_services_from_module
Find AWS services used by a module based on its source and variables. Args: source: The module source path or URL var
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/terraform_analyzer.py:43
↓ 3 callersFunction_find_cloudformation_stack
Finds a CloudFormation stack using provided name or common patterns. Args: app_name: Name of the application stack_name: Spe
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/status.py:275
↓ 3 callersMethod_format_anomaly_detection_alarm_data
Sanitize alarm data and add computed fields.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/cloudformation_template_generator.py:102
↓ 3 callersMethod_format_array_value
Format value as Python list.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/languages/python/usage_data_formatter.py:86
↓ 3 callersFunction_format_cost_category_values
Format cost category values from the AWS API response. Args: cost_categories: A cost category values object from the AWS API. Return
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bvs_operations.py:619
↓ 3 callersFunction_format_list_billing_view_element
Format a billing view list element object from the ListBillingViews API response. Uses only the common billing view fields available in the B
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bvs_operations.py:548
↓ 3 callersMethod_format_string_value
Format value as Python string literal.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/languages/python/usage_data_formatter.py:55
↓ 3 callersFunction_format_tag_values
Format tag values from the AWS API response. Args: tags: A tag values object from the AWS API. Returns: Dict with formatted
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bvs_operations.py:604
↓ 3 callersFunction_format_tags
Format a list of tag key-value pairs. Args: tags: The list of tag objects from the AWS API. Returns: List of formatted tag d
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:77
↓ 3 callersFunction_full_utilization_data
Return every field ReservationAggregates carries, as the API returns them. All seventeen are decimal strings. The nine monetary ones were previou
src/billing-cost-management-mcp-server/tests/tools/test_ri_performance_tools.py:310
↓ 3 callersMethod_generate_auth_headers
Generate authentication headers. This method is cached to avoid regenerating headers for the same token. Args: token: Be
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/bearer_auth.py:79
↓ 3 callersFunction_generate_data_boundary
Generate a randomized boundary tag for wrapping untrusted data.
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:106
↓ 3 callersMethod_generate_manifest
Generate manifest.md with links to all files.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/markdown_formatter.py:258
↓ 3 callersMethod_get_account_id
Get the current AWS account ID. Returns: AWS account ID string
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:1539
↓ 3 callersFunction_get_alb_url
Gets the ALB URL from CloudFormation outputs. Args: app_name: Name of the application known_stack_name: If a valid stack nam
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/status.py:303
↓ 3 callersFunction_get_all_app_ids
Retrieve all application IDs from SSM for SAP.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:86
↓ 3 callersMethod_get_cached_pagination_state
Get cached pagination state if available and not expired. Args: cache_key: Cache key for the pagination state Returns:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1207
↓ 3 callersFunction_get_cfn_stack_status
Gets the status of a CloudFormation stack. Args: stack_name: Name of the CloudFormation stack Returns: Dictionary conta
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/status.py:187
↓ 3 callersFunction_get_dynamodb_local_paths
Get paths for DynamoDB Local artifacts.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:346
↓ 3 callersMethod_get_file_operation_calls
Get all file operation tool calls.
src/cloudwatch-applicationsignals-mcp-server/evals/core/metrics_tracker.py:130
↓ 3 callersMethod_get_object_tags_cached
Get tags for an S3 object with caching. Args: bucket_name: Name of the S3 bucket key: Object key Returns:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:750
↓ 3 callersMethod_get_region
Get the current AWS region. Returns: AWS region string
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:1526
↓ 3 callersFunction_get_region_context
Return the shared _RegionContext for *region*, creating one if needed.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/cwl_insights_batch.py:113
↓ 3 callersMethod_get_return_description
Get description for return value in docstring. Args: pattern: Cross-table pattern dict Returns: Description
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:695
↓ 3 callersMethod_get_service_principal
Get the service principal for a specific service type. Args: service_type: Type of data processing service Returns:
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/commons/common_resource_handler.py:1440
↓ 3 callersFunction_get_slo_compliance_summary
Get structured SLO compliance summary for the health overview.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:1130
↓ 3 callersFunction_group
The first group of ``pattern`` in ``text``; fails the test if it does not match.
src/billing-cost-management-mcp-server/tests/test_server_instructions.py:306
↓ 3 callersFunction_guidance
Run _many_products_guidance on raw PriceList strings, decoded as get_pricing_from_api does.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:2027
↓ 3 callersMethod_handle_composite_alarm
Handle composite alarm component details retrieval.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_alarms/tools.py:612
↓ 3 callersFunction_handle_enterprise_support_error
Handle an Enterprise Support API error, explaining the ones that mislead. Failures this module classifies are returned with their own guidance; e
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/enterprise_support_operations.py:119
↓ 3 callersMethod_has_fastq_pair
Check if a FASTQ file has its R1/R2 pair in the associated files. Args: primary_file: The primary FASTQ file to check
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/scoring_engine.py:281
↓ 3 callersFunction_healthy_aurora_targets
(cluster_id='my-cluster')
src/postgres-mcp-server/tests/test_cp_api_connection.py:2240
↓ 3 callersFunction_iam
(config)
src/valkey-mcp-server/tests/test_connection.py:38
↓ 3 callersFunction_iam_env_present
()
src/valkey-mcp-server/tests/integration/test_iam_live.py:47
↓ 3 callersFunction_imds_redirect_routes
Routes where the docs host 302s to IMDS; IMDS would leak a marker if wrongly followed.
src/aws-documentation-mcp-server/tests/test_server_utils.py:514
↓ 3 callersFunction_input_schema
The served input schema, under whichever field name this FastMCP uses. MCP SDK v2 renamed ``inputSchema`` to ``input_schema``, and this package i
src/billing-cost-management-mcp-server/tests/test_tool_description_lint.py:135
↓ 3 callersFunction_install_cn_mock_transport
Force AsyncClient in target_module to use a MockTransport, preserving real event_hooks. Preserving the real hooks means a regression that dropped
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:328
↓ 3 callersFunction_integration_tests_dir
Return the real ``<repo>/integration/tests`` directory. Derived from this test file's location (``integration/harness_tests/``) so it matches the
src/aws-healthomics-mcp-server/integration/harness_tests/test_opt_in_gate.py:147
↓ 3 callersFunction_invoicing
Route an AWS Invoicing ``operation`` to its handler. Kept separate from the FastMCP-decorated wrapper so the routing can be unit tested direc
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/invoicing_tools.py:37
↓ 3 callersFunction_invoicing_shape
A shape from the live botocore ``invoicing`` model.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:1284
↓ 3 callersMethod_is_complete_file_set
Check if the file set represents a complete genomics file collection.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/scoring_engine.py:253
↓ 3 callersFunction_is_free_product
Check if product has only $0.00 OnDemand pricing across all currencies. Args: pricing_item: Parsed pricing item dictionary Returns:
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/pricing_transformer.py:26
↓ 3 callersFunction_is_future_billing_period
Return True when billing_period is a well-formed month after the current UTC month. A missing or malformed value is not future, including a non-s
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:120
↓ 3 callersMethod_is_pure_field_reference
Check if template is a pure field reference like '{field_name}'. A pure field reference contains only a single {field} placeholder with no
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:239
↓ 3 callersFunction_is_rejected
(rows)
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:3253
↓ 3 callersMethod_is_token_expired_or_expiring_soon
Check if token is expired or will expire soon. Returns: bool: True if token is expired or will expire soon, False otherwise
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/cognito_auth.py:214
↓ 3 callersFunction_iso
(dt: Optional[datetime])
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:104
↓ 3 callersFunction_jwt_context
Build a ``source='jwt'`` context with credentials derived from the identity. Mirrors the shape ``InboundJwtExchange.derive`` populates from an
src/aws-healthomics-mcp-server/tests/test_access_denied_passthrough.py:67
↓ 3 callersFunction_ledger_page
Build one GetCreditAllocationHistory page.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:858
↓ 3 callersMethod_list_hp_cluster_nodes
List SageMaker HyperPod cluster nodes. This tool lists nodes in a SageMaker HyperPod cluster with options for pagination and filtering.
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_cluster_node_handler.py:932
↓ 3 callersMethod_list_hp_clusters
List SageMaker HyperPod clusters. This tool lists SageMaker HyperPod clusters with options for pagination and filtering. It returns i
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_cluster_node_handler.py:409
↓ 3 callersMethod_load_config
Load full config file. Quarantines + recovers from corruption.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:129
↓ 3 callersFunction_load_kb_sync
Synchronously create and load a KB loader for tests.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_recommendation_engine.py:331
↓ 3 callersMethod_load_scans
(self)
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:133
↓ 3 callersMethod_load_yaml_template
Load and process Kubernetes template files. Args: template_files: List of template filenames to process values: Dicti
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_handler.py:855
↓ 3 callersMethod_log_auth_error
Log an authentication error. Args: error: The authentication error
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/base_auth.py:109
← previousnext →3,101–3,200 of 35,417, ranked by callers