MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions30,950 in github.com/awslabs/mcp

↓ 12 callersMethodbuild_indexes
Build all indexes from dataset list.
src/roda-mcp-server/awslabs/roda_mcp_server/knowledge_base.py:37
↓ 12 callersMethodbuild_pk_for_lookup
Build partition key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/deals/base_repository.py:72
↓ 12 callersMethodbuild_pk_for_lookup
Build partition key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/package_delivery/base_repository.py:72
↓ 12 callersMethodcheckToolAccess
Checks if access to the tool is allowed based on allow-write and allow-sensitive-access flags.
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/common/base_tool.py:24
↓ 12 callersFunctioncheck_security_hub
Check if AWS Security Hub is enabled in the specified region. Args: region: AWS region to check session: boto3 Session for AWS AP
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:141
↓ 12 callersMethodcleanup
Disconnect all sessions and stop Playwright. Idempotent — safe to call multiple times (e.g. from both a signal handler and the lifesp
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/connection_manager.py:236
↓ 12 callersMethodclose
Close all cached clients and clean up resources. This method should be called when the client manager is no longer needed to ensure p
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/aws_client.py:429
↓ 12 callersFunctionconfigure_logging
Configure logging based on environment variables and command line arguments. Args: server_name: Name to bind to the logger for identifica
src/finch-mcp-server/awslabs/finch_mcp_server/server.py:78
↓ 12 callersFunctionconvert_column_names_to_snake_case
Convert column names in PyArrow schema to snake_case. Args: schema: PyArrow schema with original column names Returns: PyArr
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/file_processor/utils.py:32
↓ 12 callersFunctioncreate_aws_client
Generic AWS client factory for any service. Args: service_name: Name of the AWS service (e.g., 'omics', 'logs', 's3') region_name
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:539
↓ 12 callersFunctioncreate_cache_cluster
Create an Amazon ElastiCache cache cluster.
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/cc/create.py:102
↓ 12 callersFunctioncreate_function_operation
Execute create_function operation.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/operations/create_function.py:22
↓ 12 callersFunctioncreate_graphql_api_operation
Execute create_graphql_api operation.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/operations/create_graphql_api.py:24
↓ 12 callersFunctioncreate_infrastructure
Creates complete ECS infrastructure using CloudFormation. This method combines the creation of ECR and ECS infrastructure. If force_deplo
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/infrastructure.py:102
↓ 12 callersMethodcreate_model_import_job
User wants to import a model into Amazon Bedrock. This prompt handles requests to import a custom model into Amazon Bedrock. It maps
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/prompts.py:40
↓ 12 callersFunctioncreate_role
Create a new IAM role. Args: role_name: The name of the new IAM role assume_role_policy_document: The trust policy document in JS
src/iam-mcp-server/awslabs/iam_mcp_server/server.py:544
↓ 12 callersFunctioncreate_timestamps_and_values
Create test data with specified pattern.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_utils.py:9
↓ 12 callersMethodesm_guidance_tool
Create a mock FastMCP and initialize the tool with the mock.
src/aws-serverless-mcp-server/tests/test_esm_guidance.py:28
↓ 12 callersFunctionevaluate_pull_through_cache_healthomics_usability
Evaluate if a pull-through cache is usable by HealthOmics. Combines checks for registry permissions policy and repository creation template t
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/ecr_utils.py:376
↓ 12 callersFunctionexecute_audit_api
Execute the Application Signals audit API call with the given input object.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:32
↓ 12 callersMethodextract_parameters
r"""Extract parameter names from template using regex {(\\w+)}. Args: template: Template string with {parameter} placeholders
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/key_template_parser.py:43
↓ 12 callersFunctionformat_pagination_info
Helper function to format pagination information for audit tools. Args: has_wildcards: Whether wildcards were used names_in_batch
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_presentation_utils.py:234
↓ 12 callersFunctiongenerate_script_content
Generate script content based on runtime and entry point. Args: runtime: Lambda runtime entry_point: Application entry point
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/utils/startup_script_generator.py:179
↓ 12 callersMethodget
Get a value from the cache.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/cache_provider.py:50
↓ 12 callersFunctionget_appsync_client
Get AWS AppSync client with proper configuration.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/helpers.py:25
↓ 12 callersFunctionget_ecr_client
Get an AWS ECR client. Args: region_name: Optional region override profile_name: Optional AWS profile override Returns:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:637
↓ 12 callersFunctionget_recommendation
Get detailed information about a specific recommendation. 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:222
↓ 12 callersMethodget_status
Check the status of all connections (Transform API cookie/SSO/AWS credentials and TCP).
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/configure.py:638
↓ 12 callersFunctionget_tgw_routes
Get routes from a specific Transit Gateway route table with optional filtering. Use this tool when: - Analyzing routing paths through a Trans
src/aws-network-mcp-server/awslabs/aws_network_mcp_server/tools/transit_gateway/get_transit_gateway_routes.py:21
↓ 12 callersMethodget_translation_job
Get detailed status information for a translation job. Args: job_id: ID of the translation job to query Returns:
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:204
↓ 12 callersFunctionhandle_aws_api_call
Execute AWS API calls with standardized error handling.
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/fetch_network_configuration.py:33
↓ 12 callersMethodimport_terminology
Import terminology from a file. Args: name: Terminology name (must be unique) file_path: Path to terminology file (CS
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/terminology_manager.py:293
↓ 12 callersFunctionjob_needs_check
Return a nudge message if load_instructions hasn't been called for this job.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/guidance_nudge.py:49
↓ 12 callersMethodlint_workflow
Lint a single workflow definition and return findings. Args: workflow_content: The workflow definition content filena
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_linting.py:44
↓ 12 callersFunctionlist_recommendation_summaries
List recommendation summaries from Cost Optimization Hub. 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:343
↓ 12 callersMethodload_instructions
MUST be called before working on any job. Checks the job artifact store for workflow instructions. If instructions exist, downloads a
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/load_instructions.py:84
↓ 12 callersFunctionmake_pool_conn
Create a PymssqlPoolConnection configured for testing.
src/mssql-mcp-server/tests/test_pymssql_pool_connection.py:23
↓ 12 callersMethodmanage_aws_athena_databases_and_tables
Manage AWS Athena databases and tables with read operations. This tool provides operations for retrieving information about databases and tab
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/athena/athena_data_catalog_handler.py:390
↓ 12 callersFunctionnormalize_datetimes_to_iso
Recursively convert ``datetime`` values in a structure to ISO 8601 UTC strings. boto3 returns Python ``datetime`` objects for AWS timestamp field
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/time_utils.py:73
↓ 12 callersFunctionparse_response_data
Helper function to parse the data from CallToolResult content.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_workgroup_handler.py:26
↓ 12 callersFunctionread_documentation_impl
The implementation of the read_documentation tool.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_utils.py:67
↓ 12 callersFunctionregister_lambda_functions
Register Lambda functions as individual tools.
src/lambda-tool-mcp-server/awslabs/lambda_tool_mcp_server/server.py:278
↓ 12 callersFunctionregister_sqs_tools
Register SQS tools with the MCP server.
src/amazon-sns-sqs-mcp-server/awslabs/amazon_sns_sqs_mcp_server/sqs.py:76
↓ 12 callersMethodresolve
Resolve a request into a configured ``boto3.Session``. Args: request: The credential resolution inputs. ``region`` is honored whe
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:284
↓ 12 callersMethodrun
Execute a command and return result.
src/cloudwatch-applicationsignals-mcp-server/evals/core/process_executor.py:36
↓ 12 callersFunctionsafe_capture
Capture a snapshot, returning a fallback message if capture fails. Use this on the happy path after a successful interaction so that a snapsh
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/error_handler.py:54
↓ 12 callersFunctionsanitize_tool_response
Sanitize tool response content before providing to LLM. Implements multiple layers of protection: 1. Filters unicode tag characters (obfuscat
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/sanitizer.py:16
↓ 12 callersMethodstart_import_job
Start a FHIR import job.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:857
↓ 12 callersFunctiontranslate_cli_to_ir
Translate the given CLI command to a Python program. The returned payload contains the final Python program if the translation was successful
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/driver.py:49
↓ 12 callersMethodtroubleshoot_stack_deployment
Collect CloudFormation failure events using describe_events API.
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/tools/cloudformation_deployment_troubleshooter.py:115
↓ 12 callersFunctiontruncate_large_tables
Detect large markdown tables and truncate them with a search_table hint. Args: markdown: Markdown content that may contain large tables
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/util.py:294
↓ 12 callersFunctionupdate_resource_impl
Update an AWS resource implementation.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/tools/resource_operations.py:144
↓ 12 callersMethodvalidate_and_resolve_path
Validate file path with security checks for path traversal. Args: file_path: Path to validate allow_absolute_paths: W
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/file_utils.py:57
↓ 12 callersFunctionvalidate_connection_arn
Validate that connection_arn follows the expected format. Args: ctx: MCP context for error reporting connection_arn: The connecti
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:622
↓ 12 callersFunctionvalidate_file_path
Validate that a file path is within the allowed working directory. Args: file_path: The file path to validate Returns: The v
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/file_system_controls.py:126
↓ 12 callersFunctionvalidate_graphql_schema
Validate GraphQL schema definition and return list of issues.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/validators.py:21
↓ 12 callersMethodvalidate_language_pair
Validate if a language pair is supported for translation. Args: source_language: Source language code target_language
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/language_operations.py:268
↓ 12 callersFunctionvalidate_openapi_spec
Validate an OpenAPI specification. Args: spec: The OpenAPI specification to validate Returns: bool: True if the specificatio
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi_validator.py:42
↓ 12 callersFunctionvalidate_pagination_token
Validate an opaque pagination token. The token is an opaque string emitted by a prior call to this client. It must be a short, well-formed op
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:71
↓ 12 callersFunctionvalidate_string_for_injection
Validate string for potential injection attacks or dangerous patterns. Args: text: The string to validate field_name: Name of the
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:331
↓ 12 callersMethodverify_resource_managed_by_mcp
Verify if a resource is managed by the MCP server based on its tags. Args: tags: List of tag dictionaries from AWS API
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/aws_helper.py:256
↓ 12 callersMethodwarning
Log a warning message to both MCP context and Loguru. Args: message: The warning message to log
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/logging_utils.py:147
↓ 12 callersMethodwrite_queries_to_file
Generate SQL file with Oracle-specific prerequisites and resilient ordering. Overrides base class to: - Inject prerequisite checks at
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/db_analyzer/oracle.py:287
↓ 11 callersMethod_analyze_with_metric_data
Helper method to analyze data using MetricData object.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metric_analyzer.py:52
↓ 11 callersFunction_append_aws_backup_status
Append AWS Backup status for SAP HANA resources. Includes actual failure reasons from the AWS Backup API (StatusMessage) for any FAILED, EXPI
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:1798
↓ 11 callersFunction_check_app_health
Check health of a single SAP application. Returns: Tuple of (markdown_report, app_status, discovery_status)
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:1181
↓ 11 callersFunction_convert_otel_to_xray_trace_id
Convert OTel trace ID to X-Ray format. OTel format: "0xdeadbeefdeadbeefdeadbeefdeadbeef" (0x + 32 hex) X-Ray format: "1-deadbeef-deadbeefdead
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/trace_tools.py:546
↓ 11 callersFunction_create_billing_conductor_client
Create a Billing Conductor client with the default region. Returns: boto3.client: AWS Billing Conductor client.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:37
↓ 11 callersFunction_create_registry_policy_not_found_exception
Create a mock RegistryPolicyNotFoundException for testing.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:2899
↓ 11 callersFunction_decode_pagination_token
Decode a v2 opaque pagination token. Returns a dict ``{'page': str, 'count': int}`` on success, or ``None`` if the token isn't in v2 format (
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:111
↓ 11 callersFunction_determine_computation_model_configuration_type
Internal utility function to determine computation model configuration type with smart optimization. This function handles the complete logic for
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_computation_models.py:41
↓ 11 callersMethod_execute_parallel_searches
Execute searches across all configured storage systems in parallel. Args: request: Search request containing search parameters
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:483
↓ 11 callersFunction_filter_operation_targets
Helper function to filter operation targets and detect wildcards. Args: provided: List of target dictionaries Returns: tuple
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/server.py:126
↓ 11 callersFunction_format_value
Format any value for display.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/tools/explanation.py:26
↓ 11 callersMethod_generate_error_suggestions
Generate actionable suggestions based on error data. Args: error_data: Parsed error data from S3 details file Returns:
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/workflow_orchestrator.py:244
↓ 11 callersFunction_get_query_operations
Extract all top-level SQL operations from the query as a set.
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/database.py:76
↓ 11 callersFunction_is_pull_through_cache_repository
Check if a repository has a pull-through cache rule configured. Queries ECR to check if any pull-through cache rule's prefix matches the repo
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/ecr_tools.py:176
↓ 11 callersFunction_make_client_error_response
Build a standard ClientError response dict for tests.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:84
↓ 11 callersFunction_mcp
()
src/aws-transform-mcp-server/tests/test_field_defaults.py:29
↓ 11 callersFunction_mock_omics_client
Create a mock HealthOmics client.
src/aws-healthomics-mcp-server/tests/test_workflow_management_resolution.py:53
↓ 11 callersFunction_parse
(result: dict)
src/aws-transform-mcp-server/tests/test_collaborator.py:40
↓ 11 callersFunction_parse_search_documentation_result
(result: CallToolResult)
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/client/aws_knowledge_client.py:65
↓ 11 callersFunction_pinned_fetch
Fetch a spec body, connecting ONLY to the IPs validation already pinned. This mirrors fastmcp's ``ssrf_safe_fetch`` but consumes the resolved IPs
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi.py:191
↓ 11 callersFunction_proxy_to_knowledge_server
Proxy a request to the remote knowledge MCP server. Args: method: The MCP tool method name to call params: Parameters to pass to
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/server.py:701
↓ 11 callersMethod_score_error_patterns
Score 0.0-1.0 based on error_pattern matches (regex, text_contains, error_type). OR-semantics: any single pattern matching any single error m
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_recommendation_engine.py:148
↓ 11 callersFunction_spec_with_ref
Build a minimal, otherwise-valid spec whose schema carries a single $ref.
src/openapi-mcp-server/tests/test_ssrf_protection.py:1179
↓ 11 callersMethod_validate_key_template_length_match
Validate that template array lengths match GSI key array lengths. When both the GSI key (partition_key/sort_key) and the mapping template
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:388
↓ 11 callersMethod_validate_multi_attribute_key
Validate multi-attribute key (partition_key or sort_key). Args: key_value: String, list of strings, or None key_name:
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:58
↓ 11 callersFunction_validate_parameters
Validate required parameters for the given action.
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/ecs_troubleshooting.py:341
↓ 11 callersMethod_validate_terminology_name
Validate terminology name.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/terminology_manager.py:614
↓ 11 callersFunction_validate_token_chain
Validate that tokens are from the same workflow chain.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/tools/resource_operations.py:54
↓ 11 callersMethodacquire
Acquire a mock connection.
src/oracle-mcp-server/tests/conftest.py:88
↓ 11 callersFunctionaudit_service_operations
🥇 PRIMARY OPERATION AUDIT TOOL - The #1 RECOMMENDED tool for operation-specific analysis and performance investigation. **⭐ USE THIS AS THE PRIMA
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/server.py:755
↓ 11 callersMethodauth_flow
Apply AWS SigV4 authentication to the request.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:191
↓ 11 callersMethodbrowser_evaluate
Execute a JavaScript expression in the page context. The expression is evaluated in the browser and its return value is serialized to
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/observation.py:294
↓ 11 callersMethodbrowser_select_option
Select an option from a dropdown or combobox. Provide one of: value (option value attribute), label (visible text), or index (zero-ba
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/interaction.py:257
↓ 11 callersMethodbuild
Build final SVG string. Returns: Complete SVG document as string
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/visualization/svg_builder.py:224
↓ 11 callersFunctioncheck_allowlist
Check if a command matches any entry in an allowlist (word-boundary aware). Handles single-word (GET), multi-word (MEMORY USAGE), and dotted (JSO
src/valkey-mcp-server/awslabs/valkey_mcp_server/common/utils.py:85
↓ 11 callersFunctioncheck_canaries_for_service
Check Synthetics canaries associated with audited services via list_service_dependents.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_utils.py:895
↓ 11 callersFunctioncheck_storage_configuration_requirements
Check storage configuration requirements for bulk import jobs. For bulk import jobs with adaptive_ingestion=False, either: 1. Multi-layer sto
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:520
← previousnext →601–700 of 30,950, ranked by callers