MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

↓ 2 callersMethod_build_score_breakdown
Build a breakdown of the relevance score components. Args: result: GenomicsFileResult object Returns: Dictio
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/json_response_builder.py:317
↓ 2 callersFunction_build_text_query
Build a text query string, combining filter and query safely. Note: A bare '*' query may return "Invalid: query string syntax" on some Valkey
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/search_query.py:172
↓ 2 callersFunction_build_verification_link
Build a console verification link for a connector.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/connector.py:49
↓ 2 callersMethod_build_where_clause
Build the WHERE clause for a Metrics Insights query.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:720
↓ 2 callersMethod_calculate_association_score
Calculate bonus score based on associated files.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/scoring_engine.py:202
↓ 2 callersMethod_calculate_storage_score
Calculate score based on storage accessibility.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/scoring_engine.py:231
↓ 2 callersMethod_calculate_supported_pairs
Calculate all supported language pairs from the language list. Args: languages: List of language dictionaries from AWS API
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/language_operations.py:385
↓ 2 callersFunction_capture_loguru
Capture all loguru output (DEBUG and above) into a list of strings. loguru does not integrate with pytest's ``caplog``; a temporary sink is added
src/aws-healthomics-mcp-server/tests/test_no_secret_leakage_property.py:132
↓ 2 callersFunction_carries_sensitive_fields
Applies the production redaction rule to the botocore shape graph of one API response.
src/ecs-mcp-server/tests/unit/api/test_resource_management_sensitive_data.py:54
↓ 2 callersFunction_categorize_container_failure
Categorize container failure based on exit code and reason. Parameters ---------- container : Dict[str, Any] Container infor
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/fetch_task_failures.py:33
↓ 2 callersMethod_categorize_storage_tier
Categorize storage class into tiers. Args: storage_class: AWS S3 storage class Returns: Storage tier categor
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/json_response_builder.py:428
↓ 2 callersFunction_check_denied_policy_arn
Reject policy ARNs on the denylist. The comparison is case-insensitive and partition-independent: it matches on the policy name (the segment
src/iam-mcp-server/awslabs/iam_mcp_server/server.py:60
↓ 2 callersMethod_check_secure_exposure
Apply the secure-by-default exposure check for a network transport. Loopback hosts (IPv4 ``127.0.0.0/8`` or IPv6 ``::1``) bind silently. A
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/transport.py:142
↓ 2 callersFunction_check_wildcard_policy
Reject policy documents that grant overly broad access. Blocks any statement combining a broad Action (the literal '*' or a service wildcard
src/iam-mcp-server/awslabs/iam_mcp_server/server.py:82
↓ 2 callersFunction_clean_description
This removes the section title added by the help event handlers.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/help_command.py:32
↓ 2 callersMethod_client
(self, mock_client_cls)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:652
↓ 2 callersFunction_client_error
Create a ClientError for testing.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_invocation.py:31
↓ 2 callersFunction_client_error_body
(exc: ClientError)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/error_translation.py:57
↓ 2 callersFunction_client_factory
Build a create_aws_client side_effect returning per-service mocks.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:90
↓ 2 callersMethod_client_for
(self, mock_response)
src/aws-documentation-mcp-server/tests/test_server_utils.py:1792
↓ 2 callersMethod_client_for
(self, mock_response)
src/aws-documentation-mcp-server/tests/test_server_utils.py:1864
↓ 2 callersMethod_client_for
(self, mock_response)
src/aws-documentation-mcp-server/tests/test_server_utils.py:1928
↓ 2 callersMethod_close_pool_unlocked
Close the pool. Caller must hold writer_lock.
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/asyncmy_pool_connection.py:401
↓ 2 callersFunction_coerce_for_column
Coerce a value for binding into a SQLite column of ``sqlite_type``. Only REAL needs active coercion: boto3 occasionally returns ``Decimal`` i
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:504
↓ 2 callersFunction_collect_automation_event_steps
Paginate automation event steps, returning the items and any leftover token. See list_automation_event_steps for argument semantics.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:864
↓ 2 callersFunction_collect_automation_event_summaries
Paginate automation event summaries, returning items and any leftover token. See list_automation_event_summaries for argument semantics.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:893
↓ 2 callersFunction_collect_automation_events
Paginate automation events, returning the items and any leftover token. See list_automation_events for argument semantics.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:826
↓ 2 callersFunction_collect_automation_rule_preview
Paginate automation rule preview results, returning items and any leftover token. See list_automation_rule_preview for argument semantics.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:995
↓ 2 callersFunction_collect_automation_rule_preview_summaries
Paginate rule preview summaries, returning the items and any leftover token. See list_automation_rule_preview_summaries for argument semantics.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:1036
↓ 2 callersFunction_collect_base_table_rows
Collect access pattern rows for a base table (reads without GSI + all writes).
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/report_generator.py:149
↓ 2 callersFunction_collect_gsi_read_rows
Collect GSI read pattern rows.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/report_generator.py:169
↓ 2 callersFunction_collect_gsi_write_amp_rows
Collect GSI additional write rows.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/report_generator.py:194
↓ 2 callersFunction_collect_recommended_action_summaries
Paginate recommended action summaries, returning items and any leftover token. See list_recommended_action_summaries for argument semantics.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:963
↓ 2 callersFunction_collect_recommended_actions
Paginate recommended actions, returning the items and any leftover token. See list_recommended_actions for argument semantics.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:931
↓ 2 callersFunction_collect_task_summaries
Query one run's per-task summaries: metric name -> task_id -> summary.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:580
↓ 2 callersFunction_compose_spans_query
Prepend SOURCE logGroups() and filterIndex @data_format clauses to a user query. - If the user already started the query with a SOURCE command, t
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/trace_tools.py:48
↓ 2 callersFunction_configure_security_groups
Configure security group rules to allow access from EC2 instance to ElastiCache serverless cache. Args: serverless_cache_name (str): Name
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/serverless/connect.py:25
↓ 2 callersFunction_configure_security_groups
Configure security group rules to allow access from EC2 instance to ElastiCache cluster. Args: cache_cluster_id (str): ID of the ElastiCa
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/cc/connect.py:25
↓ 2 callersFunction_connect
(Re)establish the connection so it picks up readonly state. internal_create_connection reads the server.readonly_query global at conn
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:2788
↓ 2 callersFunction_construct_command
( command_metadata: CommandMetadata, global_args: argparse.Namespace, parameters: dict[str, Any],
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:873
↓ 2 callersFunction_container_is_running
Check if container is currently running.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:281
↓ 2 callersMethod_convert_parameters
Transform structured parameter format to psycopg's native parameter format.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/psycopg_pool_connection.py:638
↓ 2 callersMethod_convert_sql_for_psycopg
Convert Aurora-style :name placeholders to psycopg %(name)s style. Delegates the *matching* rule to :mod:`named_params`, which the SQL policy
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/psycopg_pool_connection.py:661
↓ 2 callersMethod_convert_time_to_timestamp
Convert ISO 8601 time string to Unix timestamp. Args: time_str: ISO 8601 formatted time string Returns: Unix
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/tools.py:73
↓ 2 callersMethod_create_anomaly_detector_data
Format Anomaly Detector data for use in alarm creation. Args: metric_name: The metric name namespace: The metric name
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:1069
↓ 2 callersFunction_create_billing_client
Create an AWS Billing client. Returns: boto3.client: AWS Billing client.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:63
↓ 2 callersFunction_create_cognito_client
Build a boto3 ``cognito-idp`` client for live provisioning/teardown (lazy import).
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:816
↓ 2 callersFunction_create_dynamodb_client
Create a DynamoDB client with appropriate configuration. Args: endpoint_url: Optional endpoint URL for local DynamoDB Returns:
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:75
↓ 2 callersFunction_create_ecs_mcp_server
Create and configure the MCP server.
src/ecs-mcp-server/awslabs/ecs_mcp_server/main.py:86
↓ 2 callersMethod_create_for_testing
Create an S3SearchEngine for testing purposes without bucket validation. This method bypasses bucket access validation and should only be use
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:135
↓ 2 callersFunction_create_free_tier_info
Create the free tier information section.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:310
↓ 2 callersFunction_create_healthomics_policy
Create a sample repository policy that grants HealthOmics access.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1109
↓ 2 callersFunction_create_healthomics_template_policy
Create a sample repository creation template policy that grants HealthOmics access.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:2939
↓ 2 callersFunction_create_iam_client
Build a boto3 IAM client for live provisioning/teardown (lazy import).
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:802
↓ 2 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/procurement_preferences_operations.py:73
↓ 2 callersMethod_create_model_import_job_from_response
Create a ModelImportJob from the API response. Args: job_info: The job data from the API Returns: ModelImpor
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/services/model_import_service.py:256
↓ 2 callersMethod_create_pagination_metrics
Create pagination metrics for performance monitoring. Args: page_number: Current page number start_time: Search start
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1251
↓ 2 callersFunction_create_read_tool_proxy
()
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/server.py:66
↓ 2 callersMethod_create_search_cache_key
Create a cache key for search results. Args: bucket_paths: List of S3 bucket paths file_type: Optional file type filt
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:909
↓ 2 callersFunction_create_service_target
Create a standardized service target configuration.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:221
↓ 2 callersFunction_create_sigv4_client
Create a boto3 FES client with SigV4 signing from default credentials. Creates a fresh botocore session with the user's profile and region so tha
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/transform_api_client.py:112
↓ 2 callersFunction_create_usage_cost_table
Create the usage cost table with different usage tiers.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:340
↓ 2 callersFunction_declared_minimum
Return the declared minimum Version for a package from pyproject.toml.
src/aws-healthomics-mcp-server/tests/test_sdk_scratch_storage.py:60
↓ 2 callersFunction_decode_region_map
Decode an opaque token into its per-region pagination map. Raises: RegionalTokenError: If the token is malformed or contains invalid stat
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/regional_fanout.py:198
↓ 2 callersFunction_deduplicate_headers
De-duplicate header names by appending numeric suffixes to collisions.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:305
↓ 2 callersFunction_derive_partition
Derive the AWS partition from a session's caller identity ARN. Builds an STS client from the given session, calls ``get_caller_identity``, an
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:720
↓ 2 callersMethod_describe_stack
Describe a CloudFormation stack.
src/eks-mcp-server/awslabs/eks_mcp_server/eks_stack_handler.py:466
↓ 2 callersMethod_determine_grant_type
Determine the grant type based on provided credentials. Returns: str: The grant type to use ('client_credentials' or 'password')
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/cognito_auth.py:116
↓ 2 callersFunction_discover_services_by_group
Discover all services belonging to a specific group. Uses the ServiceGroups field from ListServices API response which contains: - GroupName:
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/group_tools.py:77
↓ 2 callersFunction_ecs_model
()
src/ecs-mcp-server/tests/unit/api/test_resource_management_sensitive_data.py:50
↓ 2 callersFunction_end_of_dollar_quote
Return the index just past a dollar-quoted string at ``i``, or ``None`` if not one. ``$tag$ ... $tag$`` (tag may be empty: ``$$``). Backslashes a
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/mutable_sql_detector.py:462
↓ 2 callersFunction_end_of_double_quote
Return the index just past the closing quote of the double-quoted identifier at ``i``. ``sql[i]`` must be the opening ``"``. Handles the ``""`` d
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/mutable_sql_detector.py:480
↓ 2 callersFunction_end_of_single_quote
r"""Return the index just past the closing quote of the single-quoted literal at ``i``. ``sql[i]`` must be the opening ``'``. Handles the ``''``
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/mutable_sql_detector.py:434
↓ 2 callersFunction_environment
(record: Dict[str, Any])
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:268
↓ 2 callersMethod_error_code_to_http_status
Map JSON-RPC error codes to HTTP status codes.
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/mcp_lambda_handler.py:345
↓ 2 callersMethod_exact_match_score
Calculate score for exact matches (case-insensitive).
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/pattern_matcher.py:143
↓ 2 callersMethod_express_service_response
()
src/ecs-mcp-server/tests/unit/api/test_resource_management_sensitive_data.py:188
↓ 2 callersMethod_extract_basename
Extract basename from path. Args: path: File path Returns: File basename
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/json_response_builder.py:406
↓ 2 callersMethod_extract_bearer_token
Extract the bearer token from the ASGI scope ``Authorization`` header. Args: scope: The ASGI HTTP connection scope. ``scope['head
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/mechanisms/jwt_exchange.py:229
↓ 2 callersMethod_extract_clustering_columns
Extract clustering columns from table details.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/services.py:257
↓ 2 callersFunction_extract_config
Extract the Config object from a mock session.client() call.
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_policy_client.py:30
↓ 2 callersFunction_extract_config
Extract the Config object from a mock session.client() call.
src/amazon-bedrock-agentcore-mcp-server/tests/memory/test_unit_memory_client.py:33
↓ 2 callersFunction_extract_config
Extract the Config object from a mock session.client() call.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_runtime_client.py:31
↓ 2 callersMethod_extract_entity_names
Extract unique entity names from cross-table patterns. Args: cross_table_patterns: List of cross-table pattern dicts Ret
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:743
↓ 2 callersMethod_extract_file_extension
Extract file extension from path. Args: path: File path Returns: File extension (without dot)
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/json_response_builder.py:378
↓ 2 callersMethod_extract_file_type
Extract file type from S3 key.
src/aws-healthomics-mcp-server/tests/test_integration_framework.py:234
↓ 2 callersMethod_extract_next_page_token
Extract an opaque continuation token from a Bundle's ``next`` link. Returns a single opaque token string that packs *both* HealthLake's
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:366
↓ 2 callersMethod_extract_partition_key_columns
Extract partition key columns from table details.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/services.py:244
↓ 2 callersFunction_extract_port_from_cmdline
Extract port number from Java command line arguments. Args: cmdline: List of command line arguments from process Returns: Op
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:313
↓ 2 callersFunction_extract_table_data
Extract headers and rows from an HTML table element. Handles rowspan by detecting which columns are "parent" (have rowspan > 1) and nesting t
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:319
↓ 2 callersFunction_factory
Return an sts_client_factory yielding the given recording stub.
src/aws-healthomics-mcp-server/tests/test_jwt_external_id_enforcement_property.py:110
↓ 2 callersFunction_factory
Return an sts_client_factory yielding the given recording stub.
src/aws-healthomics-mcp-server/tests/test_jwt_exchange_failure.py:99
↓ 2 callersFunction_factory
Return an ``sts_client_factory`` yielding the given stub client.
src/aws-healthomics-mcp-server/tests/test_no_secret_leakage_property.py:122
↓ 2 callersFunction_factory_for
Return an ``sts_client_factory`` that always yields the given stub client.
src/aws-healthomics-mcp-server/tests/test_per_request_freshness_property.py:127
↓ 2 callersMethod_fail_with_diff
Fail with a detailed diff.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_snapshot_generation.py:329
↓ 2 callersMethod_fetch_full_ax_nodes
Fetch the complete accessibility tree.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/snapshot_manager.py:278
↓ 2 callersFunction_finalize_response
Offload an oversized response to session SQL and wrap it in the envelope. Args: ctx: The MCP context object. response: The assemb
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:545
↓ 2 callersMethod_find_job_by_approximate_match
Find a job by name. First tries using nameContains parameter, then falls back to approximate matching if no results. Args:
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/client.py:344
↓ 2 callersMethod_find_model_by_approximate_match
Find a model by name. First tries using nameContains parameter, then falls back to approximate matching if no results. Args:
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/client.py:419
↓ 2 callersMethod_find_model_in_s3
Search for a model in S3 bucket using approximate matching. Uses approximate string matching to find the best matching path for the model.
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/client.py:265
← previousnext →3,401–3,500 of 32,024, ranked by callers