MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

↓ 6 callersFunctionmain
Run the MCP server with CLI argument support.
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/server.py:151
↓ 6 callersFunctionmodify_replication_group_shard_configuration
Modify the shard configuration of an existing Amazon ElastiCache replication group. This tool modifies the shard configuration of an existing rep
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/rg/modify.py:29
↓ 6 callersFunctionnormalize_service_entity
Normalize service entity structure.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_audit_utils.py:87
↓ 6 callersFunctionnormalize_transport
Normalize a raw transport value to a supported transport mode. Surrounding whitespace is trimmed and the result is matched case-sensitively a
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:118
↓ 6 callersMethodopen_session
Open and initialize an MCP session over streamable-http. Establishes the transport and initializes the session within ``connect_timeout_s``
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:151
↓ 6 callersFunctionoptimize_waypoints
Optimize the order of waypoints using Amazon Location Service geo-routes optimize_waypoints API (V2). Returns summary (optimized order, total dis
src/aws-location-mcp-server/awslabs/aws_location_server/server.py:765
↓ 6 callersFunctionparse_recommendation_results
Parse recommendation API response into RecommendationResult objects. Args: data: Raw API response data Returns: List of reco
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/util.py:421
↓ 6 callersFunctionparse_registry_source
Select the registry source backend named by an ``MCP_JWT_ROLE_REGISTRY`` value. The value names exactly one backend by URI scheme (Requirement 3.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/mechanisms/role_resolver.py:398
↓ 6 callersFunctionparse_suricata_rule
Parse a Suricata rule string into structured format.
src/aws-network-mcp-server/awslabs/aws_network_mcp_server/utils/formatters.py:85
↓ 6 callersFunctionpush_image
Push an image to a repository, replacing the tag with the image hash. Args: image: The image to push Returns: Result of the
src/finch-mcp-server/awslabs/finch_mcp_server/utils/push.py:93
↓ 6 callersFunctionquery_database_resource
Execute a read-only query against a database using PyIceberg.
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/database.py:88
↓ 6 callersMethodquery_opencypher
Executes an openCypher query against the Neptune database. Args: query (str): The openCypher query string to execute
src/amazon-neptune-mcp-server/awslabs/amazon_neptune_mcp_server/graph_store/database.py:286
↓ 6 callersMethodread_content
(self)
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/types.py:225
↓ 6 callersMethodrecord_api_call
Record metrics for an API call.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/metrics_provider.py:123
↓ 6 callersFunctionredact_unless_sensitive_data_allowed
Applies the ALLOW_SENSITIVE_DATA policy to an ECS API response or fragment. Returns the data unchanged when sensitive data access is enabled
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:243
↓ 6 callersMethodredshift_data_client
Get or create the Redshift Data API client.
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:108
↓ 6 callersFunctionref_not_found_msg
Format a user-friendly error for a missing element ref.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/error_handler.py:73
↓ 6 callersMethodregister
Register all health tools with the MCP server.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:2461
↓ 6 callersFunctionregister_auth_provider
Register an authentication provider. Args: auth_type: The authentication type identifier provider_class: The provider class to re
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_factory.py:30
↓ 6 callersFunctionremove_null_values
Return a new dictionary with the key-value pair of any null value removed.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/common.py:20
↓ 6 callersFunctionrender_template
Render a template with the given parameters. Args: request: Deployment request parameters Returns: str: Rendered template as
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/template/renderer.py:67
↓ 6 callersMethodresolve_region
Resolve AWS region: AWS_REGION env → session profile region → us-east-1.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/aws_helper.py:42
↓ 6 callersFunctionresolve_run
Resolve a run into the context needed for metrics queries. Calls GetRun and paginates ListRunTasks with the caller's credentials. Args:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/run_context.py:145
↓ 6 callersFunctionreverse_geocode
Reverse geocode coordinates to an address using Amazon Location Service geo-places reverse_geocode API.
src/aws-location-mcp-server/awslabs/aws_location_server/server.py:345
↓ 6 callersMethodrun
Run server with appropriate transport.
src/memcached-mcp-server/awslabs/memcached_mcp_server/main.py:39
↓ 6 callersFunctionsanitize_tool_name
Sanitize a Lambda function name to be used as a tool name.
src/lambda-tool-mcp-server/awslabs/lambda_tool_mcp_server/server.py:80
↓ 6 callersMethodsave
Atomically write the inventory to ``path`` as JSON. The content is written to a temporary file in the same directory and then moved i
src/aws-healthomics-mcp-server/integration/harness/inventory.py:160
↓ 6 callersMethodsearch_buckets
Search for genomics files across multiple S3 bucket paths with result caching. Args: bucket_paths: List of S3 bucket paths to sea
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:148
↓ 6 callersFunctionsearch_documentation
Search AWS documentation. Args: search_phrase: The search query. topic: The topic to search within. limit: Maximum number
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/client/aws_knowledge_client.py:35
↓ 6 callersMethodsearch_relevant_content
Search for relevant content in a Q Business application. Args: application_id (str): The unique identifier of the application
src/amazon-qindex-mcp-server/awslabs/amazon_qindex_mcp_server/clients.py:249
↓ 6 callersMethodsearch_sequence_stores_paginated
Search for genomics files in HealthOmics sequence stores with pagination. This method implements efficient pagination by: 1. Using na
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:121
↓ 6 callersMethodset
Set a value in session data.
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/mcp_lambda_handler.py:70
↓ 6 callersMethodsetUp
Reset logging configuration before each test.
src/amazon-translate-mcp-server/tests/test_logging_config.py:191
↓ 6 callersMethodset_code_review_id
Store code review ID for a workspace path.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:171
↓ 6 callersMethodsetup
Set up workspace before task execution. Override to prepare the workspace before the agent starts (e.g., copy template files, create
src/cloudwatch-applicationsignals-mcp-server/evals/core/task.py:165
↓ 6 callersFunctionshould_convert_to_sql
Determine if response should be converted to SQL based on config. Converts responses larger than SQL_CONVERSION_THRESHOLD (default 25KB) to SQL
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:64
↓ 6 callersFunctionsp_explorer
Tool that describes Savings Plans inventory and purchasable offerings. Args: ctx: The MCP context object operation: The operation
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/sp_explorer_tools.py:64
↓ 6 callersFunctionsp_recommendation
Tool that retrieves AWS Savings Plans purchase recommendations. Args: ctx: The MCP context object operation: The operation to per
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/sp_recommendation_tools.py:82
↓ 6 callersFunctionstart_threat_model_review
Start a threat model review — analyzes source code guided by design/requirement specs. Uploads the source directory and the provided spec documen
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/server.py:490
↓ 6 callersMethodstop_translation_job
Stop a running translation job. Args: job_id: ID of the job to stop Returns: Updated job status after stoppi
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:381
↓ 6 callersFunctionstop_vm
Stop a running Finch VM. This function runs 'finch vm stop' to shut down a running VM. If force is True, it adds the '--force' flag to forcef
src/finch-mcp-server/awslabs/finch_mcp_server/utils/vm.py:163
↓ 6 callersMethodstrftime
(self, fmt)
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:331
↓ 6 callersFunctionteardown
Delete every resource in ``inventory`` through ``deleter`` and report the outcome. Teardown iterates the inventory in recorded order and attempts
src/aws-healthomics-mcp-server/integration/deploy/common.py:418
↓ 6 callersFunctiontest_function
()
src/aws-appsync-mcp-server/tests/test_write_operation.py:32
↓ 6 callersFunctiontest_migration
Test migration to an Amazon ElastiCache replication group. This tool tests migration from a Redis instance to an ElastiCache replication group.
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/rg/test_migration.py:116
↓ 6 callersMethodto_error_response
Convert exception to error response with retry_after.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/models.py:571
↓ 6 callersMethodto_identifier
Return the CodeLocation lookup identifier payload.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/location.py:133
↓ 6 callersFunctionto_parse_placeholders
Rewrite ``:name`` to ``$1`` so the SQL can be parsed for classification. ``$1`` occupies a value position, so it never changes the statement type
src/postgres-mcp-server/awslabs/postgres_mcp_server/named_params.py:51
↓ 6 callersMethodtool
Fixture for creating a GetImportedModel instance.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_imported_model.py:51
↓ 6 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/deals/base_repository.py:168
↓ 6 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/package_delivery/base_repository.py:168
↓ 6 callersMethodupdate_agent_runtime
Update an AgentCore Runtime, creating a new immutable version. The DEFAULT endpoint automatically points to the new version. Custom e
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/runtime/lifecycle.py:263
↓ 6 callersMethodupdate_partition
Update an existing partition in the AWS Glue Data Catalog. Updates the properties of the specified partition if it exists and is managed
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/core/glue_data_catalog/data_catalog_handler.py:1511
↓ 6 callersMethodupdate_schedule_state
Enable or disable an EventBridge Scheduler schedule. Args: ctx: MCP context object. schedule_name: The schedule name.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_scheduling/tools.py:668
↓ 6 callersFunctionupload_to_s3
Upload directory contents to S3 bucket using boto3. Args: source_path: Path to the directory to upload bucket_name: Name of the S
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/utils/frontend_uploader.py:71
↓ 6 callersMethodupload_to_s3
Upload Python code content directly to an S3 bucket using putObject. This tool uploads Python code content directly to an S3 bucket, commonly
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/commons/common_resource_handler.py:773
↓ 6 callersMethodvalidate
Validate AWS credentials. Args: region: AWS region to use profile: AWS profile to use (optional) Returns:
src/prometheus-mcp-server/awslabs/prometheus_mcp_server/server.py:94
↓ 6 callersFunctionvalidate_batch_size
Validate batch operation size. Args: size: Batch size to validate max_size: Maximum allowed batch size Returns: Vali
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/security_validators.py:436
↓ 6 callersFunctionvalidate_client_token
Validate client token constraints. Args: token: The client token 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:551
↓ 6 callersFunctionvalidate_container_registry_params
Validate container registry parameters. When a container_registry_map is provided, upstreamRepositoryPrefix and ecrAccountId are not required
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:336
↓ 6 callersFunctionvalidate_date_format
Validate if a string is in YYYY-MM-DD format. Args: date_str: Date string to validate Returns: True if the date is valid, Fa
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:147
↓ 6 callersFunctionvalidate_enum_field
Validate that a field value matches an enum.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/schema_definitions.py:335
↓ 6 callersFunctionvalidate_fhir_resource_id
Validate a FHIR resource id per FHIR R4 ([A-Za-z0-9.-]{1,64}).
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:152
↓ 6 callersFunctionvalidate_function_name
Validate that the function name is valid and can be called.
src/lambda-tool-mcp-server/awslabs/lambda_tool_mcp_server/server.py:68
↓ 6 callersFunctionvalidate_identifier
Validate that identifier is provided.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/utils/validation.py:51
↓ 6 callersMethodvalidate_include_projection_safety
Validate INCLUDE projection safety and provide warnings for required non-projected fields. This performs smart validation to warn when INCLUD
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:1090
↓ 6 callersMethodvalidate_params
Validate request parameters for potential security issues. Args: params: The parameters to validate Returns:
src/prometheus-mcp-server/awslabs/prometheus_mcp_server/server.py:182
↓ 6 callersFunctionvalidate_property_alias
Validate property alias format.
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:86
↓ 6 callersFunctionvalidate_s3_uri
Validate that a URI is a valid S3 URI. Args: ctx: MCP context for error reporting uri: The URI to validate parameter_name
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:73
↓ 6 callersFunctionvalidate_table_name
Validate table name for SQL injection prevention. Args: table_name: Name of the table to validate Returns: bool: True if the
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:187
↓ 6 callersFunctionvalidate_text_input
Validate text input for length and content. Args: text: Text to validate max_length: Maximum allowed text length Returns:
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/security_validators.py:210
↓ 6 callersFunctionverify_transport
Verify end-to-end transport by driving the ordered sequence session -> list -> invoke. The driver enforces the stages strictly and short-circuits
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:363
↓ 6 callersMethodwrite_wcus
Calculate WCUs for a single write.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/data_model.py:76
↓ 6 callersFunctionwrite_zip_to_local
Sanitize path, ensure no overwrite, create parents, and write ZIP. Args: zip_data: The raw ZIP bytes to write. path: The user-sup
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/path_utils.py:133
↓ 6 callersFunctionwrite_zip_to_s3
Parse S3 path, validate bucket, check no-overwrite, and upload a ZIP archive. Args: zip_data: The raw ZIP bytes to upload. s3_pat
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/s3_utils.py:303
↓ 5 callersMethod__init__
(self, table_name: str = 'Deals')
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/deals/repositories.py:12
↓ 5 callersMethod__init__
(self, table_name: str = 'Warehouses')
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/package_delivery/repositories.py:234
↓ 5 callersFunction_add_attachments_to_set_logic
Business logic for adding attachments to a set.
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/server.py:867
↓ 5 callersFunction_add_communication_to_case_logic
Business logic for adding communication to a support case.
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/server.py:491
↓ 5 callersFunction_aggregate_cross_run_metrics
Aggregate metrics per task base name across multiple runs. Groups tasks from multiple runs by their normalized base name and calculates cross
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_analysis.py:1199
↓ 5 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/cdk_analyzer.py:43
↓ 5 callersFunction_append_config_checks
Append configuration check results to the report. Args: client: SSM for SAP boto3 client. app_id: The application ID to query con
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:1486
↓ 5 callersFunction_assert_aws_host
Assert a constructed URL targets an AWS endpoint before it is signed/sent. Backstop for _validate_region / _resolve_monitoring_host: even if thos
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/promql_client.py:88
↓ 5 callersFunction_attempt_request
POST a minimal MCP ``initialize`` to ``endpoint`` with ``auth_header`` merged in. Returns the HTTP response so the caller can inspect its status.
src/aws-healthomics-mcp-server/integration/tests/test_unauthenticated_rejected.py:101
↓ 5 callersFunction_attrs
Return the top-level ``attributes`` block.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:249
↓ 5 callersFunction_await_kwargs
Return the keyword arguments of a mock's most recent await.
src/billing-cost-management-mcp-server/tests/tools/test_credits_tools.py:44
↓ 5 callersMethod_calculate_file_type_score
Calculate score based on file type relevance.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/scoring_engine.py:168
↓ 5 callersMethod_calculate_retry_delay
Calculate retry delay using exponential backoff with optional jitter. Args: attempt: Current attempt number (0-based) Re
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/translation_service.py:520
↓ 5 callersFunction_call_path_to_ascii
Render a flat ``call_path`` adjacency list as an indented ASCII call tree. Reconstructs parent→child edges from ``caller_function_name``. Nodes w
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/formatting.py:35
↓ 5 callersFunction_catalog_form
Convert a parsed identifier to its Oracle catalog form. Unquoted identifiers are stored uppercase in Oracle's catalog. Quoted identifiers pre
src/oracle-mcp-server/awslabs/oracle_mcp_server/server.py:592
↓ 5 callersFunction_check_actions_allowed
Check if required actions are allowed by statement actions. Args: statement_actions: Set of actions from the policy statement (normalized
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/ecr_utils.py:88
↓ 5 callersMethod_check_needs_any_import
Check if Any import is needed for dict return types. Returns True if any access pattern uses a GSI with KEYS_ONLY projection, unsafe
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:449
↓ 5 callersMethod_check_secondary_index_usage
Check if any secondary indexes are used in WHERE conditions.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/services.py:287
↓ 5 callersMethod_check_template_is_pure_numeric
Check if a template is a pure reference to a numeric field. This returns True only when: 1. The template is a pure field reference (e
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:288
↓ 5 callersFunction_chunk_list
Split *lst* into sub-lists of at most *size* elements.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/cwl_insights_batch.py:124
↓ 5 callersFunction_client
Return a real billing client so the stub validates against the API model.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_operations.py:44
↓ 5 callersFunction_client_error
Create a ClientError for testing.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_endpoints.py:32
↓ 5 callersMethod_client_in
(self, mock_client_cls, region)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:321
↓ 5 callersFunction_cluster
Build a RedshiftCluster model for discover_clusters mocks.
src/redshift-mcp-server/tests/test_review_executor.py:39
↓ 5 callersFunction_cluster_info
Build the cluster_info shared by the concurrency tests.
src/redshift-mcp-server/tests/test_redshift.py:1938
← previousnext →1,701–1,800 of 32,024, ranked by callers