MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 4 callersFunctiontool_usage_timer
Time tool usage and record metrics.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/metrics_provider.py:484
↓ 4 callersMethodtrack_error
Track error occurrences by type.
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/debug_helper.py:84
↓ 4 callersMethodtrack_request
Track request counts by type.
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/debug_helper.py:94
↓ 4 callersFunctiontranslate_text
Translate text from one language to another using Amazon Translate. This tool provides real-time text translation with support for custom termino
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/server.py:331
↓ 4 callersFunctiontroubleshoot_cloudformation_deployment
Troubleshoot CloudFormation deployment failures with root cause analysis and CloudTrail integration. This tool provides failure analysis for Clou
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/server.py:200
↓ 4 callersMethodupdate
Update an existing entity with optimistic locking (prevents lost updates) Note: Uses PutItem with exclude_none=True to support sparse GSIs. T
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/gaming_leaderboard/base_repository.py:168
↓ 4 callersMethodupdate
Update an existing entity with optimistic locking (prevents lost updates) Note: Uses PutItem with exclude_none=True to support sparse GSIs. T
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/food_delivery/base_repository.py:168
↓ 4 callersMethodupdate_agent_space
Update an agent space, replacing its awsResources with the provided dict.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:124
↓ 4 callersFunctionupdate_asset
Update an asset's name, description, and external ID. Args: asset_id: The ID of the asset to update. Accepts UUID format (12345678-1234-1
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_assets.py:264
↓ 4 callersFunctionupdate_asset_model
Update an asset model. Args: asset_model_id: The ID of the asset model to update. Accepts UUID format (12345678-1234-1234-1234-1234567890
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_asset_models.py:307
↓ 4 callersFunctionupdate_computation_model
Update a computation model in AWS IoT SiteWise. Updates the configuration, data binding, name, or description of an existing computation mode
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_computation_models.py:391
↓ 4 callersMethodupdate_database
Update an existing database in the AWS Glue Data Catalog. Updates the properties of the specified database if it exists and is managed
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/core/glue_data_catalog/data_catalog_database_manager.py:385
↓ 4 callersFunctionupdate_db_cluster
Updates a Timestream for InfluxDB cluster. API reference: https://docs.aws.amazon.com/ts-influxdb/latest/ts-influxdb-api/API_UpdateDbCluster.html
src/timestream-for-influxdb-mcp-server/awslabs/timestream_for_influxdb_mcp_server/server.py:1072
↓ 4 callersFunctionupdate_db_instance
Updates a Timestream for InfluxDB DB instance. API reference: https://docs.aws.amazon.com/ts-influxdb/latest/ts-influxdb-api/API_UpdateDbInstance
src/timestream-for-influxdb-mcp-server/awslabs/timestream_for_influxdb_mcp_server/server.py:1123
↓ 4 callersMethodupdate_hp_cluster
Update a SageMaker HyperPod clusters. Notes: - before using this tool, ensure you first have the most recent cluster instance gro
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_cluster_node_handler.py:618
↓ 4 callersMethodupdate_resource
Update an existing FHIR resource.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:805
↓ 4 callersFunctionvalidate_asset_or_model_id
Validate AWS IoT SiteWise asset or asset model ID format. Accepts either: - UUID format: 12345678-1234-1234-1234-123456789012 - External
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:69
↓ 4 callersMethodvalidate_complete_gsi_configuration
Perform comprehensive GSI validation for a complete table configuration. This is the main orchestrator method that coordinates all GSI valida
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:616
↓ 4 callersMethodvalidate_gsi_access_patterns
Validate GSI-related access patterns including index references and range conditions. Args: patterns: List of access patterns to
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:550
↓ 4 callersFunctionvalidate_iam_role_arn
Validate IAM role ARN format. Args: role_arn: IAM role ARN to validate Returns: Validated role ARN Raises: Vali
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/security_validators.py:335
↓ 4 callersFunctionvalidate_integer_range
Validate integer within a specific range. Args: value: The integer to validate min_val: Minimum allowed value max_val: Ma
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:292
↓ 4 callersFunctionvalidate_normal_query_response
Validate records portion of the RDS API response.
src/postgres-mcp-server/tests/test_server.py:482
↓ 4 callersMethodvalidate_operation_compatibility
Validate that range conditions are only used with Query operations. Range conditions require Query operations, not GetItem, PutItem, etc.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/range_query_validator.py:221
↓ 4 callersMethodvalidate_query
Validate a PromQL query for potential security issues. Args: query: The PromQL query to validate Returns: bo
src/prometheus-mcp-server/awslabs/prometheus_mcp_server/server.py:205
↓ 4 callersFunctionvalidate_request
Validate an operation request body against the vendored C2J model.
src/aws-transform-mcp-server/tests/service_model_validation.py:32
↓ 4 callersFunctionvalidate_retraining_frequency
Validate retraining frequency constraints. Args: frequency: The retraining frequency to validate field_name: Name of the field fo
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:377
↓ 4 callersMethodvalidate_retry_writes_false
Validate that retryWrites=false is specified in the connection string. DocumentDB requires retryWrites=false to be set in the connection stri
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/connection_tools.py:90
↓ 4 callersFunctionvalidate_source_identifier
Validate source identifier (database name or schema/owner name). Args: source_identifier: The database name or schema/owner name to valid
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/common.py:25
↓ 4 callersMethodvalidate_string
Validate a string for potential security issues. Args: value: The string to validate context: Context description for
src/prometheus-mcp-server/awslabs/prometheus_mcp_server/server.py:163
↓ 4 callersMethodvalidate_terminology_conflicts
Validate terminology conflicts for a language pair. Args: terminology_names: List of terminology names to check sourc
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/terminology_manager.py:557
↓ 4 callersFunctionvalidate_terminology_name
Validate terminology name. Args: name: Terminology name to validate Returns: Validated terminology name Raises:
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/security_validators.py:401
↓ 4 callersMethodvalidate_urls
Validate URLs and return valid ones, raising URLValidationError for any disallowed URL.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/utils/url_validator.py:78
↓ 4 callersFunctionwait_for_service_ready
Waits for ECS tasks in a service to reach RUNNING status. Polls every 10 seconds until at least one task is running or timeout is reached.
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/express.py:388
↓ 4 callersMethodwebapp_deployment_help_tool
Get help information about using the deploy_webapp_tool to perform web application deployments. If deployment_type is provided, returns help
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/webapp_deployment_help.py:30
↓ 4 callersFunctionwhole_query_in_one_page
Whether the result is the whole query in one page. Some APIs (e.g. Cost Explorer Savings Plans utilization details, and grouped Reserved Inst
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:852
↓ 4 callersFunctionwith_pagination
Add pagination fields to a request body if provided.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/list_resources.py:153
↓ 4 callersFunctionwrite_svg_to_local
Sanitize path, ensure no overwrite, create parents, and write SVG. Args: svg_content: The SVG string to write. path: The user-sup
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/path_utils.py:106
↓ 3 callersMethod__get_client
Get or create a service client for the specified region.
src/amazon-mq-mcp-server/awslabs/amazon_mq_mcp_server/aws_service_mcp_generator.py:104
↓ 3 callersMethod__init__
(self, table_name: str = 'GameTable')
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/gaming_leaderboard/repositories.py:11
↓ 3 callersMethod__init__
(self, table_name: str = 'DriverTable')
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/food_delivery/repositories.py:637
↓ 3 callersFunction_access_denied_error
Build a botocore ``AccessDenied`` ClientError for a tool operation. Represents the customer role lacking a specific action's permission — a norma
src/aws-healthomics-mcp-server/tests/test_access_denied_passthrough.py:82
↓ 3 callersFunction_access_key_id_for
Derive a distinct, recognizable access key id for an identity.
src/aws-healthomics-mcp-server/tests/test_per_request_freshness.py:44
↓ 3 callersMethod_account_id
Return the caller's account ID, cached per credential set.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:80
↓ 3 callersFunction_active_request_scoped_resolver
Install a ``RequestScopedCredentialResolver`` and restore the original on exit. Implemented as a context manager (rather than a function-scoped f
src/aws-healthomics-mcp-server/tests/test_partition_cache_isolation.py:118
↓ 3 callersMethod_add_permissions_to_document
Add permissions to a policy document. Args: policy_document: Policy document to modify permissions: Permissions to ad
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/commons/common_resource_handler.py:1567
↓ 3 callersMethod_analyze_file
Analyze a file for AWS service usage. Args: file_path: Path to the file Returns: List of identified AWS serv
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/terraform_analyzer.py:244
↓ 3 callersFunction_annotate_rows
Add _region, _account, _logGroups metadata to each row in-place.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/cwl_insights_batch.py:248
↓ 3 callersFunction_assert_401_leaks_no_material_or_identity
Assert the 401 carries no Credential_Material and no other tenant's identity. Scans the response body text and every response header value with `
src/aws-healthomics-mcp-server/integration/tests/test_unauthenticated_rejected.py:245
↓ 3 callersFunction_assert_rejected_with_401
Assert the Server rejected the request with HTTP 401 before any tool ran. The fail-closed multi-tenant scenarios require the specific 401 status
src/aws-healthomics-mcp-server/integration/tests/test_unauthenticated_rejected.py:203
↓ 3 callersFunction_atomic_write_json
Write JSON atomically: serialize to a sibling tmp file, fsync, then rename. Either the new contents are visible or the old contents are; never pa
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:33
↓ 3 callersFunction_await_kwargs
Return the keyword arguments of a mock's most recent await. Args: mock: The awaited mock to read. Returns: The keyword argum
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_tools.py:71
↓ 3 callersFunction_blocked
(sql: str)
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1794
↓ 3 callersMethod_budget
(self)
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1009
↓ 3 callersMethod_budget
(self, filter_expression)
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1067
↓ 3 callersMethod_budget
(self, filter_expression, budget_type='COST', forecast=False)
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1143
↓ 3 callersFunction_build
(account_ids)
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_account_ids.py:39
↓ 3 callersMethod_build_config
Build a botocore Config with a custom user_agent_extra string.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:47
↓ 3 callersMethod_build_conn
()
src/mysql-mcp-server/tests/test_asyncmy_connector.py:847
↓ 3 callersFunction_build_credential_scanner
Build a scanner registered with the presented token(s) and any known STS secrets. The presented bearer token(s) are registered as ``BEARER_TOKEN`
src/aws-healthomics-mcp-server/integration/tests/test_unauthenticated_rejected.py:221
↓ 3 callersFunction_build_field_usage
Parse queries and build field usage map.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/index_recommender.py:121
↓ 3 callersMethod_build_logs_query_params
Build parameters for CloudWatch Logs Insights query. Args: log_group_names: List of log group names log_group_identif
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/tools.py:84
↓ 3 callersMethod_build_patient_everything_pagination_url
Reconstruct a paginated $everything URL from trusted components. See :meth:`_build_pagination_url` for the contract on ``count`` and
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:557
↓ 3 callersMethod_build_performance_metrics
Build performance metrics for the search operation. Args: search_duration_ms: Time taken for the search in milliseconds
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/json_response_builder.py:209
↓ 3 callersMethod_build_response_metadata
Build metadata about the response structure and content. Args: results: List of GenomicsFileResult objects Returns:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/json_response_builder.py:237
↓ 3 callersFunction_build_route_maps
Build route maps for GET operations with query parameters.
src/openapi-mcp-server/awslabs/openapi_mcp_server/server.py:41
↓ 3 callersFunction_build_verification_link
Build a console verification link for a connector. The console lives on a different domain in each partition, so the host is chosen from the
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/connector.py:53
↓ 3 callersFunction_bundled_ca_file
Return the bundled CA path if it is present on disk, else None. Returns None (with a logged error) if the bundle is missing or unreadable. In
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/asyncmy_pool_connection.py:48
↓ 3 callersFunction_bvs_page
Build one API page holding ``count`` items of the shape the result key carries.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_operations.py:1689
↓ 3 callersMethod_cache_pagination_state
Cache pagination state. Args: cache_key: Cache key for the pagination state entry: Pagination cache entry to store
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1231
↓ 3 callersMethod_cache_search_result
Cache search results. Args: cache_key: Cache key for the search results: Search results to cache
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:954
↓ 3 callersMethod_calculate_start_time
Calculate start time based on time range. Args: end_time: End time for the range time_range: Time range string
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/language_operations.py:457
↓ 3 callersMethod_call
(self, mock_context, func_name, client, **kwargs)
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3358
↓ 3 callersMethod_call
(self, mock_client, **kwargs)
src/aws-healthomics-mcp-server/tests/test_workflow_execution.py:2900
↓ 3 callersFunction_call_boto3
Invoke a boto3 FES operation synchronously.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/transform_api_client.py:195
↓ 3 callersFunction_call_cost_anomaly_capturing_request
Call the real cost_anomaly with a mocked CE client; return (response, client).
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_tools.py:1182
↓ 3 callersMethod_cell
(self, inner)
src/aws-documentation-mcp-server/tests/test_table_utils.py:1657
↓ 3 callersMethod_cell
(self, inner)
src/aws-documentation-mcp-server/tests/test_table_utils.py:1774
↓ 3 callersMethod_cell
(self, inner)
src/aws-documentation-mcp-server/tests/test_table_utils.py:1876
↓ 3 callersFunction_cell_text
Extract cell text, joining multi-value cells with '; '.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:108
↓ 3 callersMethod_check_and_refresh_token_if_needed
Check if token needs refreshing and refresh if necessary.
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/cognito_auth.py:208
↓ 3 callersMethod_check_clustering_column_usage
Check if any clustering columns are used in WHERE conditions.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/services.py:279
↓ 3 callersMethod_check_partition_key_usage
Check if all partition key columns are used in WHERE conditions.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/services.py:270
↓ 3 callersFunction_check_soffice_available
Check if LibreOffice/OpenOffice soffice binary is available. Returns None if available, or an error message string if not.
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:556
↓ 3 callersFunction_clean_text
(text: str)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/help_command.py:27
↓ 3 callersMethod_client
(self)
src/healthlake-mcp-server/tests/test_pagination_hardening.py:362
↓ 3 callersMethod_client
Build one client, reading the environment as it stands. An empty AWS_* variable is removed first. Botocore reads most of these itself and tak
src/redshift-mcp-server/awslabs/redshift_mcp_server/clients.py:79
↓ 3 callersFunction_client_error
(code, message, request_id='r1')
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:1081
↓ 3 callersMethod_client_for
Patch httpx.AsyncClient so a fetch returns the given response.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1766
↓ 3 callersMethod_client_returning
A real budgets client whose HTTP send returns ``payload`` as the wire response.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:996
↓ 3 callersFunction_coh_served_description
Return the cost-optimization description as served (reloaded with the real decorator). Other tests reload the module with an identity decorator,
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:2179
↓ 3 callersFunction_complete_outcome
Build a COMPLETE provisioning outcome with a run config carrying fake tokens.
src/aws-healthomics-mcp-server/integration/harness_tests/test_cli_e2e.py:42
↓ 3 callersMethod_compute_seasonality_and_trend
Compute seasonality and trend using decomposition. Returns: DecompositionResult with seasonality and trend
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_analyzer.py:92
↓ 3 callersFunction_container_exists
Check if container exists (running or stopped).
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:267
↓ 3 callersFunction_context_for
Build a CredentialContext with a distinct identity_key and credentials.
src/aws-healthomics-mcp-server/tests/test_partition_cache_isolation.py:78
↓ 3 callersMethod_copy_readme_template
Copy the README template to the target directory. Args: target_dir: Directory where README.md should be copied Raises:
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/generator.py:273
↓ 3 callersFunction_copy_sources
Return the source paths referenced by ``COPY`` directives in the image Dockerfile.
src/aws-healthomics-mcp-server/integration/harness_tests/test_image_isolation.py:58
↓ 3 callersFunction_count_certs
Return the number of PEM certificate blocks in ``pem_bytes``.
src/postgres-mcp-server/hatch_build.py:177
↓ 3 callersFunction_create_billing_client
Create an AWS Billing client for the Enterprise Support operations. Returns: boto3.client: AWS Billing client.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/enterprise_support_operations.py:64
↓ 3 callersFunction_create_client_error
Create a mock ClientError for testing.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1096
↓ 3 callersFunction_create_cost_calculation_table
Create the cost calculation table and extract total min/max costs.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:234
← previousnext →3,001–3,100 of 35,417, ranked by callers