MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

↓ 1 callersMethod_assert_json_files_match
Assert that JSON files match, ignoring key ordering.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_snapshot_generation.py:309
↓ 1 callersFunction_assert_round_trips
Assert a record preserves its spec and renders the expected item shape.
src/aws-healthomics-mcp-server/integration/harness_tests/test_tenants_property.py:109
↓ 1 callersFunction_assert_system_trust_store_supported
Raise if the loaded libpq is too old to understand ``sslrootcert=system``. Fails fast with an actionable message instead of letting libpq < 16 tr
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/psycopg_pool_connection.py:98
↓ 1 callersFunction_async_shutdown
()
src/valkey-mcp-server/awslabs/valkey_mcp_server/main.py:120
↓ 1 callersFunction_atomic_write
Write ``content`` to ``abs_path`` atomically (temp file + os.replace). A crash between the write and the replace leaves the original file (or no
src/postgres-mcp-server/hatch_build.py:244
↓ 1 callersFunction_attempt_direct_connection
Attempt a raw TCP connection to ``host:port``. Returns ``None`` if the connection unexpectedly establishes (a sole-ingress violation), and ra
src/aws-healthomics-mcp-server/integration/tests/test_direct_access_refused.py:98
↓ 1 callersFunction_auto_create_index
Create a minimal vector index for auto-creation. Reads defaults from VALKEY_VECTOR_ALGORITHM and VALKEY_VECTOR_DISTANCE_METRIC environment va
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/search_add_documents.py:47
↓ 1 callersFunction_avg_ms_from_duration
Compute average latency in ms from a service_events ``duration`` block (microseconds).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:277
↓ 1 callersFunction_b64
(obj: dict)
src/aws-healthomics-mcp-server/tests/test_per_request_freshness_property.py:66
↓ 1 callersFunction_b64
(obj: dict)
src/aws-healthomics-mcp-server/tests/test_multihop_identity_propagation.py:69
↓ 1 callersFunction_b64
(obj: dict)
src/aws-healthomics-mcp-server/tests/test_jwt_external_id_enforcement_property.py:57
↓ 1 callersFunction_b64
(obj: dict)
src/aws-healthomics-mcp-server/tests/test_jwt_exchange_failure.py:59
↓ 1 callersFunction_b64
(obj: dict)
src/aws-healthomics-mcp-server/tests/test_jwt_derive_assume_role_shape.py:62
↓ 1 callersFunction_b64
(obj: dict)
src/aws-healthomics-mcp-server/tests/test_jwt_backward_compat_property.py:61
↓ 1 callersFunction_b64
(obj: dict)
src/aws-healthomics-mcp-server/tests/test_inbound_jwt_exchange.py:48
↓ 1 callersFunction_b64
(obj: dict)
src/aws-healthomics-mcp-server/tests/test_no_secret_leakage_property.py:90
↓ 1 callersFunction_b64url
(raw: bytes)
src/aws-healthomics-mcp-server/tests/test_middleware_context_lifecycle.py:86
↓ 1 callersFunction_base_url
(region: str)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/promql_client.py:69
↓ 1 callersFunction_bearer_headers
Build the request headers carrying the caller's bearer token.
src/aws-healthomics-mcp-server/integration/tests/test_apigateway_transport.py:63
↓ 1 callersFunction_bearer_headers
Build the request headers carrying the caller's bearer token.
src/aws-healthomics-mcp-server/integration/tests/test_agentcore_transport.py:88
↓ 1 callersFunction_bearer_headers
Build an ``Authorization: Bearer <jwt>`` header for the given claims.
src/aws-healthomics-mcp-server/tests/test_middleware_context_lifecycle.py:83
↓ 1 callersFunction_bearer_scope
Build an ASGI HTTP scope with an Authorization: Bearer header.
src/aws-healthomics-mcp-server/tests/test_jwt_backward_compat_property.py:70
↓ 1 callersFunction_build_and_push_image
Build the harness image and push it to ECR, returning the pushed image URI. Live path only. boto3 and subprocess are imported lazily so this modu
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:902
↓ 1 callersFunction_build_ap_row
Build a single access pattern table row.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/report_generator.py:125
↓ 1 callersMethod_build_batch_run_settings
()
src/aws-healthomics-mcp-server/tests/test_run_batch.py:1410
↓ 1 callersFunction_build_embedding_config
Build embedding configuration with conditional logic.
src/valkey-mcp-server/awslabs/valkey_mcp_server/common/config.py:39
↓ 1 callersMethod_build_entities_involved_list
Build entities_involved array with table, entity, and action. Args: pattern: Cross-table pattern definition Returns:
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:758
↓ 1 callersFunction_build_field
Translate a schema field dict into a GLIDE Field object.
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/search_manage_index.py:75
↓ 1 callersFunction_build_get_credit_allocation_history_request
Assemble GetCreditAllocationHistory request parameters. Args: account_id: Resolved 12-digit AWS account ID. start_epoch: Effectiv
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:409
↓ 1 callersFunction_build_get_credit_allocation_history_time_range
Describe the window actually queried alongside the one requested. Reporting both makes a narrowed window visible to the agent so a clamped re
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:201
↓ 1 callersFunction_build_get_credits_request
Assemble GetCredits request parameters, omitting the optional ones. Args: account_id: Resolved 12-digit AWS account ID. start_epo
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:384
↓ 1 callersFunction_build_get_credits_time_range
Describe the window actually queried alongside the one requested. Reporting both makes a narrowed window visible to the agent so a clamped re
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:489
↓ 1 callersFunction_build_group_header
Build the standard header used by group tools.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/group_tools.py:171
↓ 1 callersFunction_build_inbound_mechanisms
Build inbound identity mechanism instances from the resolved config. Maps each enabled mechanism name (already validated and ordered by precedenc
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/server.py:459
↓ 1 callersFunction_build_jwt_role_resolver
Select and build the JWT :class:`RoleResolver` from the resolved config. The resolver is chosen by which single role-resolution source the config
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/server.py:409
↓ 1 callersMethod_build_language_pairs_from_cache
Build LanguagePair objects from cached data.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/language_operations.py:411
↓ 1 callersFunction_build_linked_account_charges_request
Build the ListEnterpriseSupportLinkedAccountCharges request parameters. ``accountId`` is a filter narrowing the result to one linked account insi
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/enterprise_support_operations.py:269
↓ 1 callersMethod_build_metrics_insights_query
Build a Metrics Insights query.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:548
↓ 1 callersFunction_build_padded_row
Build a single padded markdown table row.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/report_generator.py:64
↓ 1 callersFunction_build_parser
Build the argument parser for transport and network configuration flags.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:424
↓ 1 callersFunction_build_restricted_allowlist
Derive a restricted allowlist from ALLOWED_CUSTOM_OPERATIONS by removing denied entries.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:141
↓ 1 callersFunction_build_retrieval_configuration
Build a ``retrievalConfiguration`` for the knowledge base type.
src/bedrock-kb-retrieval-mcp-server/awslabs/bedrock_kb_retrieval_mcp_server/knowledgebases/retrieval.py:68
↓ 1 callersFunction_build_retrievers
Build the ``retrievers`` list, applying retrieval overrides when asked for.
src/bedrock-kb-retrieval-mcp-server/awslabs/bedrock_kb_retrieval_mcp_server/knowledgebases/agentic.py:101
↓ 1 callersMethod_build_service_characteristics
Build service characteristics for Amazon Keyspaces.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/client.py:400
↓ 1 callersMethod_build_standard_metric_query
Build a standard CloudWatch metric query.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:620
↓ 1 callersFunction_build_storage_rows
Build storage table rows for all tables and their GSIs. Returns: Tuple of (total_cost, rows) for the storage summary table.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/report_generator.py:239
↓ 1 callersMethod_build_svg
Build SVG string from chart data. Args: chart_data: Processed chart data with timing and metadata run_info: Run infor
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/visualization/gantt_generator.py:204
↓ 1 callersFunction_bundled_rules_path
Return the path to the package's bundled default guard rules file.
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/tools/cloudformation_compliance_checker.py:32
↓ 1 callersFunction_by_task
(metric_name: str)
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/analysis.py:292
↓ 1 callersMethod_cache_ready_only_operations_for_service
(self, service: str)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/metadata/read_only_operations_list.py:95
↓ 1 callersFunction_calculate_access_pattern
Calculate metrics for a single access pattern.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/cost_calculator.py:52
↓ 1 callersFunction_calculate_base_cost
Calculate the base cost for projections using multiple strategies.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:405
↓ 1 callersFunction_calculate_gsi_storage
Calculate storage metrics for a GSI.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/cost_calculator.py:93
↓ 1 callersFunction_calculate_gsi_write_amplification
Calculate write amplification for GSIs.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/cost_calculator.py:75
↓ 1 callersFunction_calculate_table_storage
Calculate storage metrics for a table.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/cost_calculator.py:86
↓ 1 callersFunction_call_region
(region: str)
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/server.py:230
↓ 1 callersFunction_call_region
(region: str)
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/configure.py:72
↓ 1 callersMethod_capture_environment_state
Capture relevant environment variables.
src/ecs-mcp-server/tests/unit/test_main.py:85
↓ 1 callersFunction_cell_to_text
Convert a table cell to text, preserving links as markdown. A cell like <td><a href="url">text</a></td> becomes "[text](url)". A cell with mi
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:486
↓ 1 callersFunction_change_status
Classify a before/after count change for rendering arrows.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:449
↓ 1 callersFunction_check_assertions
Validate ``output`` against a dict of declarative assertions.
src/cloudwatch-applicationsignals-mcp-server/tests/test_tool_eval.py:201
↓ 1 callersFunction_check_chunk
(chunk: List[str])
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/index_recommender.py:221
↓ 1 callersFunction_check_dangerous
Reject dangerous constructs that are prohibited in BOTH modes. Args: node: A node from the parse tree. Raises: SqlPolicyErro
src/postgres-mcp-server/awslabs/postgres_mcp_server/sql_guard.py:357
↓ 1 callersFunction_check_dangerous
Reject constructs prohibited in read-only and write modes.
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/sql_guard.py:355
↓ 1 callersFunction_check_read_only
Reject write-set constructs when the connection is read-only. Enforced fail-closed as an allowlist: the root must be a read node type and eve
src/postgres-mcp-server/awslabs/postgres_mcp_server/sql_guard.py:425
↓ 1 callersFunction_check_read_only
Reject syntax that is not read-only.
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/sql_guard.py:434
↓ 1 callersFunction_check_result
( check: CheckStatus, status: str, start: datetime, end: datetime )
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/status_assessment.py:94
↓ 1 callersFunction_check_slo
(slo: dict)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:1617
↓ 1 callersFunction_check_status_with_time_range
Check whether status events exist for the configuration in a time range.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/status_tools.py:33
↓ 1 callersFunction_check_subset
(subset, superset, subset_name, superset_name)
src/aws-api-mcp-server/tests/parser/test_parser.py:673
↓ 1 callersFunction_check_trust_policy_principal
Reject trust policies that allow any AWS principal.
src/iam-mcp-server/awslabs/iam_mcp_server/server.py:118
↓ 1 callersFunction_citation
Flatten a citation, resolving references down to result indexes.
src/bedrock-kb-retrieval-mcp-server/awslabs/bedrock_kb_retrieval_mcp_server/knowledgebases/agentic.py:90
↓ 1 callersFunction_clamp_daily
Move a Daily start forward into the last-90-days window the API serves. COH rejects a start more than 90 days before today (the limit is start-to
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_tools.py:94
↓ 1 callersFunction_clamp_efficiency_time_span
Move start_date forward into the lookback the COH API will serve. ``ListEfficiencyMetrics`` only serves data whose ``start`` is within the most
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_tools.py:132
↓ 1 callersFunction_clamp_get_credit_allocation_history_range
Narrow a range to the enforced 24-month window ending no later than now. Args: start_epoch: Requested range start in epoch seconds.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:228
↓ 1 callersFunction_clamp_get_credits_range
Narrow a range to the enforced one-year lookback ending no later than now. An omitted end date is left as None because the API defaults it to the
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:436
↓ 1 callersFunction_clamp_monthly
Move a Monthly start forward into the last-3-months window the API serves. COH rejects a start more than 3 months before the current month (the l
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_tools.py:110
↓ 1 callersFunction_classify_enterprise_support_error
Classify the two Enterprise Support failures that need their own guidance. Both are routinely misread. ``AccessDeniedException`` has two independ
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/enterprise_support_operations.py:60
↓ 1 callersFunction_client
(service: str)
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:867
↓ 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:75
↓ 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_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_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 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_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:170
↓ 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
← previousnext →4,301–4,400 of 32,024, ranked by callers