MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions28,318 in github.com/awslabs/mcp

↓ 7,199 callersMethodget
Get value with default.
src/aws-dataprocessing-mcp-server/tests/test_utils.py:40
↓ 1,492 callersMethodinfo
Log info message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:349
↓ 757 callersMethoddebug
Log debug message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:345
↓ 578 callersMethodwarning
Log warning message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:353
↓ 577 callersMethodnow
()
src/dynamodb-mcp-server/tests/test_markdown_formatter.py:628
↓ 512 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
↓ 407 callersMethoderror
No-op error handler.
src/mssql-mcp-server/tests/conftest.py:63
↓ 367 callersMethodisoformat
(self)
src/aws-healthomics-mcp-server/tests/test_workflow_execution.py:1453
↓ 365 callersMethoderror
Mock MCP ctx.error with the given message.
src/aws-api-mcp-server/tests/fixtures.py:303
↓ 306 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
↓ 301 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
↓ 299 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
↓ 299 callersMethodtool
(self, **kwargs)
src/aws-appsync-mcp-server/tests/test_create_datasource_tool.py:38
↓ 271 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
↓ 264 callersMethoddict
Convert to dictionary representation.
src/openapi-mcp-server/awslabs/openapi_mcp_server/prompts/models.py:27
↓ 172 callersMethodclient
Return a QBusinessClient instance for testing.
src/amazon-qindex-mcp-server/tests/test_clients.py:29
↓ 168 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
↓ 162 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
↓ 162 callersMethodmodel_dump
Convert model to dictionary.
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/models.py:167
↓ 149 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
↓ 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
↓ 145 callersMethodmodel_dump_json
(self)
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/types.py:126
↓ 137 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
↓ 129 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
↓ 125 callersMethoderror
Log error message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:357
↓ 123 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
↓ 121 callersMethodget
Get a database connection from the map.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:49
↓ 113 callersMethodread
Read all content.
src/aws-api-mcp-server/tests/fixtures.py:205
↓ 109 callersMethodclear
Clear the entire cache.
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_cache.py:106
↓ 109 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
↓ 108 callersFunction_matches_wildcard_pattern
Check if text matches pre-compiled wildcard pattern. Args: text: Text to test compiled_pattern: Pre-compiled regex pattern from _
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:919
↓ 100 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
↓ 100 callersMethodrun
(self)
src/ecs-mcp-server/tests/unit/test_main.py:53
↓ 99 callersMethodcreate_test_file
Helper method to create test GenomicsFile objects.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:34
↓ 95 callersFunctionerror_result
Build a structured error result.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tool_utils.py:165
↓ 93 callersMethodclient
Fixture for creating a BedrockModelImportClient instance with mocked AWS clients.
src/aws-bedrock-custom-model-import-mcp-server/tests/test_client.py:37
↓ 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 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
↓ 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
↓ 85 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
↓ 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
↓ 81 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
↓ 80 callersMethoderror
Record an error message (no-op for tests).
src/oracle-mcp-server/tests/test_server.py:45
↓ 80 callersMethodmodel_dump
(self)
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/types.py:191
↓ 78 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
↓ 78 callersFunctionrecord
Record a test step result as passed or failed.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:681
↓ 74 callersMethod__new__
Ensure only one instance of K8sClientCache exists.
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_client_cache.py:52
↓ 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
↓ 68 callersMethoderror
Raise a runtime error with the given message. Args: message: Error message Raises: RuntimeError: Always rais
src/documentdb-mcp-server/tests/conftest.py:786
↓ 66 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
↓ 64 callersFunctioncall
Invoke one ``application-signals`` operation, wrapping AWS failures. ``method_name`` is the boto3 client method to call (e.g. ``create_instru
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/application_signals_gateway.py:47
↓ 63 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
↓ 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 callersFunctionformat_client_error
Format a botocore ClientError into a readable 'Code: Message' string.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/common.py:44
↓ 61 callersMethodget
Mimic dict.get behavior.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_ec2_instance_handler.py:49
↓ 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
↓ 60 callersMethodget
Return a stored connection or None. Two-phase lookup: 1. **Strict 5-tuple match.** Preserves the original behaviour for c
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/db_connection_map.py:110
↓ 59 callersFunction_node
Helper to build CDP AX tree nodes.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:25
↓ 59 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
↓ 59 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/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/logging_helper.py:33
↓ 59 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
↓ 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 callersMethoderror
Mock MCP ctx.error with the given message. Args: message: The error message
src/postgres-mcp-server/tests/conftest.py:252
↓ 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
↓ 57 callersMethodtool
Return a decorator that records the registered tool's name and annotations.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:50
↓ 56 callersFunctioncode_generator
Helper function to run code generation for integration tests.
src/dynamodb-mcp-server/tests/repo_generation_tool/conftest.py:210
↓ 55 callersFunctionformat_result
Format a result dictionary with status and message. This utility function creates a standardized response format used by all the MCP tools. I
src/finch-mcp-server/awslabs/finch_mcp_server/utils/common.py:161
↓ 55 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
↓ 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
↓ 54 callersMethodset
Set a database connection in the map.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:67
↓ 53 callersFunction_compile_wildcard_pattern
Compile wildcard pattern once for reuse. Args: pattern: Wildcard pattern with * for any characters Returns: Compiled regex p
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:888
↓ 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
↓ 53 callersMethodschema
(self)
src/s3-tables-mcp-server/tests/test_file_processor_utils.py:884
↓ 53 callersMethodstrftime
(self, fmt)
src/healthlake-mcp-server/tests/test_server_core.py:44
↓ 53 callersFunctionsuccess_result
Wrap *data* in a ``{success: true, data: ...}`` envelope.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tool_utils.py:160
↓ 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
↓ 52 callersMethodget
Get a value from the cache.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/cache_provider.py:50
↓ 51 callersMethodadd_error
Add an error to the validation result.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/validation_utils.py:43
↓ 51 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
↓ 51 callersMethoderror
Do nothing. Args: message: The error message
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/server.py:734
↓ 50 callersMethoderror
Log an error message to both MCP context and Loguru. Args: message: The error message to log exc_info: Whether to inc
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/logging_utils.py:156
↓ 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 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
↓ 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 callersFunction_make_group
Helper to create a ServiceGroups entry.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:34
↓ 46 callersMethodcreate_test_file
Helper method to create test GenomicsFile objects.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:34
↓ 46 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
↓ 46 callersMethodload
Load language configuration from JSON file.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/language_config.py:69
↓ 45 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
↓ 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 callersMethodremove
Remove a database connection from the map.
src/mssql-mcp-server/awslabs/mssql_mcp_server/connection/db_connection_map.py:78
↓ 45 callersMethodrun
Mock run method.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3532
↓ 45 callersMethodsearch
Coordinate searches across multiple storage systems and return ranked results. Args: request: Search request containing search pa
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:131
↓ 44 callersMethodcreate_client
Create an HTTP client with enhanced functionality. Args: base_url: Base URL for the client headers: Optional headers
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/http_client.py:49
next →1–100 of 28,318, ranked by callers