MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 3 callersFunctionserver_lifespan
Manage server lifecycle. Handles browser cleanup task, code interpreter cleanup, and graceful shutdown.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/server.py:108
↓ 3 callersFunctionset_config
Set the global configuration instance (mainly for testing).
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/config.py:376
↓ 3 callersMethodset_log_file
Set log file environment variable.
src/ecs-mcp-server/tests/unit/test_main.py:107
↓ 3 callersMethodset_session
Set the entire session data. Args: data: New session data Returns: True if successful, False if no session e
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/mcp_lambda_handler.py:127
↓ 3 callersMethodsk
Get sort key value
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/languages/python/base_repository.py:64
↓ 3 callersFunctionstart_batch_translation
Start a batch translation job for processing multiple documents. Supports various document formats and custom terminology application.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/server.py:440
↓ 3 callersMethodstart_code_review_job
Start a code review scan job.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:164
↓ 3 callersFunctionstart_container
Start DynamoDB Local container and verify readiness. Args: container_path: Path to container tool executable port: Host port to m
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:605
↓ 3 callersFunctionstart_savings_plans_purchase_recommendation_generation
Requests a Savings Plans recommendation generation. This enables you to calculate a fresh set of Savings Plans recommendations that takes your
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/sp_recommendation_tools.py:360
↓ 3 callersFunctionstop_scan
Stop a running security scan.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/server.py:622
↓ 3 callersFunctionstore_deployment_error
Store deployment errors when a deployment fails. Args: project_name: Name of the project error: Error information
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/utils/deployment_manager.py:117
↓ 3 callersFunctionsuggest_aws_commands
Suggest AWS CLI commands based on the provided query.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/server.py:151
↓ 3 callersFunctionsync_main
Synchronous wrapper for the main function.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/main.py:71
↓ 3 callersFunctiontable_ddl_parts
Return the column definitions and LOCATION literal for a CREATE TABLE statement. Both come from the manifest, which the caller chooses, so a colu
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/storage_lens_tools.py:405
↓ 3 callersFunctiontag_resource
Tags are composed of a Key/Value pairs. You can use tags to categorize and track your Timestream for InfluxDB resources. API reference: https://d
src/timestream-for-influxdb-mcp-server/awslabs/timestream_for_influxdb_mcp_server/server.py:1010
↓ 3 callersMethodteardown
Cleanup the test environment.
testing/pytest_utils.py:97
↓ 3 callersMethodtest_connection
Test the connection by listing namespaces.
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/engines/pyiceberg.py:198
↓ 3 callersMethodto_env
Return the ``AHO_ITEST_*`` environment mapping the integration tests read. Sets the AgentCore endpoint, the per-tenant bearer tokens (the Cog
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:411
↓ 3 callersMethodto_error_response
Convert exception to error response.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/models.py:437
↓ 3 callersMethodto_json
Serialize to a deterministic, ordered JSON string. When ``scanner`` is provided, every record's ``attributes`` values are validated a
src/aws-healthomics-mcp-server/integration/harness/inventory.py:94
↓ 3 callersMethodtouch
Restart the idle clock, after a statement that leaves the transaction open.
src/redshift-mcp-server/awslabs/redshift_mcp_server/transactions.py:123
↓ 3 callersFunctiontrace_event
Build a trace event.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:54
↓ 3 callersFunctionunmark_job
Forget that a job was checked, so the next job-scoped call nudges a re-load.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/guidance_nudge.py:44
↓ 3 callersFunctionuntag_resource
Removes the tag from the specified resource. API reference: https://docs.aws.amazon.com/ts-influxdb/latest/ts-influxdb-api/API_UntagResource.html
src/timestream-for-influxdb-mcp-server/awslabs/timestream_for_influxdb_mcp_server/server.py:1044
↓ 3 callersFunctionunwrap_artifact_properties
Unwrap SDK serialize() wrapper: {properties: {...}} -> inner object.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:65
↓ 3 callersMethodupdate_agent_runtime_endpoint
Update an endpoint to point to a different runtime version. Enables zero-downtime version transitions and rollbacks. Configuration-on
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/runtime/endpoints.py:137
↓ 3 callersMethodupdate_session
Update session data using a function. Args: updater_func: Function that takes SessionData and updates it in place Return
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/mcp_lambda_handler.py:142
↓ 3 callersFunctionupdate_table_metadata_location
Update the metadata location for a table. Updates the metadata location for a table. The metadata location of a table must be an S3 URI that begi
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/tables.py:279
↓ 3 callersFunctionupload_json_artifact
Upload a JSON string as an artifact and return the artifactId. 3-step flow: 1. SHA256 of content bytes -> base64 digest 2. CreateArti
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/upload_helper.py:58
↓ 3 callersFunctionvalidate_action_type
Validate action type format constraints. Args: action_type: The action type to validate field_name: Name of the field for error m
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:628
↓ 3 callersFunctionvalidate_aws_region
Checks if provided region is a valid AWS Region.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/helpers.py:85
↓ 3 callersFunctionvalidate_cloudformation_template
Validate CloudFormation template syntax, schema, and resource properties using cfn-lint. This tool performs syntax and schema validation for Clou
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/server.py:88
↓ 3 callersFunctionvalidate_count
Validate and normalize count parameter.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/server.py:76
↓ 3 callersFunctionvalidate_data_type
Validate IoT SiteWise data type.
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:154
↓ 3 callersFunctionvalidate_data_upload_frequency
Validate data upload frequency constraints. Args: frequency: The data upload frequency to validate field_name: Name of the field
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:411
↓ 3 callersFunctionvalidate_expression_variable_name
Validate expression variable name format. Args: name: The expression variable name to validate field_name: Name of the field for
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:255
↓ 3 callersFunctionvalidate_external_id
Validate external ID format constraints. Args: external_id: The external ID to validate field_name: Name of the field for error m
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:212
↓ 3 callersFunctionvalidate_iana_timezone
Validate IANA timezone identifier constraints. Args: timezone: The timezone identifier to validate field_name: Name of the field
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:481
↓ 3 callersFunctionvalidate_iso8601_duration
Validate ISO 8601 duration format. Args: duration: The duration string to validate field_name: Name of the field for error messag
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:337
↓ 3 callersFunctionvalidate_lookback_window
Validate lookback window constraints. Args: window: The lookback window to validate field_name: Name of the field for error messa
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:357
↓ 3 callersFunctionvalidate_max_results
Validate and return appropriate max_results value. Args: max_results: Requested max results default: Default value if None
src/cloudtrail-mcp-server/awslabs/cloudtrail_mcp_server/common.py:135
↓ 3 callersFunctionvalidate_path_within_directory
Validate that a resolved path is within the base directory. Args: file_path: The file path to validate (can be relative or absolute)
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/common.py:51
↓ 3 callersFunctionvalidate_positive_integer
Validate positive integer constraints. Args: value: The integer to validate field_name: Name of the field for error messages
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:273
↓ 3 callersMethodvalidate_range_conditions
Validate range_condition against allowed DynamoDB operators. Delegates to RangeQueryValidator for common validation logic. Args:
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:516
↓ 3 callersFunctionvalidate_safe_identifier
Validate that a string is a safe identifier (alphanumeric, underscore, hyphen only). Args: identifier: The identifier to validate
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:498
↓ 3 callersFunctionvalidate_service_quotas
Validate against service quotas where applicable.
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:319
↓ 3 callersFunctionvalidate_string_value
Validate string value constraints for action payloads. Args: value: The string value to validate field_name: Name of the field fo
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:611
↓ 3 callersMethodvalidate_sync
Validate the Oracle connection synchronously using a one-shot oracledb.connect(). This avoids asyncio.run(), which would bind the pool's RWLo
src/oracle-mcp-server/awslabs/oracle_mcp_server/connection/oracledb_pool_connection.py:312
↓ 3 callersFunctionvalidate_target_sampling_rate
Validate target sampling rate constraints. Args: rate: The target sampling rate to validate field_name: Name of the field for err
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:449
↓ 3 callersFunctionvalidate_translation
Validate the quality of a translation using various quality checks. Performs quality assessment and provides suggestions for improvement.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/server.py:401
↓ 3 callersFunctionvalidate_variable_name
Validate variable name format (${variable_name}). Args: variable_name: The variable name to validate field_name: Name of the fiel
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:235
↓ 3 callersFunctionvalidator
Create a FilterExpressionValidator instance.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:19
↓ 3 callersMethodverify_bucket_owner
Raise if the caller's account does not own the bucket (403 = squatted).
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:346
↓ 3 callersMethodwith_key
Create a new S3File instance with a different key in the same bucket. Args: new_key: New object key Returns:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/models/s3.py:218
↓ 2 callersMethod__get_client
Get or create a service client for the specified region.
src/amazon-sns-sqs-mcp-server/awslabs/amazon_sns_sqs_mcp_server/generator.py:102
↓ 2 callersMethod__init__
Initialize with no request context; nothing here needs one.
src/oracle-mcp-server/tests/test_coverage.py:51
↓ 2 callersMethod__init__
Initialize the workflow linter with the supported format. Args: workflow_format: The workflow format this linter supports ('wdl'
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_linting.py:35
↓ 2 callersFunction_abandon_transaction
Drop a transaction's name and end the session it was running on. The rollback is not awaited. Awaiting it would put an await between dropping the
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:1203
↓ 2 callersMethod_access_denied_error
Build a botocore ``AccessDenied`` ClientError for a tool operation.
src/aws-healthomics-mcp-server/tests/test_jwt_context_session_build.py:195
↓ 2 callersFunction_access_denied_without_message
The error Cost Explorer returns for a rejected NextPageToken on these operations.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:774
↓ 2 callersFunction_account_notifications_page
One DescribeBudgetNotificationsForAccount page: one entry per budget.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1562
↓ 2 callersFunction_active_recording_resolver
Install a recording fake resolver and restore the original on exit. Implemented as a context manager (rather than a function-scoped fixture) so i
src/aws-healthomics-mcp-server/tests/test_credential_seam_routing.py:92
↓ 2 callersMethod_add_keyspaces_context
Add Keyspaces-specific context to the details.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/client.py:395
↓ 2 callersMethod_alarm_matches_dimensions
Check if an alarm recommendation matches the provided dimensions. Args: alarm_data: The alarm recommendation data from metadata
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:971
↓ 2 callersMethod_apigateway
Return a region-scoped API Gateway client, building it lazily.
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:628
↓ 2 callersMethod_append_datetime_suffix
Append a datetime suffix to a name to prevent conflicts. Args: name: The original name Returns: str: The nam
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/services/model_import_service.py:301
↓ 2 callersMethod_apply_comparison_operators
Apply comparison operators like $gt, $lt.
src/documentdb-mcp-server/tests/conftest.py:144
↓ 2 callersFunction_arg
Build a single ``--flag=value`` argv token (unambiguous for argparse).
src/aws-healthomics-mcp-server/tests/test_config_multitenant.py:72
↓ 2 callersFunction_as_paragraphs
Separate lines so that markdown keeps them apart. The transcript arrives as consecutive lines, most of them one tool call each. Rendered as m
src/redshift-mcp-server/e2e_tests/run.py:197
↓ 2 callersFunction_ascii_upper
Upper-case using ASCII rules only, the way Db2 folds ordinary identifiers. ``str.upper()`` applies Python's full Unicode mapping, which does two
src/db2-mcp-server/awslabs/db2_mcp_server/server.py:754
↓ 2 callersFunction_assert_rejected_at_boundary
Assert ``response`` shows the boundary rejected the request before any tool ran. The response must not be a successful (2xx) exchange, and it mus
src/aws-healthomics-mcp-server/integration/tests/test_unauthenticated_rejected.py:113
↓ 2 callersFunction_assert_transparent_routing
Assert the routing stayed invisible to the caller. Identical for every topology, which is the point: whatever the proxy lookup decided, the c
src/postgres-mcp-server/tests/e2e/proxy_e2e_test.py:348
↓ 2 callersMethod_assess_match_quality
Assess the quality of the match based on the relevance score. Args: score: Relevance score Returns: String d
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/json_response_builder.py:335
↓ 2 callersFunction_await_kwargs
Return the keyword arguments of a mock's most recent await.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_tools.py:44
↓ 2 callersFunction_basic_parse
Parse spec bytes as JSON, then YAML, without resolving any references. Returns whatever the parser produces — normally a ``dict`` for an OpenAPI
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi.py:117
↓ 2 callersFunction_bearer_scope
Build an ASGI HTTP scope with an ``Authorization: Bearer`` header.
src/aws-healthomics-mcp-server/tests/test_per_request_freshness_property.py:75
↓ 2 callersFunction_bearer_scope
Build an ASGI HTTP scope with an Authorization: Bearer header.
src/aws-healthomics-mcp-server/tests/test_jwt_external_id_enforcement_property.py:66
↓ 2 callersFunction_bearer_scope
Build an ASGI HTTP scope with an Authorization: Bearer header.
src/aws-healthomics-mcp-server/tests/test_jwt_exchange_failure.py:68
↓ 2 callersFunction_bearer_scope
Build an ASGI HTTP scope with an ``Authorization: Bearer`` header.
src/aws-healthomics-mcp-server/tests/test_no_secret_leakage_property.py:99
↓ 2 callersMethod_big_table_page
(self)
src/aws-documentation-mcp-server/tests/test_server_utils.py:1917
↓ 2 callersFunction_build_base_filters
Build the resource-matching Logs Insights filter shared by both snapshot tools. All three values are escaped for double-quoted string-literal con
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/snapshot_tools.py:28
↓ 2 callersMethod_build_extension_pattern_map
Build a lookup table mapping file extensions to relevant pattern indices. This allows us to skip irrelevant patterns when processing files,
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/file_association_engine.py:102
↓ 2 callersMethod_build_log_entry
Build a log entry from CloudWatch Logs query result. Args: result: A single result from CloudWatch Logs query Returns:
src/eks-mcp-server/awslabs/eks_mcp_server/cloudwatch_handler.py:596
↓ 2 callersMethod_build_schema_string
Build the SCHEMA part of a Metrics Insights query.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:710
↓ 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 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:61
↓ 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_slide_target
Refuse to write a slide whose final path already exists as a link.
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:724
↓ 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:131
↓ 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
← previousnext →3,701–3,800 of 35,417, ranked by callers