MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

↓ 2 callersMethod_normalize_query
Normalize a query for analysis.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/services.py:195
↓ 2 callersFunction_omics_input_members
Return the input shape members for an omics operation (no network calls).
src/aws-healthomics-mcp-server/tests/test_sdk_scratch_storage.py:90
↓ 2 callersFunction_operation
(record: Dict[str, Any])
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:273
↓ 2 callersFunction_parse_datetime
Parse a UTC datetime string into a timezone-aware datetime for boto3. Args: value: A datetime string in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:1120
↓ 2 callersFunction_parse_deployment_timestamp
Parse a raw deployment ``deployed_at`` string to a tz-aware UTC datetime. The SDK attribute (``aws.service_events.deployment.timestamp``) is not
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:354
↓ 2 callersFunction_parse_epoch_range
Validate and convert a calendar-date range into epoch seconds. Rejects a missing start date, a missing end date when the operation requires o
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:93
↓ 2 callersFunction_parse_iso_timestamp
Parse an ISO 8601 timestamp, accepting trailing 'Z' as UTC. A naive input (no 'Z' or offset, e.g. ``2025-02-03T18:42:00``) is assumed to be U
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/status_tools.py:77
↓ 2 callersFunction_parse_json_response
Decode bytes and parse JSON from a GLIDE response.
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/json.py:32
↓ 2 callersFunction_partition_resource_not_found_errors
Separate not-found outcomes from other regional errors.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_tools.py:571
↓ 2 callersFunction_pct_change
Percent change from ``prior`` to ``recent`` (None when there is no baseline).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:442
↓ 2 callersFunction_persist
Write the current inventory to disk, validating attributes against the scanner.
src/aws-healthomics-mcp-server/integration/deploy/common.py:214
↓ 2 callersFunction_platform_mismatch
Return an error message if the requested platform is incompatible with the monitor. ``requested`` is 'ios'/'android'/'all' and ``monitor_platform
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:432
↓ 2 callersFunction_preprocess_dotnet_deployment_automation
Normalize bare string to {configType: string} for deployment options.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:204
↓ 2 callersFunction_preprocess_dotnet_post_transformation_error
Normalize boolean to {resolved: bool} for DotnetPostTransformationError.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:197
↓ 2 callersFunction_preprocess_dotnet_repo_access_error
Normalize boolean to {resolved: bool} for DotnetRepositoryAccessError.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:190
↓ 2 callersFunction_preprocess_file_upload_component
Wrap a bare array into {uploadedFile: [...]} for FileUploadComponent.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:182
↓ 2 callersFunction_preprocess_mainframe_smf_configure
Normalize bare S3 path string to {sourceCodeS3Path: string}.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:261
↓ 2 callersFunction_preprocess_mainframe_test_data_add
Normalize bare S3 path string to {s3Path: string} for test data.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:268
↓ 2 callersFunction_preprocess_mainframe_test_scripts_provide
Normalize bare S3 path string to {s3Path: string} for test scripts.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:275
↓ 2 callersFunction_preprocess_text_input
Normalize TextInput content to {data: string} format.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:115
↓ 2 callersFunction_print_provision_result
Print a provisioning outcome in a stable, human-readable form.
src/aws-healthomics-mcp-server/integration/deploy/cli.py:161
↓ 2 callersFunction_print_teardown_result
Print a teardown outcome, naming the exact undeleted resources on failure (Req 8.6).
src/aws-healthomics-mcp-server/integration/deploy/cli.py:172
↓ 2 callersFunction_process_change_events
Process change events into a standardized format. Args: events: List of change event dictionaries from AWS API Returns: Tupl
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/change_tools.py:53
↓ 2 callersFunction_process_custom_sections
Process custom sections for the report.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:590
↓ 2 callersFunction_process_task_failure
Process a single task failure and extract relevant information. Parameters ---------- task : Dict[str, Any] Task information
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/fetch_task_failures.py:80
↓ 2 callersFunction_provision_agentcore
Provision the zero-setup AgentCore deployment and return its outcome.
src/aws-healthomics-mcp-server/integration/deploy/cli.py:183
↓ 2 callersFunction_read_image_helper
Helper function to test image reading functionality using the actual server logic.
src/document-loader-mcp-server/tests/test_document_parsing.py:115
↓ 2 callersFunction_read_json_safely
Read JSON, quarantining the file if it's corrupt and returning {} instead. A corrupt file should not brick every tool call; instead, rename it to
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:49
↓ 2 callersFunction_record_columns
Derive the ordered column set for a record list from the union of item keys. Keys are collected in first-seen order across all items so items wit
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:457
↓ 2 callersFunction_record_role
Record an IAM role in the inventory before creating it (Req 8.3). IAM is a global service, but the record carries the deployment's region for a u
src/aws-healthomics-mcp-server/integration/deploy/iam.py:389
↓ 2 callersMethod_refresh_schema
Refreshes the Neptune graph schema information. This method queries the Neptune Analytics graph to build a complete schema representa
src/amazon-neptune-mcp-server/awslabs/amazon_neptune_mcp_server/graph_store/analytics.py:101
↓ 2 callersFunction_region
()
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/promql_client.py:73
↓ 2 callersFunction_register_client_app_id
Register event handler to inject clientAppId on every request.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/transform_api_client.py:79
↓ 2 callersFunction_register_handlers
Import and instantiate all tool handler classes on *mcp*. All tools are registered at startup regardless of auth state. Auth is checked at ca
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/server.py:146
↓ 2 callersFunction_registered_tool
Return the registered enterprise_support tool, asserting it exists. Returns: The registered FastMCP tool.
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_tools.py:60
↓ 2 callersFunction_reject
Log and raise for a rejected query. Args: reason: Non-sensitive explanation surfaced to the caller. cause: Optional underlying ex
src/redshift-mcp-server/awslabs/redshift_mcp_server/sql_guard.py:30
↓ 2 callersFunction_reject_external_refs
Reject any non-internal ``$ref`` before the spec reaches prance. prance's default resolver (and its validation backend) dereferences ``http(s
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi.py:81
↓ 2 callersFunction_reject_future_window
Reject a window that has not started yet. Clamping a future end date back to now would otherwise leave the start after the end, producing an
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:563
↓ 2 callersMethod_remove_checkov_metadata
Remove checkov metadata from a resource and clean up empty Metadata sections. Args: resource: The resource dictionary to process
src/eks-mcp-server/awslabs/eks_mcp_server/eks_stack_handler.py:556
↓ 2 callersMethod_remove_checkov_skip_annotations
Remove checkov skip annotations from YAML content. Args: content: YAML content as string Returns: YAML conte
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_handler.py:824
↓ 2 callersFunction_render_location_identifier_help
(action: str)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/crud_tools.py:484
↓ 2 callersFunction_replace_images_with_alt
Replace each image with its alt text; an icon's meaning is written only there.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:101
↓ 2 callersFunction_repo_root
Return the repository root. This file lives at ``integration/harness_tests/test_default_selection_smoke.py``, so the repo root is two directo
src/aws-healthomics-mcp-server/integration/harness_tests/test_default_selection_smoke.py:60
↓ 2 callersFunction_require_mapping
Return ``spec`` if it is a mapping, else raise a clear ``ValueError``. JSON/YAML may legally parse to a list, scalar, or ``None``. Returning such
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi.py:294
↓ 2 callersMethod_require_session
(self)
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:267
↓ 2 callersMethod_reset_logging_system
Reset logging system to clean state.
src/ecs-mcp-server/tests/unit/test_main.py:125
↓ 2 callersFunction_resolve_account_id
Return the account ID to query, auto-detecting the caller's when omitted. Billing operations that are account-scoped require ``accountId``, so th
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:291
↓ 2 callersFunction_resolve_both
Build sessions via the resolver and via get_aws_session under mocked boto3. Returns a tuple of (resolver_kwargs, legacy_kwargs, resolver_user_age
src/aws-healthomics-mcp-server/tests/test_credential_resolver.py:77
↓ 2 callersFunction_resolve_metric_names
Validate requested names against the schema (or default to expected-present).
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:184
↓ 2 callersMethod_resolver_for_map
(self, registry_map: dict, caller_claim: str)
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:88
↓ 2 callersFunction_resource_attrs
Return resource attributes, tolerating both flat and nested ``resource`` shapes.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:254
↓ 2 callersMethod_response
(self, text, landed)
src/aws-documentation-mcp-server/tests/test_server_utils.py:1784
↓ 2 callersMethod_response
(self, text, landed)
src/aws-documentation-mcp-server/tests/test_server_utils.py:1856
↓ 2 callersMethod_response
(self, landed)
src/aws-documentation-mcp-server/tests/test_server_utils.py:1918
↓ 2 callersFunction_restart_container
Restart a stopped container.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:288
↓ 2 callersMethod_retrieve_cloudwatch_metrics
Retrieve metrics from CloudWatch. Args: cloudwatch_client: CloudWatch client language_pair: Language pair filter
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/language_operations.py:480
↓ 2 callersMethod_run_async_test
Helper to execute async test functions.
src/ecs-mcp-server/tests/unit/test_main.py:282
↓ 2 callersFunction_run_quick_query
Run a quick Insights query and return results.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/index_recommender.py:66
↓ 2 callersFunction_safe_span
Safely parse a colspan/rowspan attribute, returning at least 1.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:130
↓ 2 callersMethod_sanitize_string
Sanitizes a string to remove sensitive information. Args: text: The string to sanitize Returns: str
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:373
↓ 2 callersFunction_scanner_or_skip
Build a scanner registered with the known secrets, or skip if none are available. Scanning with no registered secrets would pass trivially and pr
src/aws-healthomics-mcp-server/integration/tests/test_credential_safety.py:71
↓ 2 callersMethod_serialize_genomics_file
Serialize a GenomicsFile object to a dictionary. Args: file: GenomicsFile object to serialize Returns: Dicti
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/json_response_builder.py:151
↓ 2 callersMethod_serialize_results
Serialize GenomicsFileResult objects to dictionaries for JSON response. Args: results: List of GenomicsFileResult objects to seri
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/json_response_builder.py:105
↓ 2 callersFunction_service_name
(record: Dict[str, Any])
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:262
↓ 2 callersMethod_setup_service_with_sensitive_task_definition
Configure the ECS mock with a service whose task definition carries secrets.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:673
↓ 2 callersFunction_strip_callout_titles
Remove 'Note' and 'Important' labels, which are chrome rather than cell content.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:95
↓ 2 callersFunction_strip_comments_for_scan
Normalise SQL for keyword/pattern scanning by removing comments. ``sqlparse.format(strip_comments=True)`` removes ``-- ...``, ``/* ... */`` a
src/mysql-mcp-server/awslabs/mysql_mcp_server/mutable_sql_detector.py:357
↓ 2 callersFunction_strip_response_metadata
Return the API response without botocore's ``ResponseMetadata`` envelope. Args: api_response: The raw boto3 response. Returns:
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/enterprise_support_operations.py:257
↓ 2 callersFunction_strip_sql_comments_and_strings
Remove SQL comments and string literals from SQL text. String literals are replaced so that keywords inside quoted strings (e.g. WHERE name =
src/mssql-mcp-server/awslabs/mssql_mcp_server/mutable_sql_detector.py:81
↓ 2 callersFunction_sts_mock
Build an STS mock resolving to the given account.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:99
↓ 2 callersMethod_stubbed_client
Build a real billing client with stubbed pages. Args: page_tokens: Continuation token for each page, None on the last. R
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:690
↓ 2 callersMethod_substring_match_score
Calculate score for substring matches (case-insensitive).
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/pattern_matcher.py:149
↓ 2 callersFunction_summarize_access_analyzer_findings
Generate a summary of IAM Access Analyzer findings. Args: findings: List of IAM Access Analyzer finding dictionaries Returns:
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:1126
↓ 2 callersFunction_summarize_guardduty_findings
Generate a summary of GuardDuty findings. Args: findings: List of GuardDuty finding dictionaries Returns: Dictionary with su
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:991
↓ 2 callersFunction_summarize_inspector_findings
Generate a summary of Inspector findings. Args: findings: List of Inspector finding dictionaries Returns: Dictionary with su
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:1081
↓ 2 callersFunction_summarize_macie_findings
Generate a summary of Macie findings. Args: findings: List of Macie finding dictionaries Returns: Dictionary with summary in
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:1571
↓ 2 callersFunction_summarize_securityhub_findings
Generate a summary of Security Hub findings. Args: findings: List of Security Hub finding dictionaries Returns: Dictionary w
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:1034
↓ 2 callersFunction_summarize_trusted_advisor_findings
Generate a summary of Trusted Advisor findings. Args: findings: List of Trusted Advisor finding dictionaries Returns: Dictio
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:1386
↓ 2 callersFunction_tls_remediation_hint
Return operator remediation for a fixable TLS failure, else None. Only certificate *verification* failures are actionable via a flag, so this
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/psycopg_pool_connection.py:165
↓ 2 callersMethod_to_code_location_dict
(self)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/location.py:137
↓ 2 callersFunction_to_context
(context: dict[str, Any] | None)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/service.py:273
↓ 2 callersFunction_to_missing_context_failures
( failures: list[Failure] | None, )
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/service.py:251
↓ 2 callersFunction_to_validation_failures
(failures: list[Failure] | None)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/service.py:263
↓ 2 callersFunction_today
Current date, matching get_date_range's clock so default windows never clamp. Isolated in one function so tests can pin 'now' when exercising the
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_tools.py:86
↓ 2 callersFunction_tokenize
Split text into searchable tokens. Splits on whitespace and punctuation boundaries, preserving hyphenated terms (e.g., 'us-east-1') and versi
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:592
↓ 2 callersFunction_tool
Build a tiny stand-in tool object exposing only the ``.name`` attribute.
src/aws-healthomics-mcp-server/integration/harness_tests/test_transport_driver.py:109
↓ 2 callersFunction_unknown_name_pool
Generate a small pool of unique names outside the documented precedence.
src/aws-healthomics-mcp-server/tests/test_mechanism_precedence.py:116
↓ 2 callersFunction_unwrap_or_none
Return the result if successful, or None with a logged warning if it was an exception.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/job_status.py:339
↓ 2 callersFunction_update_results
Update the main results dictionary with service-specific results.
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/network_security.py:113
↓ 2 callersFunction_update_results
Update the main results dictionary with service-specific results.
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/storage_security.py:104
↓ 2 callersFunction_user_query_has_source_clause
Return True if the user's query begins with a SOURCE command token.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/trace_tools.py:42
↓ 2 callersFunction_validate
(operation: str, body: dict)
src/aws-transform-mcp-server/tests/test_service_model_compliance.py:38
↓ 2 callersMethod_validate
Assert no record ``attributes`` value contains Credential_Material. Args: scanner: The scanner registered with the harness's know
src/aws-healthomics-mcp-server/integration/harness/inventory.py:80
↓ 2 callersMethod_validate_array_field
Validate that a field exists and is an array. Args: data: Dictionary containing the field field_name: Name of the fie
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:143
↓ 2 callersMethod_validate_content_source
Validate the content source parameter. Args: content_source (Dict): The content source to validate Raises: V
src/amazon-qindex-mcp-server/awslabs/amazon_qindex_mcp_server/clients.py:123
↓ 2 callersMethod_validate_ddb_name
Validate a table or index name against DynamoDB's name constraints. These names are interpolated into TypeScript identifier positions in the
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:164
↓ 2 callersFunction_validate_global_args
(service: str, global_args: argparse.Namespace)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:675
↓ 2 callersMethod_validate_max_results
Validate the max_results parameter. Args: max_results (int): The maximum number of results to validate Raises:
src/amazon-qindex-mcp-server/awslabs/amazon_qindex_mcp_server/clients.py:144
↓ 2 callersMethod_validate_operator_condition
Validate a condition that uses an operator (no function).
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/filter_expression_validator.py:217
↓ 2 callersFunction_validate_outfile
Validate streaming outfile argument.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:812
← previousnext →3,601–3,700 of 32,024, ranked by callers