MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 13 callersMethodset
Set a database connection in the map.
src/mssql-mcp-server/awslabs/mssql_mcp_server/connection/db_connection_map.py:59
↓ 13 callersMethodstart_scan
Package code, upload to S3, and start a security scan. Reuses an existing CodeReview for the same workspace path if one exists. Only
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:140
↓ 13 callersMethodtool
(self, name=None, annotations=None)
src/ecs-mcp-server/tests/unit/test_main.py:33
↓ 13 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
↓ 13 callersFunctionvalidate_app_name
Validates application name to ensure it complies with AWS ECS/ECR naming requirements. Requirements: - Length: 1-20 characters (to accom
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:55
↓ 13 callersFunctionvalidate_definition_sources
Validate that exactly one definition source is provided and process it. Accepts a ``definition_source`` parameter that can be a local ZIP file pa
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:233
↓ 13 callersFunctionvalidate_rabbitmq_name
Validate RabbitMQ queue/exchange names.
src/amazon-mq-mcp-server/awslabs/amazon_mq_mcp_server/rabbitmq/connection.py:43
↓ 13 callersFunctionvalidate_schema_file
Convenience function to validate a schema file. Args: schema_path: Path to schema.json file strict_mode: If True, treats warnings
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/schema_validator.py:707
↓ 13 callersFunctionvalidate_sql_query
Validate SQL query for security issues. Args: query: SQL query to validate Returns: bool: True if the query is valid Ra
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:326
↓ 13 callersFunctionvalidate_table_name
Validate a SQL Server table name reference.
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:683
↓ 13 callersFunctionvalkey_admin
Execute a destructive Valkey command. Admin tier — disabled by default. Requires both: 1. Server config: VALKEY_ADMIN_ENABLED=true 2. con
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/valkey_admin.py:71
↓ 12 callersMethod__init__
Initialize the timeout error. Args: message: Error message timeout_seconds: Timeout duration in seconds e
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/exceptions.py:376
↓ 12 callersFunction_arg
Build a single ``--flag=value`` argv token (unambiguous for argparse).
src/aws-healthomics-mcp-server/tests/test_config.py:160
↓ 12 callersFunction_arg
Build a single ``--flag=value`` argv token (unambiguous for argparse).
src/aws-healthomics-mcp-server/tests/test_config_jwt_role_resolution.py:68
↓ 12 callersFunction_call_tool
Call the registered sp-performance tool with a mocked Cost Explorer client.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:53
↓ 12 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:52
↓ 12 callersFunction_create_mock_ecr_client_with_healthomics_access
Create a mock ECR client configured for HealthOmics access.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:95
↓ 12 callersFunction_execute_statement_fallback_no_batch
Execute one statement through ExecuteStatement, for credentials denied the batch. The compatibility path, used only while redshift-data:BatchExec
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:1364
↓ 12 callersMethod_get_eks_insights_impl
Internal implementation of get_eks_insights.
src/eks-mcp-server/awslabs/eks_mcp_server/insights_handler.py:125
↓ 12 callersFunction_get_specialized_converter
Get specific converter function for API. Args: operation_name: Name of the API operation. MUST match the string the caller pa
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:395
↓ 12 callersFunction_handle_field_value
Convert FieldInfo objects to None, otherwise return the value as-is.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/server.py:70
↓ 12 callersMethod_mock_rds_client
Create a mock RDS client returning test cluster properties.
src/mysql-mcp-server/tests/test_endpoint_validation.py:246
↓ 12 callersFunction_parse
(result: dict)
src/aws-transform-mcp-server/tests/test_field_defaults.py:35
↓ 12 callersFunction_parse
Extract the parsed JSON payload from an MCP result envelope.
src/aws-transform-mcp-server/tests/test_job.py:42
↓ 12 callersFunction_parse_identifier_parts
Parse a possibly-qualified SQL Server table name into its identifier parts. Supports both double-quoted ("name") and bracket-quoted ([name]) iden
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:598
↓ 12 callersFunction_proxy
Build a DBProxy dict shaped like describe_db_proxies returns. find_proxy_for_instance returns the whole proxy so the caller can check its Aut
src/postgres-mcp-server/tests/test_server_internal_functions.py:30
↓ 12 callersFunction_read_result
Read a finished statement's result set, following the service's paging. GetStatementResult answers one page and a NextToken while records remain.
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:333
↓ 12 callersMethod_run_in_executor
Run a synchronous function in an executor. Args: func: The function to run *args: Positional arguments to pass to the
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/client.py:117
↓ 12 callersFunction_scope
Build a minimal ASGI HTTP scope carrying the given headers.
src/aws-healthomics-mcp-server/tests/test_inbound_sigv4.py:36
↓ 12 callersMethod_score_runtime_version
Score 1.0 if version matches, 0.5 for wildcard '*', 0.0 otherwise. Supports suffix '+' for version-or-later matching (e.g. 'syn-nodej
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_recommendation_engine.py:206
↓ 12 callersFunction_setup_browser
Configure mock connection manager to return the mock browser.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_management.py:77
↓ 12 callersMethod_validate_search_request
Minimal validation - only catch obvious errors.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:330
↓ 12 callersMethodaclose
Close the open session and underlying transport, if any. Idempotent.
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:259
↓ 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 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:622
↓ 12 callersFunctioncreate_timestamps_and_values
Create test data with specified pattern.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_utils.py:9
↓ 12 callersFunctiondescribe_budgets
Retrieves budgets using the AWS Budgets API. With ``budget_name``, reads that one budget with DescribeBudget, so the name match never depends
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/budget_tools.py:452
↓ 12 callersMethoddescribe_services
Retrieve available AWS services. Args: service_code_list: List of service codes to retrieve (optional) language: The
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/client.py:501
↓ 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 callersMethodforget
Drop a transaction, whether it closed cleanly or was lost. Dropping only the registered instance, so a stale handle cannot evict the transact
src/redshift-mcp-server/awslabs/redshift_mcp_server/transactions.py:283
↓ 12 callersFunctionformat_documentation_result
Format documentation result with pagination information. Args: url: Documentation URL content: Content to format start_in
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/util.py:254
↓ 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_billing_group_cost_report
Get detailed cost report for a specific billing group. Args: ctx: The MCP context object. arn: The billing group ARN. bil
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:417
↓ 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_free_tier_usage_data
Retrieves Free Tier usage data. Args: ctx: The MCP context freetier_client: Free Tier API client filter_expr: Optional fi
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/free_tier_usage_tools.py:273
↓ 12 callersFunctionget_idle_recommendations
Get idle resource recommendations. Idle recommendations cover multiple resource types, and the `finding` field uses the IdleFinding enum. For
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_tools.py:1716
↓ 12 callersFunctionget_reserved_instances_recommendation
Get Reserved Instance recommendation details from Cost Explorer.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/recommendation_details_tools.py:501
↓ 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:647
↓ 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 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 callersMethodmessage
Join a substitution note and any reasons into one sentence run.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_utils.py:125
↓ 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 callersMethodredshift_data_client
Get or create the Redshift Data API client.
src/redshift-mcp-server/awslabs/redshift_mcp_server/clients.py:73
↓ 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 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 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:688
↓ 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 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
← previousnext →701–800 of 35,417, ranked by callers