MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 10 callersMethodhas_multi_sort_keys
Return True if GSI has multiple sort key attributes.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:85
↓ 10 callersMethodinitialize_pool
Initialize the connection pool.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/psycopg_pool_connection.py:487
↓ 10 callersMethodlist_active_workflows
List all currently active workflows.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/workflow_orchestrator.py:870
↓ 10 callersFunctionlist_billing_groups
List billing groups from AWS Billing Conductor. Args: ctx: The MCP context object. billing_period: Optional billing period in YYY
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:165
↓ 10 callersFunctionlist_codeconnections
List available CodeConnections. This function retrieves existing CodeConnections that can be used with HealthOmics workflows. Connections can
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/codeconnections.py:98
↓ 10 callersMethodlist_datastores
List HealthLake datastores.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:255
↓ 10 callersFunctionlist_enrollment_statuses
Get the Cost Optimization Hub enrollment status of an account. Args: ctx: MCP context coh_client: Cost Optimization Hub client
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_helpers.py:431
↓ 10 callersFunctionlist_group_services
SERVICE DISCOVERY TOOL - Find all services belonging to a group. Use this tool when users ask: - "What services belong to the Payment group?"
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/group_tools.py:220
↓ 10 callersMethodlist_imported_models
User wants to list imported models in Amazon Bedrock. This prompt handles requests to view all imported models. It maps to the list_i
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/prompts.py:62
↓ 10 callersMethodlist_jobs
List FHIR import/export jobs.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:975
↓ 10 callersMethodlist_model_import_jobs
User wants to list model import jobs in Amazon Bedrock. This prompt handles requests to view all model import jobs. It maps to the li
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/prompts.py:51
↓ 10 callersMethodlist_prompts
List all available prompts.
testing/mcp_test_client.py:127
↓ 10 callersMethodload
Discover and load all JSON files from canary_knowledge_base/runtime/ and canary_knowledge_base/environment/.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_knowledge_base_loader.py:46
↓ 10 callersMethodmanage_resource
Manage a single Kubernetes resource with the specified operation using dynamic client. Args: operation: Operation to perform (Ope
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_apis.py:193
↓ 10 callersMethodon_request
Validates any incoming request.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/middleware/http_header_validation_middleware.py:26
↓ 10 callersFunctionparse_shorthand_log_delivery
Parse a single log delivery configuration from shorthand syntax. Args: config: Shorthand syntax string for log delivery configuration
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/rg/parsers.py:207
↓ 10 callersFunctionparse_shorthand_nodegroup
Parse a single nodegroup from shorthand syntax. Args: group: Shorthand syntax string for a nodegroup Returns: Dictionary con
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/rg/parsers.py:122
↓ 10 callersMethodput_role_policy
(self, *, RoleName, PolicyName, PolicyDocument)
src/aws-healthomics-mcp-server/integration/harness_tests/test_iam_provisioning.py:66
↓ 10 callersMethodrank_results
Sort results by relevance score in descending order. Args: results: List of GenomicsFileResult objects to rank sort_b
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/result_ranker.py:30
↓ 10 callersFunctionread_documentation
Fetch and convert an AWS documentation page to markdown format. ## Usage This tool retrieves the content of an AWS documentation page and co
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_aws.py:143
↓ 10 callersFunctionrecommend_indexes_account
Triage tool: find which log groups would benefit from field indexing. Scans the last 30 days of completed Logs Insights queries across the accoun
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/index_recommender.py:426
↓ 10 callersMethodregister_application
Register an SAP application with AWS Systems Manager for SAP. For HANA applications, provide the HANA database details. For SAP_ABAP
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_applications/tools.py:329
↓ 10 callersMethodremove
Remove a database connection from the map.
src/oracle-mcp-server/awslabs/oracle_mcp_server/connection/db_connection_map.py:146
↓ 10 callersFunctionremove_null_values
Remove keys with None values from a dictionary. Args: data: Dictionary to clean Returns: Dictionary with None values removed
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/utils.py:41
↓ 10 callersFunctionrequest_with_retry
Make an HTTP request with exponential-backoff retry on transient errors. Retries on status codes in RETRYABLE_STATUSES and on httpx.TimeoutExcept
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/http_utils.py:67
↓ 10 callersFunctionrun_command
Run a terminal command with arguments asynchronously. Args: cmd_list (str): The command and arguments to run in a list cwd (str,
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/utils/process.py:19
↓ 10 callersFunctionrun_cost_calculator
Execute cost calculator workflow: calculate costs and generate report. Args: data_model: Validated DataModel instance. workspace_
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/calculator_runner.py:30
↓ 10 callersFunctionsanitize_local_path
Validate and resolve a local file path for safe writing. Builds on validate_local_path and adds: - Null byte detection - Resolution to ab
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/path_utils.py:79
↓ 10 callersMethodsave
(self, fp, fmt)
src/document-loader-mcp-server/tests/test_slide_output_paths.py:301
↓ 10 callersFunctionsearch_table
Search for specific rows in a large documentation table. Use this tool when you need specific rows from a large documentation table (e.g., se
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_aws.py:288
↓ 10 callersFunctionsetup_mock_connection
Helper function to set up a mock connection in the global db_connection_map.
src/postgres-mcp-server/tests/test_server.py:489
↓ 10 callersFunctionsine_wave_pattern_minutes
Generate sine wave pattern based on minutes.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_utils.py:58
↓ 10 callersFunctionstart_commitment_purchase_analysis
Specifies the parameters of a planned commitment purchase and starts the analysis. This enables you to estimate the cost, coverage, and utilizati
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/sp_purchase_analyzer_tools.py:216
↓ 10 callersMethodstop_browser_session
Stop a browser session and release resources. Terminates the browser session and its underlying microVM. The session cannot be resume
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/session.py:280
↓ 10 callersMethodswitch_profile
Switch to a different Transform profile (region). For AWS credential auth: selects which region to use. Pass region directly (e.g. "us-east-1
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/configure.py:462
↓ 10 callersFunctiontext_result
Build an MCP-compatible text result envelope.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tool_utils.py:153
↓ 10 callersMethodupdate_webapp_frontend_tool
Update the frontend assets of a deployed web application. This tool uploads new frontend assets to S3 and optionally invalidates the CloudFro
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/update_webapp_frontend.py:40
↓ 10 callersFunctionutc_datetime_string_to_epoch_seconds
Convert a UTC datetime string to epoch seconds. Supports the following formats: - YYYY-MM-DD (date only, assumes 00:00:00 UTC) - YYYY-MM-
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/time_utils.py:29
↓ 10 callersFunctionvalidate_and_enrich_service_targets
If a service target exists without Environment, fetch from the API. NOTE: This function should only be called AFTER wildcard expansion has been c
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_audit_utils.py:138
↓ 10 callersFunctionvalidate_cloudformation_template
Validates a CloudFormation template against basic schema requirements. Args: template_path: Path to the CloudFormation template file
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:106
↓ 10 callersFunctionvalidate_file_path
Validate file path for security constraints.
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:308
↓ 10 callersFunctionvalidate_repository_path_params
Validate repository-specific path parameters. These parameters are only valid when definition_repository is provided. Args: ctx: MCP
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:574
↓ 10 callersFunctionvalidate_resource_type
Validate that resource_type is provided.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/utils/validation.py:45
↓ 10 callersFunctionvalidate_s3_uri
Validate S3 URI format and prevent SSRF attacks. Args: s3_uri: S3 URI to validate field_name: Name of the field for error reporti
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/security_validators.py:242
↓ 10 callersFunctionvalidate_startup_configuration
Comprehensive configuration validation for server startup. Returns: ServerConfig: Validated configuration Raises: ValueError
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/config.py:221
↓ 10 callersMethodvalidate_template_parameters
Validate template parameters exist as entity fields. Args: template: Template string or list of template strings enti
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:270
↓ 9 callersMethod__init__
(self, table_name: str = 'TaskTable')
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/saas/repositories.py:627
↓ 9 callersMethod_ask
Ask about one statement on the test cluster's dev database.
src/redshift-mcp-server/tests/test_server.py:104
↓ 9 callersFunction_assert_validation_error
Local validation failures carry a top-level classification.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_tools.py:560
↓ 9 callersFunction_begin_transaction
Open a named transaction, optionally running its first statement. The transaction holds a Data API session for as long as it stays open. The acce
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:656
↓ 9 callersFunction_bounded_preview
Build the preview, stopping at :data:`PREVIEW_BUDGET_BYTES`. Each row is costed in full and kept only when the whole row fits, so every kept
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:757
↓ 9 callersFunction_build_clause
Translate a pipeline stage dict into a GLIDE FtAggregateClause.
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/search_aggregate.py:73
↓ 9 callersMethod_call
(self, served, args)
src/billing-cost-management-mcp-server/tests/test_error_signaling_middleware.py:247
↓ 9 callersMethod_can_be_assumed_by_service
Check if a role can be assumed by a specific service. Args: assume_role_policy_document: Assume role policy document
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/commons/common_resource_handler.py:1469
↓ 9 callersFunction_check_size_limit
Check that content size does not exceed the configured maximum. Args: size: The actual content size in bytes. max_size_bytes: The
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/content_resolver.py:68
↓ 9 callersMethod_client_factory
(sts, iam)
src/mysql-mcp-server/tests/test_cp_api_iam_policy.py:376
↓ 9 callersMethod_compare_with_snapshot
Compare generated files with expected snapshots.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_snapshot_generation.py:248
↓ 9 callersMethod_compute_trend
Compute trend using OLS on trend component values.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_data_decomposer.py:183
↓ 9 callersFunction_credits
Route an AWS credits ``operation`` to its handler. Kept separate from the FastMCP-decorated wrapper so the routing can be unit tested directl
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_tools.py:38
↓ 9 callersFunction_description
Return the registered tool's description with line breaks collapsed to spaces.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_tools.py:57
↓ 9 callersFunction_execute_cloudwatch_query
Execute a CloudWatch Logs Insights query and poll for results.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/snapshot_queries.py:21
↓ 9 callersFunction_extract_ec2_ids
Extract EC2 instance IDs from a component detail response. Checks multiple paths in order: 1. Hosts[].EC2InstanceId / InstanceId (standard fo
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:302
↓ 9 callersFunction_finalize_list_response
Build a list response, offloading to SQL when it exceeds the size threshold. Every list operation routes through the size gate. The gate only off
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:1130
↓ 9 callersFunction_format_custom_line_items
Format custom line item objects from the AWS API response.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:756
↓ 9 callersMethod_get_cloudtrail_client
Create a CloudTrail client for the specified region.
src/cloudtrail-mcp-server/awslabs/cloudtrail_mcp_server/tools.py:45
↓ 9 callersMethod_get_eks_vpc_config_impl
Internal implementation of get_eks_vpc_config.
src/eks-mcp-server/awslabs/eks_mcp_server/vpc_config_handler.py:330
↓ 9 callersMethod_get_real_fn
Get the real storage_lens_run_query via identity decorator reload.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1300
↓ 9 callersFunction_get_task_definitions_by_family_prefix
Get task definitions by family prefix. Parameters ---------- family_prefix : str Prefix to filter task definition families.
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/utils.py:518
↓ 9 callersMethod_get_translate_client
Get or create Amazon Translate client.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/terminology_manager.py:80
↓ 9 callersFunction_handlers
Patch both operation handlers, yielding the two mocks.
src/billing-cost-management-mcp-server/tests/tools/test_credits_tools.py:57
↓ 9 callersFunction_history
(periods, **extra)
src/billing-cost-management-mcp-server/tests/tools/test_budget_performance_history.py:45
↓ 9 callersFunction_is_no_batch
Report whether the error means BatchExecuteStatement itself is denied. The operation is checked as well as the code, because the callers wrap the
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:1277
↓ 9 callersFunction_is_service_enabled
Check if a service should be registered based on env vars.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/server.py:72
↓ 9 callersFunction_make_client_error
Build a botocore ClientError with the given error code.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:70
↓ 9 callersFunction_make_empty_response
Build a mock execute_query response with no rows.
src/redshift-mcp-server/tests/test_review_executor.py:97
↓ 9 callersFunction_make_logs_client
Build a mock logs client that returns *results* on get_query_results.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:63
↓ 9 callersFunction_make_response
Build a mock execute_query response with (count, rec_id[, signal]) rows.
src/redshift-mcp-server/tests/test_review_executor.py:86
↓ 9 callersFunction_normalize_actions
Normalize IAM policy actions to a set of lowercase strings. Args: actions: Actions from IAM policy (can be string, list, or None) Re
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/ecr_utils.py:28
↓ 9 callersFunction_optional_filter
Build an optional filter clause.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_queries.py:51
↓ 9 callersFunction_pages
Build page responses of the given sizes, each pointing at the next.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:52
↓ 9 callersMethod_pages
Script the pages GetStatementResult will answer with.
src/redshift-mcp-server/tests/test_redshift.py:882
↓ 9 callersFunction_paginate
Fetch pages of a regional list API through the shared helper and format the items. The boto3 client is synchronous, so each page runs in a worker
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:850
↓ 9 callersFunction_paginate_call
Return the keyword arguments of one get_credit_allocation_history request.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:131
↓ 9 callersFunction_parse_identifier_parts
Parse a possibly-qualified Oracle table name into its identifier parts. Oracle uses double-quote delimited identifiers (standard ANSI SQL). R
src/oracle-mcp-server/awslabs/oracle_mcp_server/server.py:802
↓ 9 callersFunction_parse_inbound_mechanisms
Parse a raw inbound-auth value into an ordered tuple of mechanisms. The value is a comma-separated list selecting a subset of :data:`consts.I
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:386
↓ 9 callersFunction_parse_manifest_for_analysis
Parse manifest logs to extract key metrics for analysis. Args: run_id: The run ID being analyzed run_response: Response from get_
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_analysis.py:960
↓ 9 callersMethod_process_key_template
Process a key template (PK or SK) and return metadata. Args: template: Template string, list of templates, or None fi
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:330
↓ 9 callersFunction_read_response_body
Read the response body from an invoke_agent_runtime response. Handles three boto3 response shapes: - StreamingBody (has .read()) - EventS
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/runtime/invocation.py:25
↓ 9 callersFunction_registered_tool
Return the registered credits tool, asserting it exists.
src/billing-cost-management-mcp-server/tests/tools/test_credits_tools.py:50
↓ 9 callersFunction_rendered_examples
Return every `{"operation": ...}` example exactly as the model sees it.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:1577
↓ 9 callersFunction_require_symlinks
Skip the test if this OS or user cannot create symlinks.
src/document-loader-mcp-server/tests/test_slide_output_paths.py:55
↓ 9 callersFunction_resolve_transaction_action
Work out which transaction the caller addressed, and how. Exactly one transaction parameter may be given, which collapses every invalid combinati
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:1461
↓ 9 callersFunction_stream
(content=b'', file_name='file.bin', error=None, extra_meta=None, finished=None)
src/aws-transform-mcp-server/tests/test_download_artifact.py:44
↓ 9 callersFunction_strip_sql_comments
Remove SQL comments and string-literal contents for security analysis. Parses character-by-character so that ``--`` and ``/*`` inside single-quot
src/db2-mcp-server/awslabs/db2_mcp_server/mutable_sql_detector.py:250
↓ 9 callersFunction_stub
Queue one GetBillingPreferences response on an activated stubber. Args: response: The response body the API should return. expect
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_operations.py:51
↓ 9 callersMethod_to_dict
(self, conninfo)
src/postgres-mcp-server/tests/test_psycopg_connector.py:1141
↓ 9 callersMethod_to_pascal_case
Convert table name to PascalCase for method names. Args: table_name: Original table name (e.g., 'UserProfiles', 'Product-Catalog'
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/generator.py:203
↓ 9 callersMethod_tool
()
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1739
↓ 9 callersMethod_validate_gsi_projections
Validate GSI projection configurations. Args: gsi_list_data: Raw GSI list data from schema gsi_list_path: Path contex
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:1036
↓ 9 callersFunction_validate_output_path
Resolve and confine output_file within the permitted output directory. The base directory defaults to the current working directory and can be
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:58
← previousnext →1,001–1,100 of 35,417, ranked by callers