MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

↓ 3 callersMethod_format_anomaly_detection_alarm_data
Sanitize alarm data and add computed fields.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/cloudformation_template_generator.py:102
↓ 3 callersMethod_format_array_value
Format value as Python list.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/languages/python/usage_data_formatter.py:86
↓ 3 callersFunction_format_billing_group_cost_reports
Format billing group cost report objects from the AWS API response. Args: cost_reports: List of billing group cost report objects from th
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:435
↓ 3 callersFunction_format_cost_category_values
Format cost category values from the AWS API response. Args: cost_categories: A cost category values object from the AWS API. Return
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bvs_operations.py:595
↓ 3 callersFunction_format_list_billing_view_element
Format a billing view list element object from the ListBillingViews API response. Uses only the common billing view fields available in the B
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bvs_operations.py:524
↓ 3 callersMethod_format_string_value
Format value as Python string literal.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/languages/python/usage_data_formatter.py:55
↓ 3 callersFunction_format_tag_values
Format tag values from the AWS API response. Args: tags: A tag values object from the AWS API. Returns: Dict with formatted
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bvs_operations.py:580
↓ 3 callersFunction_format_tags
Format a list of tag key-value pairs. Args: tags: The list of tag objects from the AWS API. Returns: List of formatted tag d
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:74
↓ 3 callersFunction_full_utilization_data
Return every field ReservationAggregates carries, as the API returns them. All seventeen are decimal strings. The nine monetary ones were previou
src/billing-cost-management-mcp-server/tests/tools/test_ri_performance_tools.py:273
↓ 3 callersMethod_generate_auth_headers
Generate authentication headers. This method is cached to avoid regenerating headers for the same token. Args: token: Be
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/bearer_auth.py:79
↓ 3 callersFunction_generate_data_boundary
Generate a randomized boundary tag for wrapping untrusted data.
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:106
↓ 3 callersMethod_generate_manifest
Generate manifest.md with links to all files.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/markdown_formatter.py:258
↓ 3 callersMethod_get_account_id
Get the current AWS account ID. Returns: AWS account ID string
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:1539
↓ 3 callersFunction_get_alb_url
Gets the ALB URL from CloudFormation outputs. Args: app_name: Name of the application known_stack_name: If a valid stack nam
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/status.py:303
↓ 3 callersFunction_get_all_app_ids
Retrieve all application IDs from SSM for SAP.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:86
↓ 3 callersMethod_get_cached_pagination_state
Get cached pagination state if available and not expired. Args: cache_key: Cache key for the pagination state Returns:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1150
↓ 3 callersFunction_get_cfn_stack_status
Gets the status of a CloudFormation stack. Args: stack_name: Name of the CloudFormation stack Returns: Dictionary conta
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/status.py:187
↓ 3 callersFunction_get_dynamodb_local_paths
Get paths for DynamoDB Local artifacts.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:346
↓ 3 callersMethod_get_file_operation_calls
Get all file operation tool calls.
src/cloudwatch-applicationsignals-mcp-server/evals/core/metrics_tracker.py:130
↓ 3 callersMethod_get_object_tags_cached
Get tags for an S3 object with caching. Args: bucket_name: Name of the S3 bucket key: Object key Returns:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:750
↓ 3 callersMethod_get_region
Get the current AWS region. Returns: AWS region string
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:1526
↓ 3 callersFunction_get_region_context
Return the shared _RegionContext for *region*, creating one if needed.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/cwl_insights_batch.py:113
↓ 3 callersMethod_get_return_description
Get description for return value in docstring. Args: pattern: Cross-table pattern dict Returns: Description
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:695
↓ 3 callersMethod_get_service_principal
Get the service principal for a specific service type. Args: service_type: Type of data processing service Returns:
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/commons/common_resource_handler.py:1362
↓ 3 callersFunction_get_slo_compliance_summary
Get structured SLO compliance summary for the health overview.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:1130
↓ 3 callersMethod_handle_composite_alarm
Handle composite alarm component details retrieval.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_alarms/tools.py:612
↓ 3 callersFunction_handle_enterprise_support_error
Handle an Enterprise Support API error, explaining the ones that mislead. Failures this module classifies are returned with their own guidance; e
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/enterprise_support_operations.py:106
↓ 3 callersMethod_has_fastq_pair
Check if a FASTQ file has its R1/R2 pair in the associated files. Args: primary_file: The primary FASTQ file to check
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/scoring_engine.py:281
↓ 3 callersFunction_imds_redirect_routes
Routes where the docs host 302s to IMDS; IMDS would leak a marker if wrongly followed.
src/aws-documentation-mcp-server/tests/test_server_utils.py:474
↓ 3 callersFunction_inject_cookie_auth
Register event handler to inject cookie auth headers on every request.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/transform_api_client.py:149
↓ 3 callersFunction_install_cn_mock_transport
Force AsyncClient in target_module to use a MockTransport, preserving real event_hooks. Preserving the real hooks means a regression that dropped
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:328
↓ 3 callersFunction_integration_tests_dir
Return the real ``<repo>/integration/tests`` directory. Derived from this test file's location (``integration/harness_tests/``) so it matches the
src/aws-healthomics-mcp-server/integration/harness_tests/test_opt_in_gate.py:147
↓ 3 callersFunction_invoicing
Route an AWS Invoicing ``operation`` to its handler. Kept separate from the FastMCP-decorated wrapper so the routing can be unit tested direc
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/invoicing_tools.py:36
↓ 3 callersMethod_is_complete_file_set
Check if the file set represents a complete genomics file collection.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/scoring_engine.py:253
↓ 3 callersFunction_is_free_product
Check if product has only $0.00 OnDemand pricing across all currencies. Args: pricing_item: Parsed pricing item dictionary Returns:
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/pricing_transformer.py:26
↓ 3 callersMethod_is_pure_field_reference
Check if template is a pure field reference like '{field_name}'. A pure field reference contains only a single {field} placeholder with no
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:239
↓ 3 callersFunction_is_rejected
(rows)
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:3253
↓ 3 callersMethod_is_token_expired_or_expiring_soon
Check if token is expired or will expire soon. Returns: bool: True if token is expired or will expire soon, False otherwise
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/cognito_auth.py:214
↓ 3 callersFunction_iso
(dt: Optional[datetime])
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:104
↓ 3 callersFunction_jwt_context
Build a ``source='jwt'`` context with credentials derived from the identity. Mirrors the shape ``InboundJwtExchange.derive`` populates from an
src/aws-healthomics-mcp-server/tests/test_access_denied_passthrough.py:67
↓ 3 callersMethod_list_hp_cluster_nodes
List SageMaker HyperPod cluster nodes. This tool lists nodes in a SageMaker HyperPod cluster with options for pagination and filtering.
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_cluster_node_handler.py:932
↓ 3 callersMethod_list_hp_clusters
List SageMaker HyperPod clusters. This tool lists SageMaker HyperPod clusters with options for pagination and filtering. It returns i
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_cluster_node_handler.py:409
↓ 3 callersMethod_load_config
Load full config file. Quarantines + recovers from corruption.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:129
↓ 3 callersFunction_load_kb_sync
Synchronously create and load a KB loader for tests.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_recommendation_engine.py:331
↓ 3 callersMethod_load_scans
(self)
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:133
↓ 3 callersMethod_load_yaml_template
Load and process Kubernetes template files. Args: template_files: List of template filenames to process values: Dicti
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_handler.py:855
↓ 3 callersMethod_log_auth_error
Log an authentication error. Args: error: The authentication error
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/base_auth.py:109
↓ 3 callersMethod_log_validation_error
(self)
src/openapi-mcp-server/tests/auth/test_base_auth.py:43
↓ 3 callersFunction_make_build_session
Return a ``CredentialContext.build_session`` replacement keyed by identity. The session built for a given context returns an STS client whose
src/aws-healthomics-mcp-server/tests/test_partition_cache_isolation.py:89
↓ 3 callersMethod_make_client_error
(self, code: str, message: str)
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:117
↓ 3 callersFunction_make_context
Build a fixed, non-secret credential context for use in tests.
src/aws-healthomics-mcp-server/tests/test_resolver_region_selection.py:41
↓ 3 callersMethod_make_html
Helper to build HTML with a section and table.
src/aws-documentation-mcp-server/tests/test_table_utils.py:109
↓ 3 callersMethod_make_iam_conn
(**overrides)
src/mysql-mcp-server/tests/test_ca_bundle.py:94
↓ 3 callersFunction_make_mcp
Build a mock MCPServer whose ``run`` calls can be inspected.
src/aws-healthomics-mcp-server/tests/test_transport.py:60
↓ 3 callersMethod_make_mock_ctx
Build a mock Context.
src/redshift-mcp-server/tests/test_server.py:583
↓ 3 callersFunction_make_sql_recorder
Build an execute_query mock that records the SQL sent for each query name. Every diagnostic query starts with a '-- <QueryName>' comment line, wh
src/redshift-mcp-server/tests/test_review_executor.py:61
↓ 3 callersMethod_make_trace
Build a mock X-Ray trace response from segment documents.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:279
↓ 3 callersMethod_map_to_cloudwatch_statistic
Map a statistic to the standard CloudWatch format.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:698
↓ 3 callersMethod_map_to_metrics_insights_statistic
Map and validate a statistic for Metrics Insights.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:676
↓ 3 callersMethod_match_metadata
Match patterns against HealthOmics file metadata. Args: metadata: Dictionary of metadata key-value pairs search_terms
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/scoring_engine.py:348
↓ 3 callersFunction_match_param
Encode a ``match[]`` value for SigV4-safe signing. botocore mis-signs a list value for a ``[]``-suffixed param key (produces a canonical-quer
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/promql_client.py:217
↓ 3 callersMethod_normalize_whitespace
Normalize whitespace in SQL string. Args: sql: The SQL query string Returns: SQL string with normalized whit
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/sql_analyzer.py:98
↓ 3 callersMethod_optimize_buffer_size
Optimize buffer size based on request parameters and historical metrics. Args: request: Search request metrics: Optio
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1193
↓ 3 callersFunction_paginate_describe_queries
Paginate DescribeQueries with a cap on total results.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/index_recommender.py:96
↓ 3 callersFunction_parse
(result: dict)
src/aws-transform-mcp-server/tests/test_adaptive_poll.py:27
↓ 3 callersMethod_parse_alarm_recommendation
Parse alarm recommendation data into AlarmRecommendation object. Args: alarm_data: Raw alarm recommendation data from metadata
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:1031
↓ 3 callersFunction_parse_container_port
Parse port from container port mapping output. Args: ports_output: Container port mapping string (e.g., "0.0.0.0:8001->8000/tcp") Re
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:144
↓ 3 callersMethod_parse_entity_fields
Parse entity fields from entity data. Args: entity_data: Entity configuration dictionary entity_path: Path context fo
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:752
↓ 3 callersMethod_patch_client
Patch get_applicationsignals_client to return a client with list_services -> response.
src/cloudwatch-applicationsignals-mcp-server/tests/test_state.py:99
↓ 3 callersFunction_peak_value
The comparison value for a series: window delta for counters, max for gauges.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:477
↓ 3 callersMethod_prepare_create_job_args
Prepare arguments for creating a model import job. Args: request: The request parameters Returns: Dict[str,
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/services/model_import_service.py:135
↓ 3 callersFunction_preprocess_delete_qt_refresh
Strip the transient QT_REFRESH field from the response object.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:282
↓ 3 callersFunction_preprocess_eba_candidate
Add default metadata block to EBA candidate application list.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:291
↓ 3 callersFunction_preprocess_file_upload_v2
Wrap a single artifact object into an array for FileUploadV2.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:174
↓ 3 callersMethod_process_bundle_with_includes
Process bundle and organize included resources. ``pagination.next_token`` semantics match ``_process_bundle``: opaque page value only
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:466
↓ 3 callersMethod_process_metric_data_response
Process the GetMetricData API response.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:645
↓ 3 callersFunction_provision_explicit
Run ``provision_agentcore`` in explicit inbound mode with injected fakes.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_e2e_provisioning.py:307
↓ 3 callersFunction_query_sync_args
()
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1328
↓ 3 callersMethod_read_manifest_file
Read and parse a manifest file from S3. Args: bucket: S3 bucket name key: S3 object key for the manifest file
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/storage_lens_tools.py:174
↓ 3 callersFunction_read_pdf_content
Helper function to read PDF content using pdfplumber.
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:321
↓ 3 callersFunction_read_pdf_helper
Helper function to test PDF reading functionality using the actual server logic.
src/document-loader-mcp-server/tests/test_document_parsing.py:57
↓ 3 callersMethod_redirected_non_html
Build a 200 plain-text response that arrived via a redirect to another page.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1714
↓ 3 callersMethod_refresh_schema
Refreshes the Neptune graph schema information. This method queries the graph to build a complete schema representation including nod
src/amazon-neptune-mcp-server/awslabs/amazon_neptune_mcp_server/graph_store/database.py:245
↓ 3 callersFunction_registered_tool
Return the registered credits tool, asserting it exists.
src/billing-cost-management-mcp-server/tests/tools/test_credits_tools.py:50
↓ 3 callersFunction_reject
Log and raise for a rejected query. Args: reason: Non-sensitive explanation surfaced to the caller. cause: Optional underlying ex
src/postgres-mcp-server/awslabs/postgres_mcp_server/sql_guard.py:295
↓ 3 callersFunction_render_status_section
( title: str, start_time: str, end_time: str, has_events: bool, events: List[dict], er
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/status_rendering.py:89
↓ 3 callersMethod_request
Make a SigV4-signed POST request to a PromQL API endpoint. Parameters are form-encoded into the body (POST is part of the Prometheus
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/client.py:158
↓ 3 callersFunction_require_array
Validate key exists and path is an array. Returns error dict or None.
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/json.py:66
↓ 3 callersFunction_require_env
Return a required live-input environment variable or fail closed. Args: name: The environment variable name. Returns: The no
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:435
↓ 3 callersMethod_resolver_for_client
(client, caller_claim: str)
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:116
↓ 3 callersMethod_result
(self, has_events=False, events=None, error=None)
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3638
↓ 3 callersFunction_run
(sql, query_parameters=None)
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:2810
↓ 3 callersFunction_run_config
(run: RunContext)
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:165
↓ 3 callersMethod_run_items
(self, count: int)
src/aws-healthomics-mcp-server/tests/test_pagination_hints_real_shapes.py:159
↓ 3 callersFunction_run_logs_insights_query_sync
Run a CW Logs Insights query and poll for results (synchronous).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:348
↓ 3 callersFunction_safe_json_dumps
Safely serialize data to JSON, handling datetime objects.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_analysis.py:48
↓ 3 callersMethod_score_results
Score file groups and create GenomicsFileResult objects. Args: file_groups: List of FileGroup objects with associated files
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:999
↓ 3 callersMethod_search_healthomics_references_with_timeout
Execute HealthOmics reference store search with timeout protection. Args: request: Search request Returns: L
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:807
↓ 3 callersMethod_search_s3_with_timeout_for_buckets
Execute S3 search with timeout protection for specific bucket paths. Args: request: Search request bucket_paths: List
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:750
↓ 3 callersFunction_startup
Load persisted config and probe API credential auth unconditionally.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/server.py:168
← previousnext →2,801–2,900 of 32,024, ranked by callers