MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions28,468 in github.com/awslabs/mcp

↓ 1,655 callersMethodget
Get value with default.
src/aws-dataprocessing-mcp-server/tests/test_utils.py:40
↓ 729 callersMethodinfo
Log info message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:349
↓ 456 callersMethodnow
()
src/dynamodb-mcp-server/tests/test_markdown_formatter.py:628
↓ 386 callersMethodwarning
Log warning message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:353
↓ 365 callersMethodpatch
Apply patches to the library. Args: mock_config: Mock configuration dictionary for this library (fixture paths must be absolute)
src/cloudwatch-applicationsignals-mcp-server/evals/core/mcp_dependency_mocking_handler.py:82
↓ 331 callersMethoddebug
Log debug message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:345
↓ 296 callersMethodcall
Call the wrapped MCP tool function with proper parameter handling. Args: ctx: MCP context **kwargs: Parameter values
src/aws-healthomics-mcp-server/tests/test_helpers.py:103
↓ 271 callersMethoderror
No-op error handler.
src/mssql-mcp-server/tests/conftest.py:63
↓ 257 callersMethoddict
Convert to dictionary representation.
src/openapi-mcp-server/awslabs/openapi_mcp_server/prompts/models.py:27
↓ 234 callersMethoddecode
Decode a continuation token string back to a GlobalContinuationToken object.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/models/search.py:362
↓ 210 callersMethodisoformat
(self)
src/aws-healthomics-mcp-server/tests/test_workflow_execution.py:1453
↓ 196 callersMethoderror
Mock MCP ctx.error with the given message.
src/aws-api-mcp-server/tests/fixtures.py:303
↓ 145 callersFunction_create_mock_ecr_client
Create a mock ECR client with default PTC rules configured. This ensures that _is_pull_through_cache_repository doesn't hang waiting for a re
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:270
↓ 129 callersMethodmodel_dump
Convert model to dictionary.
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/models.py:167
↓ 123 callersMethodencode
Encode the continuation token to a string for client use.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/models/search.py:343
↓ 114 callersMethodadd
Add a document to the search index. Args: doc: Document to add to the index Note: Extracts and weights diffe
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/utils/indexer.py:80
↓ 112 callersMethodclient
Return a QBusinessClient instance for testing.
src/amazon-qindex-mcp-server/tests/test_clients.py:29
↓ 108 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/saas/base_repository.py:168
↓ 104 callersMethodget
Generic get operation with optional consistent read
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/languages/python/base_repository.py:149
↓ 103 callersMethodread
Read all content.
src/aws-api-mcp-server/tests/fixtures.py:205
↓ 91 callersMethodclear
Clear the entire cache.
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_cache.py:106
↓ 87 callersMethodfrom_json
Parse JSON dict into DataModel with validation. Args: data: Dictionary containing table definitions Returns:
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:142
↓ 87 callersFunctionparse
Parse a CLI command string into an IRCommand object.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:389
↓ 85 callersFunctionquery_rum_events
CloudWatch RUM – monitor real user experience across web and mobile apps. Use the ``action`` parameter to select an operation. All other paramet
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:80
↓ 84 callersMethodclient
Fixture for creating a BedrockModelImportClient instance with mocked AWS clients.
src/aws-bedrock-custom-model-import-mcp-server/tests/test_client.py:37
↓ 83 callersMethodtool
(self, **kwargs)
src/aws-appsync-mcp-server/tests/test_create_datasource_tool.py:38
↓ 82 callersMethod_get_client
Get boto3 Q Business client. Returns: Boto3QBusinessClient: Boto3 Q Business client
src/amazon-qindex-mcp-server/awslabs/amazon_qindex_mcp_server/clients.py:60
↓ 82 callersMethoderror
Log error message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:357
↓ 82 callersMethodinitialize
Initialize the context with configuration options. Args: readonly: Whether to run in read-only mode (prevents mutations)
src/iam-mcp-server/awslabs/iam_mcp_server/context.py:28
↓ 81 callersMethodinfo
Log an info message to both MCP context and Loguru. Args: message: The info message to log
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/logging_utils.py:138
↓ 77 callersFunctionlog_with_request_id
Log a message with the request ID from the context. Args: ctx: The MCP context containing the request ID level: The log level (fr
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/logging_helper.py:33
↓ 76 callersFunctionhandle_aws_error
Handle AWS service errors in a standardized way. Args: ctx: The MCP context object error: The exception that was raised o
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:167
↓ 74 callersMethod__new__
Ensure only one instance of K8sClientCache exists.
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_client_cache.py:52
↓ 73 callersFunctionformat_response
Format a standard API response. Args: status: Response status ("success" or "error") data: Response data payload message:
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:381
↓ 71 callersFunctionhandle_tool_error
Handle tool errors by logging and returning error information to the agent. This ensures errors are communicated to the agent rather than being s
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/error_utils.py:22
↓ 69 callersFunctionget_omics_client
Get an AWS HealthOmics client. Args: region_name: Optional region override profile_name: Optional AWS profile override Retur
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:238
↓ 69 callersMethodlist_tools
List all available tools.
testing/mcp_test_client.py:87
↓ 69 callersMethodrun
(self)
src/ecs-mcp-server/tests/unit/test_main.py:53
↓ 68 callersMethodmodel_dump
(self)
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/types.py:191
↓ 63 callersMethodsearch
Search the index and return ranked results. Args: query: Search query string k: Maximum number of results to return
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/utils/indexer.py:130
↓ 62 callersFunctionpatch_client
Fixture that patches MongoClient with our mock. Args: monkeypatch: pytest monkeypatch fixture Returns: function: Function to
src/documentdb-mcp-server/tests/conftest.py:815
↓ 61 callersMethodcreate_connection
Create a new connection to DocumentDB. Args: connection_string: DocumentDB connection string Example: "mongodb://
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/connection_tools.py:53
↓ 60 callersFunctioncreate_sitewise_client
Create a standardized AWS IoT SiteWise client with proper user agent. Args: region: AWS region name (default: us-east-1) Returns:
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/client.py:25
↓ 58 callersFunctioncreate_workflow
Create a new HealthOmics workflow. Args: ctx: MCP context for error reporting name: Name of the workflow definition_sourc
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_management.py:126
↓ 58 callersFunctioncreate_workflow_version
Create a new version of an existing workflow. Args: ctx: MCP context for error reporting workflow_id: ID of the workflow
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_management.py:587
↓ 57 callersMethodget
Get a database connection from the map.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:49
↓ 57 callersFunctionhandle_iam_error
Handle IAM-specific errors and return standardized error responses. Args: error: The exception that was raised Returns: Stan
src/iam-mcp-server/awslabs/iam_mcp_server/errors.py:83
↓ 56 callersFunctioncode_generator
Helper function to run code generation for integration tests.
src/dynamodb-mcp-server/tests/repo_generation_tool/conftest.py:210
↓ 54 callersFunction_make_ssm_sap_client
Build a mock ssm-sap client with configurable responses.
src/aws-for-sap-management-mcp-server/tests/test_health.py:38
↓ 53 callersMethod_validate_schema_dict
Helper method to validate a schema dictionary.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:27
↓ 53 callersFunctioncheck_sql_injection_risk
Check for potential SQL injection risks in sql query. Args: sql: query string Returns: dictionaries containing detected secu
src/mssql-mcp-server/awslabs/mssql_mcp_server/mutable_sql_detector.py:241
↓ 53 callersMethodlist_resources
List AWS Transform resources by type.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/list_resources.py:245
↓ 52 callersFunctioncheck_sql_injection_risk
r"""Check for potential SQL injection risks in sql query. Comment-based bypasses are mitigated in two stages: 1. MySQL conditional comments
src/mysql-mcp-server/awslabs/mysql_mcp_server/mutable_sql_detector.py:216
↓ 52 callersFunctiondetect_mutating_keywords
Return a list of mutating keywords found in the SQL (excluding comments and string literals).
src/mssql-mcp-server/awslabs/mssql_mcp_server/mutable_sql_detector.py:214
↓ 51 callersMethodformat
Format log record with structured information. Args: record: Log record to format Returns: Formatted log mes
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:72
↓ 49 callersFunction_parse_result
Parse the MCP text result envelope into a Python dict.
src/aws-transform-mcp-server/tests/test_list_resources.py:37
↓ 48 callersMethodget_sap_health_summary
Get comprehensive health summary for SAP systems managed by SSM for SAP. Returns structured per-application health data including: -
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:2466
↓ 47 callersFunctioncall_transform_api
Call FES using the stored connection config via boto3 client. Accepts a FESRequest Pydantic model, a plain mapping, or None. Pydantic models
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/transform_api_client.py:313
↓ 47 callersMethodschema
(self)
src/s3-tables-mcp-server/tests/test_file_processor_utils.py:884
↓ 46 callersFunctioncheck_sql_injection_risk
Check for potential SQL injection risks in sql query. Args: sql: query string Returns: dictionaries containing detected secu
src/postgres-mcp-server/awslabs/postgres_mcp_server/mutable_sql_detector.py:464
↓ 45 callersFunctionformat_validation_errors
r"""Format Pydantic validation errors with location context and custom messages. Extracts location paths from Pydantic errors and prefixes ea
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/data_model.py:473
↓ 45 callersMethodload
Load language configuration from JSON file.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/language_config.py:69
↓ 45 callersMethodremove
Remove a database connection from the map.
src/mssql-mcp-server/awslabs/mssql_mcp_server/connection/db_connection_map.py:78
↓ 44 callersMethodcapture
Capture the accessibility tree and return formatted text. When a selector is provided, uses CDP Accessibility.getPartialAXTree for re
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/snapshot_manager.py:83
↓ 44 callersMethodget_connection
Get or create an AWS service client connection with retry capabilities. Returns: boto3.client: An AWS service client configured w
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/common/connection.py:32
↓ 44 callersMethodlint_workflow_bundle
Lint a multi-file workflow bundle and return findings. Args: workflow_files: Dictionary mapping file paths to their content
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_linting.py:59
↓ 44 callersMethodmodel_dump_json
(self)
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/types.py:126
↓ 43 callersFunction_list_change_events
Retrieve change events for AWS resources within specified time range. Args: start_time: Start time for change event query (ISO 8601 or Un
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/change_tools.py:105
↓ 43 callersFunctioncheck_container_availability
Check if a container image is available in ECR and accessible by HealthOmics. Queries ECR to determine if a specific container image exists in a
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/ecr_tools.py:351
↓ 43 callersFunctioncreate_pull_through_cache_for_healthomics
Create a pull-through cache rule configured for HealthOmics. Creates an ECR pull-through cache rule for the specified upstream registry and c
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/ecr_tools.py:844
↓ 43 callersMethodget_resource
Retrieve a specific AWS Transform resource by type.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/get_resource.py:139
↓ 42 callersFunctiondetect_mutating_keywords
Return a list of mutating keywords found in the SQL (excluding comments). SQL inline comments (`/* ... */`, `-- ...`, `# ...`) are treated as
src/mysql-mcp-server/awslabs/mysql_mcp_server/mutable_sql_detector.py:187
↓ 42 callersMethodmanage_aws_emr_clusters
Manage AWS EMR EC2 clusters with comprehensive control over cluster lifecycle. This tool provides operations for managing Amazon EMR clusters
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/emr/emr_ec2_cluster_handler.py:70
↓ 41 callersMethodmanage_aws_glue_jobs
Manage AWS Glue ETL jobs and job runs with both read and write operations. This tool provides comprehensive operations for managing AWS Glue
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/glue/glue_etl_handler.py:63
↓ 40 callersFunctionecs_api_operation
Execute an ECS API operation with the provided parameters. Args: api_operation: The boto3 ECS API operation to execute (camelCase)
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/resource_management.py:175
↓ 40 callersMethodmanage_aws_glue_workflows
Manage AWS Glue workflows to orchestrate complex ETL activities. This tool allows you to create, delete, retrieve, list, and start AWS Glue w
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/glue/worklows_handler.py:62
↓ 40 callersMethodvalidate_filter_expression
Validate a complete filter expression block. Args: filter_expr: The filter_expression dict from the access pattern en
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/filter_expression_validator.py:57
↓ 39 callersMethodget
Get a value from the cache. Args: key: Cache key Returns: Any: Cached value or None if not found or expired
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_cache.py:46
↓ 39 callersFunctionget_aws_client
Gets an AWS service client. Parameters ---------- service_name : str The name of the AWS service (e.g., 'ecs', 's3', 'ec2')
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/aws.py:46
↓ 39 callersFunctionget_medical_imaging_client
Get a medical imaging client with proper user agent.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/healthimaging_operations.py:79
↓ 39 callersMethodrun
Mock run method.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3532
↓ 38 callersFunction_parse_result
Parse the MCP text result envelope into a Python dict.
src/aws-transform-mcp-server/tests/test_get_resource.py:30
↓ 38 callersMethodget
Generic get operation with optional consistent read
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/saas/base_repository.py:149
↓ 38 callersMethodset
Set a database connection in the map.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:67
↓ 37 callersMethodget_paginator
(self, name)
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:58
↓ 37 callersMethodmanage_aws_athena_queries
Execute and manage AWS Athena SQL queries. This tool provides comprehensive operations for AWS Athena query management, including sta
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/athena/athena_query_handler.py:64
↓ 37 callersMethodmanage_aws_glue_data_catalog_connections
Manage AWS Glue Data Catalog connections with both read and write operations. Connections in AWS Glue store connection information for data s
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/glue/data_catalog_handler.py:444
↓ 36 callersFunction_configure_security_groups
Configure security group rules to allow access from EC2 instance to ElastiCache replication group. Args: replication_group_id (str): ID o
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/rg/connect.py:25
↓ 36 callersFunction_make_entry
Helper to create a KBEntry with sensible defaults.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_recommendation_engine.py:42
↓ 36 callersMethodcall_tool
Call a specific tool with given arguments.
testing/mcp_test_client.py:97
↓ 36 callersFunctioncheck_sql_injection_risk
Check for potential SQL injection risks in sql query. Args: sql: query string readonly: when True, also checks for sensitive dict
src/oracle-mcp-server/awslabs/oracle_mcp_server/mutable_sql_detector.py:227
↓ 36 callersFunctionlint_workflow_bundle
Lint multi-file WDL or CWL workflow bundles and return validation findings. This tool validates multi-file workflow bundles using appropriate lin
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_linting.py:444
↓ 36 callersFunctionparse_json
Parse a JSON string into a Python object. Args: json_str: JSON string to parse parameter_name: Name of the parameter (for error m
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:103
↓ 35 callersFunction_make_group
Helper to create a ServiceGroups entry.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:34
↓ 35 callersMethodcreate_test_file
Helper method to create test GenomicsFile objects.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:34
↓ 35 callersMethodget
Mimic dict.get behavior.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_ec2_instance_handler.py:49
↓ 35 callersFunctionget_workflow
Get details about a specific workflow. Args: ctx: MCP context for error reporting workflow_id: ID of the workflow to retrieve
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_management.py:417
↓ 35 callersMethodmanage_aws_emr_ec2_instances
Manage AWS EMR EC2 instances with both read and write operations. This tool provides comprehensive operations for managing Amazon EMR EC2 ins
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/emr/emr_ec2_instance_handler.py:60
↓ 34 callersFunctionlog_with_request_id
Log a message with the request ID from the context. Args: ctx: The MCP context containing the request ID level: The log level (fr
src/eks-mcp-server/awslabs/eks_mcp_server/logging_helper.py:33
↓ 34 callersMethodmanage_aws_glue_sessions
Manage AWS Glue Interactive Sessions for running Spark and Ray workloads. This tool provides operations for creating and managing Glue Intera
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/glue/interactive_sessions_handler.py:60
next →1–100 of 28,468, ranked by callers