MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 1,899 callersMethodget
Get value with default.
src/aws-dataprocessing-mcp-server/tests/test_utils.py:40
↓ 761 callersMethodinfo
Log info message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:349
↓ 553 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
↓ 444 callersMethodnow
()
src/dynamodb-mcp-server/tests/test_markdown_formatter.py:628
↓ 441 callersMethodwarning
Log warning message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:353
↓ 346 callersMethoddebug
Log debug message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:345
↓ 304 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
↓ 275 callersMethoddict
Convert to dictionary representation.
src/openapi-mcp-server/awslabs/openapi_mcp_server/prompts/models.py:27
↓ 262 callersMethoderror
No-op error handler.
src/mssql-mcp-server/tests/conftest.py:69
↓ 217 callersMethodisoformat
(self)
src/aws-healthomics-mcp-server/tests/test_workflow_execution.py:1608
↓ 199 callersMethoderror
Mock MCP ctx.error with the given message.
src/aws-api-mcp-server/tests/fixtures.py:303
↓ 188 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
↓ 159 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:869
↓ 149 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
↓ 146 callersFunctiondetect_mutating_keywords
r"""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:376
↓ 145 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
↓ 145 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:331
↓ 138 callersMethodadd
Append ``record``, preserving creation order. Args: record: The resource record to record in the inventory.
src/aws-healthomics-mcp-server/integration/harness/inventory.py:72
↓ 138 callersMethodclient
Return a QBusinessClient instance for testing.
src/amazon-qindex-mcp-server/tests/test_clients.py:29
↓ 133 callersMethodmodel_dump
Convert model to dictionary.
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/models.py:167
↓ 132 callersMethodmain
()
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:1410
↓ 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
↓ 120 callersMethoddecode
(self, encoding)
src/aws-healthomics-mcp-server/tests/test_transport_and_multitenant_edges.py:226
↓ 118 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
↓ 110 callersMethodlist_tools
List the tools advertised by the server within ``timeout_s`` seconds. Args: timeout_s: Maximum seconds to wait for the tool list
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:219
↓ 108 callersMethodclear
Clear the entire cache.
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_cache.py:106
↓ 108 callersMethodread
Read all content.
src/aws-api-mcp-server/tests/fixtures.py:205
↓ 107 callersFunctionparse_html_tables
Extract tables from an HTML section as structured data. Matches section_title against h1/h2/h3 headings (case-insensitive). Collects all tabl
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:139
↓ 106 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
↓ 104 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:218
↓ 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
↓ 104 callersFunctionpaginate_aws_items
Fetch pages until the data ends or the next page could exceed ``max_items``. ``max_pages`` limits the call to a number of pages instead, each at
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:667
↓ 103 callersMethodclient
Fixture for creating a BedrockModelImportClient instance with mocked AWS clients.
src/aws-bedrock-custom-model-import-mcp-server/tests/test_client.py:37
↓ 101 callersMethodrun
(self)
src/ecs-mcp-server/tests/unit/test_main.py:53
↓ 99 callersMethodget
Get a database connection from the map.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:55
↓ 94 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
↓ 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 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:413
↓ 84 callersMethoderror
Log error message.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:357
↓ 84 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
↓ 80 callersFunction_fake_batch
Build the terminal batch response that _execute_batch() returns. Each entry of `subs` is either a status string or the keyword arguments for _fak
src/redshift-mcp-server/tests/helpers.py:37
↓ 79 callersMethodget
Get a transaction that is open and has a session to submit on. Args: cluster: The cluster the transaction runs on. da
src/redshift-mcp-server/awslabs/redshift_mcp_server/transactions.py:221
↓ 77 callersFunction_fake_cluster
Build a RedshiftCluster for mocking discover_clusters() return values.
src/redshift-mcp-server/tests/helpers.py:22
↓ 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_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
↓ 75 callersMethod__new__
Ensure only one instance of K8sClientCache exists.
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_client_cache.py:52
↓ 75 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
↓ 72 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:567
↓ 71 callersFunctionwith_pagination
Attach the pagination block to a tool's response data. The block goes under lowercase ``pagination``, ahead of the data, so a reader (or a tr
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:823
↓ 69 callersFunction_conn
(**kwargs)
src/db2-mcp-server/tests/test_ibm_db_connection.py:50
↓ 68 callersMethodmodel_dump
(self)
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/types.py:191
↓ 67 callersMethodresolve
(self, request: CredentialRequest)
src/aws-healthomics-mcp-server/tests/test_credential_seam_routing.py:54
↓ 62 callersMethodlist_resources
List AWS Transform resources by type.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/list_resources.py:260
↓ 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 callersFunction_parse_result
Parse the MCP text result envelope into a Python dict.
src/aws-transform-mcp-server/tests/test_list_resources.py:37
↓ 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:141
↓ 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:595
↓ 58 callersFunctionpatch_client
Fixture that patches MongoClient with our mock and configures a connection. Installs a mock DocumentDB client and sets a configured connection st
src/documentdb-mcp-server/tests/conftest.py:834
↓ 58 callersMethodset
Set a database connection in the map.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:73
↓ 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
↓ 55 callersFunction_reload_coh_with_identity_decorator
Reload cost_optimization_hub_tools with FastMCP.tool patched to return the original function unchanged (identity decorator). This exposes a calla
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:284
↓ 55 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:221
↓ 55 callersMethodrun
Mock run method.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3532
↓ 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:30
↓ 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:251
↓ 51 callersFunctionexecute_query
Execute a SQL statement against a Redshift cluster using the Data API. Without a transaction parameter the statement runs on its own connection a
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:1530
↓ 51 callersMethodskip
Record a step that could not run. Counts as not-pass. Appends to the list directly, NOT via ``self.result.skipped or []``: the list s
src/postgres-mcp-server/tests/e2e/proxy_e2e_test.py:189
↓ 49 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:336
↓ 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 callersMethodget_resource
Retrieve a specific AWS Transform resource by type.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/get_resource.py:142
↓ 47 callersMethodremove
Remove a database connection from the map.
src/db2-mcp-server/awslabs/db2_mcp_server/connection/db_connection_map.py:186
↓ 47 callersMethodschema
(self)
src/s3-tables-mcp-server/tests/test_file_processor_utils.py:884
↓ 47 callersMethodstart
Apply the exposure check, then run the transport. For network transports the secure-by-default exposure check is performed first: a n
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/transport.py:99
↓ 46 callersFunctioncreate_aws_client
Create and return an AWS service client with appropriate security constraints. Args: service_name: AWS service name (e.g., "ce", "pricing
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:142
↓ 46 callersFunctionlist_invoice_summaries
List AWS invoice summaries for an account or a single invoice. Retrieves invoice-level (header) details without line items. The required API
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/invoicing_operations.py:243
↓ 46 callersMethodnow
(cls, tz=None)
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1272
↓ 45 callersMethodcall_tool
Invoke a tool by name within ``timeout_s`` seconds. A timeout is surfaced as an error (Requirement 4.4/4.5); it is never a silent hang.
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:233
↓ 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 callersFunctionparse_config
Parse and resolve server configuration from CLI flags and environment. Each value is resolved with CLI-over-environment precedence and the transp
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:533
↓ 44 callersFunction_fake_ibm_db
Build a fake ibm_db module covering the calls the connection makes.
src/db2-mcp-server/tests/test_ibm_db_connection.py:257
↓ 44 callersFunction_reload_with_identity_decorator
Reload module with FastMCP.tool patched to return the original function.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:53
↓ 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 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:153
↓ 44 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
↓ 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 callersMethodexecute
Execute a query (no-op).
src/oracle-mcp-server/tests/conftest.py:60
↓ 43 callersFunctioninternal_connect_to_database
Connect to a specific database save the connection internally. Args: region: region database_type: database type (one of 'aurora-
src/mysql-mcp-server/awslabs/mysql_mcp_server/server.py:607
↓ 43 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:69
↓ 43 callersMethodstrftime
(self, fmt)
src/healthlake-mcp-server/tests/test_server_core.py:44
↓ 42 callersFunction_parse_result
Parse the MCP text result envelope into a Python dict.
src/aws-transform-mcp-server/tests/test_get_resource.py:30
↓ 42 callersFunctionadd_retry_guidance
Return a copy of an error response with retry_strategy and hint filled in. A call site that sets retry_strategy overrides the mapping, and no map
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/error_contract.py:180
next →1–100 of 35,417, ranked by callers