MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 1 callersFunction_cluster_has_healthy_member
Return True when the cluster has a healthy member able to serve this role. Routing a read-only connection to a proxy whose only healthy member is
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/cp_api_connection.py:235
↓ 1 callersFunction_cluster_target_matches
Return True when a target is the TRACKED_CLUSTER entry for this cluster. Health is NOT checked here, because the cluster entry carries no TargetH
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/cp_api_connection.py:222
↓ 1 callersFunction_code_capture_from_dict
(payload: Dict[str, Any])
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/capture.py:192
↓ 1 callersFunction_code_location_from_dict
(payload: Dict[str, Any])
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/location.py:370
↓ 1 callersFunction_coerce_date_for_granularity
Coerce a date to the format the requested granularity expects. Monthly metrics use ``YYYY-MM``; truncate a ``YYYY-MM-DD`` value (e.g. from ``
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_tools.py:85
↓ 1 callersFunction_coerce_to_json_string
Accept dict/list from lenient MCP hosts; serialize to JSON string. Some MCP hosts (e.g. Kiro) auto-parse string arguments that look like JSON
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/hitl.py:57
↓ 1 callersFunction_coh_tool_as_served
Return the cost-optimization tool as served (reloaded with the real decorator). The identity-decorator reload above leaves a server with no tools
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:396
↓ 1 callersFunction_collapse_soft_breaks
Reduce soft boundaries and surrounding whitespace to single spaces.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:70
↓ 1 callersFunction_collect_nodes
Return every node in the parse tree rooted at ``raw_stmt`` (RawStmt). Iterative (explicit stack) rather than recursive: a deeply nested statement
src/postgres-mcp-server/awslabs/postgres_mcp_server/sql_guard.py:312
↓ 1 callersFunction_collect_nodes
Return all AST nodes using an iterative walk.
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/sql_guard.py:323
↓ 1 callersFunction_collect_response_enums
Collect {member name: enum values} from a response shape, first occurrence wins.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_tools.py:210
↓ 1 callersFunction_collect_summaries
Query per-task peak summaries for the run: metric -> task_id -> summary.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/analysis.py:361
↓ 1 callersFunction_collect_tenant_specs
Collect apigateway tenant specs from ``--tenant`` options and the environment. Args: args: The parsed CLI arguments. Returns:
src/aws-healthomics-mcp-server/integration/deploy/cli.py:140
↓ 1 callersFunction_collect_tools
Every tool published by every FastMCP server under the tools package.
src/billing-cost-management-mcp-server/tests/test_tool_description_lint.py:111
↓ 1 callersFunction_compact
Remove omitted optional fields from a FES request body.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/engagement.py:168
↓ 1 callersMethod_compare_expected_tools
Compare called tools against expected tools. Args: expected_tools: List of MCP tools expected to be used Returns:
src/cloudwatch-applicationsignals-mcp-server/evals/core/metrics_tracker.py:138
↓ 1 callersFunction_compute_col_widths
Compute the max width for each column across headers and rows.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/report_generator.py:54
↓ 1 callersFunction_compute_rw_summary
Compute per-resource R/W cost summary rows. Returns: Tuple of (grand_total, summary_rows) where each row is [resource_name, type,
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/report_generator.py:287
↓ 1 callersMethod_configure_eks_ca_ssl_context
Configure Kubernetes TLS verification for EKS-generated cluster CAs.
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_apis.py:140
↓ 1 callersFunction_configure_logging
Configure loguru file sink and bridge stdlib logging into loguru.
src/valkey-mcp-server/awslabs/valkey_mcp_server/main.py:43
↓ 1 callersMethod_configure_proxy_settings
Configure proxy settings for Kubernetes client from environment variables.
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_apis.py:124
↓ 1 callersFunction_configure_windows_event_loop_policy
Use a selector loop on Windows for psycopg's async connections.
src/postgres-mcp-server/awslabs/postgres_mcp_server/server.py:151
↓ 1 callersMethod_connect
Build and verify a new client from the operator-configured connection string. Returns: A new, verified pymongo client. R
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/connection_tools.py:35
↓ 1 callersMethod_connect_sync
Open a synchronous ibm_db connection (autocommit OFF for read-only safety).
src/db2-mcp-server/awslabs/db2_mcp_server/connection/ibm_db_connection.py:262
↓ 1 callersFunction_connected_response
()
src/mysql-mcp-server/awslabs/mysql_mcp_server/server.py:684
↓ 1 callersFunction_continuation_param_name
Derive the real parameter name a caller uses to pass a continuation token. Inspects the wrapped tool's own signature so the instruction text alwa
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/pagination.py:86
↓ 1 callersFunction_convert_credit_id
Convert a credit ID from a string to the integer the API expects. ``GetCreditAllocationHistory`` declares ``creditId`` as a long while ``GetC
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:253
↓ 1 callersMethod_convert_query_input_to_aws
Convert MetricDataQueryInput to AWS SDK format. Args: query: The input query model default_period: Default period to
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:1171
↓ 1 callersMethod_convert_result_to_content
Convert a result object to appropriate content object(s). Args: result: The result object from a tool function Returns:
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/mcp_lambda_handler.py:356
↓ 1 callersMethod_copy_support_file
Copy a single support file from language-specific directory.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/output/output_manager.py:100
↓ 1 callersFunction_coverage
(ctx, client, start, end, granularity='MONTHLY')
src/billing-cost-management-mcp-server/tests/tools/test_ri_performance_tools.py:1738
↓ 1 callersFunction_create_access_denied_exception
Create a mock AccessDeniedException for testing.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1083
↓ 1 callersMethod_create_acm_certificate
Create an ACM certificate for the domain. Args: acm_client: ACM boto3 client domain_name: Domain name for the certifi
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/configure_domain.py:123
↓ 1 callersFunction_create_agentcore_runtime
Create the AgentCore Runtime from ``config`` and return its identity + endpoint. Wires the execution role and the ``customJWTAuthorizer`` (Cognit
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:976
↓ 1 callersMethod_create_alarm_threshold
Create threshold object from threshold data. Args: threshold_data: Raw alarm threshold data Returns: AlarmRe
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:1007
↓ 1 callersFunction_create_and_insert
Create a table from a column spec and insert records using ``rec.get(name)``. Args: cursor: SQLite cursor used to execute CREATE TABLE an
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:551
↓ 1 callersMethod_create_anomaly_detector_recommendation
Create an anomaly detector recommendation. Args: metric_name: The metric name namespace: The metric namespace
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:1106
↓ 1 callersMethod_create_basic_mock_response
Create a basic mock response for testing.
src/aws-healthomics-mcp-server/tests/test_integration_framework.py:259
↓ 1 callersMethod_create_bedrock_client
Create a Bedrock client. Returns: Any: Bedrock client
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/client.py:43
↓ 1 callersFunction_create_billing_client
Create an AWS Billing client. Returns: boto3.client: AWS Billing client.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_preferences_operations.py:41
↓ 1 callersMethod_create_cassandra_session
Create a session for Apache Cassandra.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/client.py:86
↓ 1 callersMethod_create_error_response
Create appropriate error response based on operation type.
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/emr/emr_ec2_cluster_handler.py:63
↓ 1 callersMethod_create_error_response
Create appropriate error response based on operation type.
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/emr/emr_serverless_application_handler.py:61
↓ 1 callersMethod_create_error_response
Create appropriate error response based on operation type.
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/emr/emr_serverless_job_run_handler.py:65
↓ 1 callersFunction_create_healthomics_registry_policy
Create a registry policy that grants HealthOmics access.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:54
↓ 1 callersFunction_create_healthomics_repository_policy
Create a repository policy that grants HealthOmics access.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:75
↓ 1 callersMethod_create_imported_model_from_response
Create an ImportedModel from the API response. Args: response: The model data from the API Returns: Imported
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/services/imported_model_service.py:126
↓ 1 callersMethod_create_inline_policy
Create a new inline policy with the specified permissions. Args: ctx: The MCP context iam_client: IAM client to use
src/eks-mcp-server/awslabs/eks_mcp_server/iam_handler.py:298
↓ 1 callersMethod_create_inline_policy
Create a new inline policy with the specified permissions. Args: ctx: The MCP context role_name: Name of the role
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/commons/common_resource_handler.py:1365
↓ 1 callersFunction_create_invoicing_client
Create an AWS Invoicing client. The Region is intentionally not hard-coded. ``create_aws_client`` resolves it from the ``AWS_REGION`` environ
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/invoicing_operations.py:189
↓ 1 callersMethod_create_job_summary
Create a job summary from the API response. Args: job: The job data from the API Returns: ModelImportJobSumm
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/services/model_import_service.py:281
↓ 1 callersMethod_create_keyspaces_session
Create a session for Amazon Keyspaces.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/client.py:108
↓ 1 callersFunction_create_mock_ptc_rules_response
Create a mock response for describe_pull_through_cache_rules with given prefixes.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:44
↓ 1 callersMethod_create_model_summary
Create a model summary from the API response. Args: model: The model data from the API Returns: ModelSummary
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/services/imported_model_service.py:172
↓ 1 callersMethod_create_parameter_aware_mock
Create a mock that matches on parameters. Matching rules: - Empty request dict {} matches any parameters (wildcard) - Non-emp
src/cloudwatch-applicationsignals-mcp-server/evals/core/mcp_dependency_mocking_handler.py:161
↓ 1 callersFunction_create_partial_healthomics_policy
Create a sample repository policy with partial HealthOmics permissions.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1127
↓ 1 callersMethod_create_pricing_data
Helper to create test pricing data structure.
src/aws-pricing-mcp-server/tests/test_server.py:1894
↓ 1 callersFunction_create_repository_template_for_healthomics
Create a repository creation template with HealthOmics permissions. Creates a repository creation template for the specified prefix that auto
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/ecr_tools.py:1195
↓ 1 callersMethod_create_rest_api
Create the REST API, its authorizer, and the private integration; deploy it. Builds the regional REST API as the sole reachable ingress: a pr
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:534
↓ 1 callersMethod_create_route53_record
Create Route53 records for the domain. Args: route53_client: Route53 boto3 client domain_name: Domain name
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/configure_domain.py:287
↓ 1 callersMethod_create_s3_client
Create an S3 client. Returns: Any: S3 client
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/client.py:55
↓ 1 callersMethod_create_server
Record the loopback-bound server target the private integration fronts. The server compute is provisioned per the operator's documented, repe
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:495
↓ 1 callersMethod_create_snapshot
Create a new snapshot file.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_snapshot_generation.py:276
↓ 1 callersMethod_create_ssl_context_for_keyspaces
Create an SSL context for Amazon Keyspaces.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/client.py:150
↓ 1 callersFunction_create_sts_client
Build a boto3 STS client (operator credentials) for assuming Tenant_Roles (lazy import).
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:809
↓ 1 callersMethod_create_vpc_link
Create the VPC link that makes the API Gateway integration private. The link fronts the operator-provisioned network load balancer(s) whose A
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:511
↓ 1 callersFunction_credit_validity_status
Classify a credit as active, expired or not yet active at ``now``. GetCredits can return credits that have already expired, which keep their
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:119
↓ 1 callersFunction_current_billing_period
Return the current UTC month as YYYY-MM.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:114
↓ 1 callersFunction_declared_operations
The operation names a tool's own schema names, if it enumerates them.
src/billing-cost-management-mcp-server/tests/test_tool_description_lint.py:145
↓ 1 callersFunction_decode_aggregate_response
Decode ft.aggregate response into list of dicts. Handles two response formats: GLIDE may return rows as dicts (bytes keys/values) or as flat
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/search_aggregate.py:111
↓ 1 callersMethod_decode_bytes
Decode bytes as UTF-8 string, falling back to base64 if not valid UTF-8.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/helpers.py:49
↓ 1 callersFunction_decodes_to_object
Whether text is itself a JSON object, as a double-encoded filters value is.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_tools.py:236
↓ 1 callersFunction_default_get_partition
Resolve the AWS partition for single-tenant mode (process-wide cached). Preserves today's behavior: a process-wide ``@lru_cache`` keyed by ``
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:770
↓ 1 callersFunction_delete_agentcore_runtime
Delete the AgentCore Runtime, mapping not-found to ``ResourceNotFound``.
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:1078
↓ 1 callersFunction_delete_dynamodb_table
Delete the DynamoDB registry table, mapping not-found to ``ResourceNotFound``.
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:1054
↓ 1 callersMethod_delete_dynamodb_table
Delete the role-registry table, treating an absent table as already gone.
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:661
↓ 1 callersFunction_delete_ecr_image
Delete the ECR repository backing the pushed image, mapping not-found to ResourceNotFound.
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:1065
↓ 1 callersMethod_delete_rest_api
Delete the REST API, treating an absent API as already gone.
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:669
↓ 1 callersMethod_delete_vpc_link
Delete the VPC link, treating an absent link as already gone.
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:677
↓ 1 callersFunction_denied_keyword
Map a single AST node to a read-only deny-list keyword, or None. Detection is structural (node type, or for generic commands the command name),
src/redshift-mcp-server/awslabs/redshift_mcp_server/sql_guard.py:213
↓ 1 callersFunction_denied_root
Map a whole-statement bare identifier to one of `keywords`, or None. sqlglot parses `START`/`ABORT` (and their WORK/TRANSACTION variants) as bare
src/redshift-mcp-server/awslabs/redshift_mcp_server/sql_guard.py:272
↓ 1 callersMethod_derive_context
Select a mechanism and derive the credential context for the request. Iterates the enabled mechanisms in the deterministic precedence order
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/middleware.py:196
↓ 1 callersMethod_detailed_status
Fetch the full data snapshot (original get_job_status behavior).
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/job_status.py:226
↓ 1 callersFunction_detect_public_egress_ip
Return this host's public egress IP (for SG ingress), or None. Best-effort HTTPS GET to a constant AWS IP-echo endpoint. Never raises — on an
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:1267
↓ 1 callersFunction_disabled_record_sources
A record whose ``enabled`` indicator is present and falsy (denied).
src/aws-healthomics-mcp-server/tests/test_registry_fail_closed_property.py:127
↓ 1 callersFunction_discover_tasks
Auto-discover all tasks from *_tasks.py files in the specified directory. Args: task_dir: Path to directory containing task modules
src/cloudwatch-applicationsignals-mcp-server/evals/__main__.py:48
↓ 1 callersFunction_documented
Whether a field or enum name appears in its own right. A plain substring test passes on a name contained in another documented one -- `Invoic
src/billing-cost-management-mcp-server/tests/test_tool_description_lint.py:96
↓ 1 callersFunction_documented_arguments
Return each operation's Required and Optional arguments as the description lists them.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:3302
↓ 1 callersFunction_documented_coverage_group_by
Per service, the coverage attributes documented for it ("<scope> only" or every service).
src/billing-cost-management-mcp-server/tests/tools/test_ri_performance_tools.py:1149
↓ 1 callersFunction_download_and_extract_jar
Download and extract DynamoDB Local JAR.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:370
↓ 1 callersFunction_downsample
Return [timestamp, value] pairs, evenly downsampled to max_points.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:121
↓ 1 callersFunction_drive
()
src/openapi-mcp-server/tests/test_ssrf_protection.py:1025
↓ 1 callersFunction_duration_str
Format a PromQL range-window duration in seconds (min 60s).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:396
↓ 1 callersMethod_dynamodb
Return a region-scoped DynamoDB client, building it lazily.
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:636
↓ 1 callersFunction_dynamodb_table_arn
Return the DynamoDB table ARN the execution role is scoped to read.
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:464
↓ 1 callersMethod_empty_chart_svg
Return SVG for empty chart. Args: width: Chart width in pixels height: Chart height in pixels theme: Colo
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/visualization/gantt_generator.py:325
↓ 1 callersFunction_ensure_ca_bundle_present
r"""Fail collection early if the verified RDS CA bundle is missing. The bundle is produced by hatch_build.py during wheel build and is theref
src/mysql-mcp-server/tests/conftest.py:32
↓ 1 callersMethod_ensure_playwright
Start Playwright if not already running.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/connection_manager.py:42
↓ 1 callersFunction_error_code
(error: Exception)
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:625
↓ 1 callersFunction_escape
r"""Escape a PromQL string literal (backslash and double-quote).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/promql_query.py:56
← previousnext →4,901–5,000 of 35,417, ranked by callers