MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 4 callersMethod_make_bearer_config
( self, token_expiry=None, refresh_token='refresh-tok', oidc_client_id='client
src/aws-transform-mcp-server/tests/test_transform_api_client.py:112
↓ 4 callersFunction_make_ctx
Create a mock MCP Context for integration tests.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:139
↓ 4 callersFunction_make_search_result
(docs_dict)
src/valkey-mcp-server/tests/test_search_query.py:60
↓ 4 callersFunction_make_sql_recorder
Build an execute_query mock that records the SQL sent for each query name. Every diagnostic query starts with a '-- <QueryName>' comment line, wh
src/redshift-mcp-server/tests/test_review_executor.py:124
↓ 4 callersFunction_matches_group
Check if any service group entry matches the target group name.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/group_tools.py:55
↓ 4 callersMethod_matches_search_terms
Check if a file matches the search terms. Args: s3_path: Full S3 path of the file tags: Dictionary of object tags
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:973
↓ 4 callersFunction_member_target
One Aurora member instance entry.
src/postgres-mcp-server/tests/test_cp_api_connection.py:2227
↓ 4 callersFunction_mock_client
Build a VendedMetricsClient with mocked credentials and HTTP session.
src/aws-healthomics-mcp-server/tests/test_metrics_client.py:88
↓ 4 callersMethod_mock_session
(self, s3_client)
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:98
↓ 4 callersFunction_normalize_dsql_syntax
Normalize narrowly recognized Aurora DSQL syntax for parser input only.
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/sql_guard.py:278
↓ 4 callersMethod_paged_factory
(pages_by_region)
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:3119
↓ 4 callersFunction_pages
(count)
src/document-loader-mcp-server/tests/test_timeout_cancellation.py:51
↓ 4 callersMethod_paginate_results
Helper method for pagination. Args: paginator: The paginator object **kwargs: Additional parameters to pass to the pa
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/client.py:229
↓ 4 callersFunction_parse_cost_value
Parse cost string into min and max values.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:217
↓ 4 callersMethod_parse_data_model
Parse the JSON file into a DataModel object with validation. Args: json_file_path: Path to dynamodb_data_model.json Retu
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/generator.py:141
↓ 4 callersFunction_parse_multi_tenant
Parse a raw multi-tenant configuration value into a boolean. The value is matched case-insensitively after trimming surrounding whitespace. A
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:353
↓ 4 callersMethod_patch_resource
Patch a resource with strategic merge patch, falling back to merge patch if needed. Args: resource: The dynamic resource object
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_apis.py:148
↓ 4 callersFunction_patch_transport
Patch the transport + session seams and return a dict capturing the sent headers.
src/aws-healthomics-mcp-server/integration/harness_tests/test_mcp_client_headers.py:47
↓ 4 callersFunction_period_for_hours
Pick a CloudWatch metric period (seconds) appropriate for the time range.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/endpoint_metrics.py:41
↓ 4 callersFunction_preferences_error_response
Build the error response for a failed get_preferences check. Keeps the legacy data payload and adds top-level error_type, operation, and serv
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bcm_pricing_calculator_tools.py:87
↓ 4 callersMethod_prepare_time_parameters
Process time parameters and calculate the period. Defaults when not provided: - end_time: current UTC time - start_time: 3 ho
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:506
↓ 4 callersFunction_preprocess_dotnet_discovered_repo_selector
Expand bulk selection and strip transient fields for repo selector.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:211
↓ 4 callersFunction_preprocess_specify_assets_location
Remap artifact value field to assetLocation and add defaults.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:241
↓ 4 callersMethod_process_query_results
Process query results response into standardized format. Args: response: Raw response from get_query_results API quer
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/tools.py:115
↓ 4 callersFunction_process_recommendations
Process recommendations for the report.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:529
↓ 4 callersFunction_psycopg_connection
A real PsycopgPoolConnection with the pool replaced by a recorder.
src/postgres-mcp-server/tests/test_run_query_policy_wiring.py:216
↓ 4 callersFunction_published_description
The `invoice_units` tool description as an MCP client receives it.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:497
↓ 4 callersFunction_read_headers
Extract headers from an ASGI scope into a lowercased name->value mapping. ``scope['headers']`` is a list of ``(bytes, bytes)`` tuples. Names are
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/mechanisms/explicit.py:51
↓ 4 callersFunction_read_local_directory
Read all files from a local directory recursively as UTF-8 text. Args: path: The local directory path to read. max_size_bytes: Ma
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/content_resolver.py:246
↓ 4 callersFunction_read_s3_object
Read content from an S3 object with validation and size checks. Args: uri: The S3 URI to read (e.g. 's3://bucket/key'). mode: 'te
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/content_resolver.py:156
↓ 4 callersMethod_reap_expired
Drop transactions whose session the service has already ended. Redshift ends a session left idle for SESSION_KEEPALIVE seconds and says nothi
src/redshift-mcp-server/awslabs/redshift_mcp_server/transactions.py:296
↓ 4 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
↓ 4 callersFunction_registered_tool
Return a registered tool as published to MCP clients.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:1552
↓ 4 callersFunction_reject
Raise a non-sensitive policy error.
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/sql_guard.py:208
↓ 4 callersFunction_reload_ce_with_registered_tools
Reload cost_explorer_tools with the real FastMCP.tool decorator. Undoes _reload_ce_with_identity_decorator so the server has its tools registered
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:1456
↓ 4 callersFunction_reload_unified_sql_with_identity_decorator
Reload unified_sql_tools with FastMCP.tool patched to return the original function unchanged (identity decorator). This exposes a callable 'sessi
src/billing-cost-management-mcp-server/tests/tools/test_unified_sql_tools.py:97
↓ 4 callersMethod_render
Render the real template for a data model.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:529
↓ 4 callersMethod_render_template
Render the stack template and write to target directory. Stack filename and class name are derived from the CDK directory name. For d
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/generator.py:234
↓ 4 callersFunction_resolve_database
Resolve the Db2 database name to use. Precedence: an explicit per-call ``database`` > the operator's ``--database`` > the ``DB2DB`` fallback.
src/db2-mcp-server/awslabs/db2_mcp_server/server.py:142
↓ 4 callersFunction_resolve_log_file
Resolve where to log, treating an empty value as unset. Read with a default instead, the empty string an MCP config template leaves behind reache
src/redshift-mcp-server/awslabs/redshift_mcp_server/server.py:96
↓ 4 callersFunction_resolve_port
Resolve the Db2 port to use. Precedence: an explicit per-call ``port`` > the operator's ``--port`` > the SSL-mode default. Consulting ``
src/db2-mcp-server/awslabs/db2_mcp_server/server.py:163
↓ 4 callersMethod_response
(self, *, status=200, text='<html><body></body></html>', url=None)
src/aws-documentation-mcp-server/tests/test_server_utils.py:2027
↓ 4 callersFunction_run
Run one statement and wait for it to settle. Args: data_client: A redshift-data client. target: Addressing and authentication key
src/redshift-mcp-server/e2e_tests/tickit.py:90
↓ 4 callersMethod_run
(self, handler, ctx, tmp_path, output_path)
src/aws-transform-mcp-server/tests/test_download_artifact.py:307
↓ 4 callersFunction_run_main
Run main() with the given CLI arguments and return the mocked logger.
src/openapi-mcp-server/tests/test_log_level_env.py:44
↓ 4 callersMethod_run_pages
Run list_linked_account_charges against stubbed pages. Args: mock_context: The mock MCP context. pages: ``(expected_p
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_operations.py:738
↓ 4 callersMethod_run_search
(self, orchestrator, five_ranked_results, request)
src/aws-healthomics-mcp-server/tests/test_genomics_search_continuation_token_bug.py:215
↓ 4 callersFunction_safe_extract_members
Filter tar members to prevent path traversal attacks. Args: members: Iterable of tar members Yields: Safe tar members that d
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:331
↓ 4 callersMethod_sanitize_resource_name
Sanitize name for CloudFormation resource key.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/cloudformation_template_generator.py:149
↓ 4 callersFunction_sanitize_session_name
Sanitize a caller identifier into a valid STS ``RoleSessionName``. Replaces characters outside the allowed set, trims to the maximum length, and
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/mechanisms/jwt_exchange.py:104
↓ 4 callersFunction_scope
Build a minimal ASGI HTTP scope carrying the given headers.
src/aws-healthomics-mcp-server/tests/test_inbound_jwt_exchange.py:57
↓ 4 callersMethod_search_healthomics_references_paginated_with_timeout
Execute HealthOmics reference store paginated search with timeout protection. Args: request: Search request storage_p
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1003
↓ 4 callersMethod_search_healthomics_sequences_paginated_with_timeout
Execute HealthOmics sequence store paginated search with timeout protection. Args: request: Search request storage_pa
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:971
↓ 4 callersMethod_search_healthomics_sequences_with_timeout
Execute HealthOmics sequence store search with timeout protection. Args: request: Search request Returns: Li
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:837
↓ 4 callersMethod_search_s3_paginated_with_timeout_for_buckets
Execute S3 paginated search with timeout protection for specific bucket paths. Args: request: Search request storage_
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:930
↓ 4 callersMethod_search_s3_with_timeout
Execute S3 search with timeout protection. Args: request: Search request Returns: List of GenomicsFile objec
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:778
↓ 4 callersMethod_search_single_bucket_path_paginated
Search a single S3 bucket path with pagination support. This method implements efficient pagination by: 1. Using native S3 continuati
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:437
↓ 4 callersMethod_search_single_sequence_store_paginated
Search a single HealthOmics sequence store with pagination support. Args: store_id: ID of the sequence store store_in
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:697
↓ 4 callersFunction_settle_statement
Poll one submitted statement or batch until it reaches a terminal status. Submit and describe report status alike, so one loop settles the long-p
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:231
↓ 4 callersFunction_setup_group_tool
Common setup: parse time, discover services, build header or error message. Returns (group_services, start_dt, end_dt, result_or_error, discovery
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/group_tools.py:188
↓ 4 callersMethod_should_use_cursor_pagination
Determine if cursor-based pagination should be used for very large datasets. Args: request: Search request global_tok
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1327
↓ 4 callersMethod_soup
(self, html)
src/aws-documentation-mcp-server/tests/test_util.py:1184
↓ 4 callersFunction_sql_identifier
Render a value as a Redshift SQL identifier, safely quoted and escaped.
src/redshift-mcp-server/awslabs/redshift_mcp_server/catalog.py:39
↓ 4 callersFunction_sum_datapoints
Sum a metric over the window (for Requests/Fault/Error counts).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/endpoint_metrics.py:95
↓ 4 callersMethod_sync_directory_to_s3
Sync directory to S3 bucket (upload new/modified files, delete removed files). Args: s3_client: Boto3 S3 client direc
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/update_webapp_frontend.py:331
↓ 4 callersFunction_task
( task_id='t1', name='align', gpus=None, start: Optional[datetime] = START, stop: Optional
src/aws-healthomics-mcp-server/tests/test_metrics_run_context.py:34
↓ 4 callersMethod_task_definition
(cls)
src/ecs-mcp-server/tests/unit/utils/test_security.py:294
↓ 4 callersMethod_time_window
(self)
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3647
↓ 4 callersFunction_tool
()
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_monitors.py:79
↓ 4 callersFunction_trigger_config_checks
Trigger all available config checks for an application and return the operations.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:236
↓ 4 callersFunction_unsupported_region_result
A structured no-data response if the region has no vended metrics.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:93
↓ 4 callersFunction_unwrap_single
Unwrap single-element arrays for non-wildcard JSONPath results.
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/json.py:45
↓ 4 callersFunction_unzip_base64
Decode a base64 ZIP and return {filename: text_content}.
src/aws-healthomics-mcp-server/tests/test_helper_tools_resolution.py:32
↓ 4 callersMethod_upload_file_to_s3
Upload a file to S3. Args: s3_client: Boto3 S3 client file_path: Path to the file bucket_name: Name of th
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/update_webapp_frontend.py:303
↓ 4 callersFunction_validate_action
Validate that the action is supported.
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/ecs_troubleshooting.py:334
↓ 4 callersFunction_validate_bucket
Validate a Logs Insights ``bin()`` bucket string. The bucket value is interpolated unquoted into the query, so it cannot be escaped — it must
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_queries.py:23
↓ 4 callersMethod_validate_bucket_access
Validate that we have access to the specified S3 bucket. Args: bucket_name: Name of the S3 bucket Raises: Cl
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:551
↓ 4 callersMethod_validate_entity_gsi_mappings
Validate GSI mappings for a single entity. Args: entity_data: Entity configuration dictionary entity_fields: Parsed e
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:818
↓ 4 callersFunction_validate_java_executable
Validate that the path points to a Java executable. Args: java_path: Path to validate Raises: ValueError: If path is not a v
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:726
↓ 4 callersMethod_validate_log_group_parameters
Validate that exactly one of log_group_names or log_group_identifiers is provided. Args: log_group_names: List of log group names
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/tools.py:56
↓ 4 callersMethod_validate_tmx_file
Validate TMX terminology file.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/terminology_manager.py:780
↓ 4 callersMethod_with_gsi
(index_name)
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:2068
↓ 4 callersFunction_wrap_untrusted_data
Wrap database-sourced data in randomized boundary tags. Prevents prompt injection by marking DB content as untrusted data that the LLM should
src/oracle-mcp-server/awslabs/oracle_mcp_server/server.py:90
↓ 4 callersFunction_wrap_untrusted_data
Wrap data in randomized boundary tags with prompt injection mitigation. Uses randomized tags so that injected content cannot predict or forge
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:111
↓ 4 callersMethodadaptive_poll
Sleep for *seconds* then return *follow_up* as the result.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/adaptive_poll.py:50
↓ 4 callersFunctionadd_user_to_group
Add a user to an IAM group. Args: group_name: The name of the IAM group user_name: The name of the IAM user confirmed: Mu
src/iam-mcp-server/awslabs/iam_mcp_server/server.py:1302
↓ 4 callersFunctionagentcore_inbound_authorizer
Return the inbound-authorizer descriptor for the AgentCore Runtime configuration. The descriptor documents the JWT authorizer AgentCore uses to c
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:231
↓ 4 callersMethodaggregate_cross_run_tasks
Aggregate metrics per task base name across multiple runs. Groups tasks from multiple runs by their normalized base name and calculates
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/analysis/task_aggregator.py:161
↓ 4 callersFunctionanalyze_schema
Analyze the schema of a collection by sampling documents. This tool samples documents from a collection and provides information about the do
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/analytic_tools.py:174
↓ 4 callersFunctionapi_call_timer
Time API calls and record metrics.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/metrics_provider.py:459
↓ 4 callersFunctionapigateway_config
Return the inspectable API Gateway configuration for the deployment. This is a pure function describing the API Gateway topology the deployment b
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:160
↓ 4 callersFunctionassert_successful_result
Assert that a result indicates success for a given table.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:112
↓ 4 callersFunctionassociate_assets
Associate a child asset with the given parent asset through a hierarchy. Args: asset_id: The ID of the parent asset. Accepts UUID format
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_assets.py:373
↓ 4 callersFunctionassume_ecr_role
Assumes the ECR push/pull role. Args: role_arn: ARN of the ECR push/pull role to assume Returns: Dict containing tempor
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/aws.py:167
↓ 4 callersFunctionasync_main
Run the async initialization tasks.
src/prometheus-mcp-server/awslabs/prometheus_mcp_server/server.py:1031
↓ 4 callersMethodasync_retry
Execute async function with retry logic. Args: func: Async function to execute *args: Positional arguments for functi
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/retry_handler.py:220
↓ 4 callersMethodbatch_delete_connection
Delete a list of connections from the Data Catalog. Deletes multiple connections in a single call. Only connections managed by the MC
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/core/glue_data_catalog/data_catalog_handler.py:611
↓ 4 callersMethodbrowser_console_messages
Get recent browser console messages. Returns console log, warning, and error messages captured since the Playwright connection was es
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/observation.py:196
↓ 4 callersMethodbrowser_hover
Hover over an element identified by its accessibility ref. Useful for triggering tooltips, dropdown menus, or hover states. Returns t
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/interaction.py:318
↓ 4 callersMethodbrowser_network_requests
List recent network requests and their status. Returns a summary of network requests made by the page, including URL, HTTP method, st
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/observation.py:244
← previousnext →2,601–2,700 of 35,417, ranked by callers