MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 2 callersFunction_make_jwt
Build an unsigned compact JWT carrying the given claims (no signature).
src/aws-healthomics-mcp-server/tests/test_jwt_external_id_enforcement_property.py:54
↓ 2 callersFunction_make_jwt
Build an unsigned compact JWT carrying the given claims (no signature).
src/aws-healthomics-mcp-server/tests/test_jwt_exchange_failure.py:56
↓ 2 callersFunction_make_mcp
Build a fake MCPServer whose ``run`` records the warning count at call time. Args: captured_run_warning_count: A single-element list used
src/aws-healthomics-mcp-server/tests/test_transport_exposure.py:96
↓ 2 callersMethod_make_pool_with_rows
Build a fake asyncmy pool whose cursor returns the given description+rows.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:861
↓ 2 callersMethod_make_review_result
Helper to build a ReviewResult with sensible defaults.
src/redshift-mcp-server/tests/test_server.py:1283
↓ 2 callersFunction_make_send_collector
Return (send, messages) where send appends ASGI messages to messages.
src/aws-healthomics-mcp-server/tests/test_mechanism_precedence.py:83
↓ 2 callersMethod_make_specs
(self, tmp_path)
src/security-agent-mcp-server/tests/test_scanner.py:777
↓ 2 callersFunction_mark_breaks
Insert boundary markers at <br /> and block-element edges inside a cell.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:75
↓ 2 callersFunction_mark_preformatted_lines
Treat newlines inside <pre> as value boundaries, where they are significant markup.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:86
↓ 2 callersFunction_matches_bucket_pattern
Check if actual bucket matches the pattern (including wildcards).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_utils.py:563
↓ 2 callersFunction_merge_periods
Merge consecutive entries for the same time period into one. A grouped query returns one time-period entry per page, each holding that page's gro
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/ri_performance_tools.py:302
↓ 2 callersFunction_message_text
(messages)
src/billing-cost-management-mcp-server/tests/test_server_instructions.py:313
↓ 2 callersMethod_mock_client
(text: str, content_type: str, url: str)
src/aws-documentation-mcp-server/tests/test_server_aws.py:1454
↓ 2 callersMethod_mock_response
( self, has_more: bool, continuation_token, result_count: int, total_a
src/aws-healthomics-mcp-server/tests/test_pagination_hints_real_shapes.py:389
↓ 2 callersFunction_multi_region_error_type
Classify a failure in which no queried region succeeded. Per-region error types are keyed by region name, which changes from call to call, so
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_tools.py:378
↓ 2 callersFunction_multi_region_guidance
Return the (retry_strategy, hint) for a failure in which no queried region succeeded. Derived from each region's own error_type and http_status,
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_tools.py:398
↓ 2 callersFunction_names
Return the placeholder names the shared pattern finds, in order.
src/postgres-mcp-server/tests/test_named_params.py:72
↓ 2 callersMethod_navigate_history
Shared implementation for back/forward navigation.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/navigation.py:177
↓ 2 callersMethod_normalize_bwa_base_name
Normalize BWA base name to handle both regular and 64-bit variants. For example: - "ref.fasta" -> "ref.fasta" - "ref.fasta.64
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/file_association_engine.py:325
↓ 2 callersFunction_normalize_effective_on
Return a YYYY-MM-DD date as midnight UTC; the API needs a full datetime. Raises ValueError for a YYYY-MM-DD value that is not a calendar date. An
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_category_tools.py:55
↓ 2 callersFunction_normalize_filters
Fold filter keys, names, and values onto the spelling the API expects. The API is case-sensitive on all three and rejects a near-miss with a bare
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_tools.py:739
↓ 2 callersFunction_normalize_host
Normalize a hostname for case-insensitive comparison. DNS is case-insensitive, so endpoint matching must be too. Centralizing normalization h
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/cp_api_connection.py:32
↓ 2 callersMethod_normalize_query
Normalize a query for analysis.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/services.py:195
↓ 2 callersFunction_omics_input_members
Return the input shape members for an omics operation (no network calls).
src/aws-healthomics-mcp-server/tests/test_sdk_scratch_storage.py:90
↓ 2 callersFunction_omics_operation_model
Return the omics operation model (no network calls).
src/aws-healthomics-mcp-server/tests/test_sdk_output_uri_prefix_mode.py:88
↓ 2 callersFunction_operation
(record: Dict[str, Any])
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:273
↓ 2 callersFunction_output_members
Member names of a Cost Explorer operation's output shape.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1618
↓ 2 callersMethod_page
(body_length)
src/aws-documentation-mcp-server/tests/test_server_utils.py:2219
↓ 2 callersFunction_parameter_path
The argument and list index an error is at, e.g. ``metrics.1``. Only the argument name and list indexes are kept: pydantic also puts a tag for ea
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/server.py:144
↓ 2 callersFunction_parse_datetime
Parse a UTC datetime string into a timezone-aware datetime for boto3. Args: value: A datetime string in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:1165
↓ 2 callersFunction_parse_deployment_timestamp
Parse a raw deployment ``deployed_at`` string to a tz-aware UTC datetime. The SDK attribute (``aws.service_events.deployment.timestamp``) is not
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:354
↓ 2 callersFunction_parse_epoch_range
Validate and convert a calendar-date range into epoch seconds. Rejects a missing start date, a missing end date when the operation requires o
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:176
↓ 2 callersFunction_parse_iso_timestamp
Parse an ISO 8601 timestamp, accepting trailing 'Z' as UTC. A naive input (no 'Z' or offset, e.g. ``2025-02-03T18:42:00``) is assumed to be U
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/status_tools.py:77
↓ 2 callersFunction_parse_json_response
Decode bytes and parse JSON from a GLIDE response.
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/json.py:32
↓ 2 callersFunction_parse_list
Parse a JSON array parameter. Omitted or an empty list ('[]') returns None. The API rejects an empty Metrics or GroupBy list, so '[]' means the s
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/ri_performance_tools.py:340
↓ 2 callersFunction_partition_resource_not_found_errors
Separate not-found outcomes from other regional errors.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_tools.py:897
↓ 2 callersFunction_passthrough_store
Patch the result store to return the response unchanged, recording its arguments.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:124
↓ 2 callersFunction_pct_change
Percent change from ``prior`` to ``recent`` (None when there is no baseline).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:442
↓ 2 callersFunction_persist
Write the current inventory to disk, validating attributes against the scanner.
src/aws-healthomics-mcp-server/integration/deploy/common.py:214
↓ 2 callersFunction_plain_decimal
Rewrite a cost report amount string in plain decimal notation, digit for digit. The service can return a small or large amount in exponent form (
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:483
↓ 2 callersFunction_platform_mismatch
Return an error message if the requested platform is incompatible with the monitor. ``requested`` is 'ios'/'android'/'all' and ``monitor_platform
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:432
↓ 2 callersFunction_preprocess_dotnet_deployment_automation
Normalize bare string to {configType: string} for deployment options.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:204
↓ 2 callersFunction_preprocess_dotnet_post_transformation_error
Normalize boolean to {resolved: bool} for DotnetPostTransformationError.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:197
↓ 2 callersFunction_preprocess_dotnet_repo_access_error
Normalize boolean to {resolved: bool} for DotnetRepositoryAccessError.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:190
↓ 2 callersFunction_preprocess_file_upload_component
Wrap a bare array into {uploadedFile: [...]} for FileUploadComponent.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:182
↓ 2 callersFunction_preprocess_mainframe_smf_configure
Normalize bare S3 path string to {sourceCodeS3Path: string}.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:261
↓ 2 callersFunction_preprocess_mainframe_test_data_add
Normalize bare S3 path string to {s3Path: string} for test data.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:268
↓ 2 callersFunction_preprocess_mainframe_test_scripts_provide
Normalize bare S3 path string to {s3Path: string} for test scripts.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:275
↓ 2 callersFunction_preprocess_text_input
Normalize TextInput content to {data: string} format.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:115
↓ 2 callersFunction_print_provision_result
Print a provisioning outcome in a stable, human-readable form.
src/aws-healthomics-mcp-server/integration/deploy/cli.py:161
↓ 2 callersFunction_print_teardown_result
Print a teardown outcome, naming the exact undeleted resources on failure (Req 8.6).
src/aws-healthomics-mcp-server/integration/deploy/cli.py:172
↓ 2 callersFunction_process_change_events
Process change events into a standardized format. Args: events: List of change event dictionaries from AWS API Returns: Tupl
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/change_tools.py:53
↓ 2 callersFunction_process_custom_sections
Process custom sections for the report.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:590
↓ 2 callersFunction_process_task_failure
Process a single task failure and extract relevant information. Parameters ---------- task : Dict[str, Any] Task information
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/fetch_task_failures.py:80
↓ 2 callersFunction_provision_agentcore
Provision the zero-setup AgentCore deployment and return its outcome.
src/aws-healthomics-mcp-server/integration/deploy/cli.py:183
↓ 2 callersFunction_query
(tool)
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:2437
↓ 2 callersFunction_raise_invalid_continuation_token_error
Raise an agent-visible, actionable error for an unparseable continuation_token. Shared by search() and search_paginated(): both decode a caller-s
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:64
↓ 2 callersMethod_read
Run read_sections_impl against a single mocked response.
src/aws-documentation-mcp-server/tests/test_server_utils.py:2185
↓ 2 callersFunction_read_image_helper
Helper function to test image reading functionality using the actual server logic.
src/document-loader-mcp-server/tests/test_document_parsing.py:115
↓ 2 callersFunction_read_json_safely
Read JSON, quarantining the file if it's corrupt and returning {} instead. A corrupt file should not brick every tool call; instead, rename it to
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:49
↓ 2 callersFunction_record_columns
Derive the ordered column set for a record list from the union of item keys. Keys are collected in first-seen order across all items so items wit
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:478
↓ 2 callersFunction_record_role
Record an IAM role in the inventory before creating it (Req 8.3). IAM is a global service, but the record carries the deployment's region for a u
src/aws-healthomics-mcp-server/integration/deploy/iam.py:389
↓ 2 callersMethod_refresh_schema
Refreshes the Neptune graph schema information. This method queries the Neptune Analytics graph to build a complete schema representa
src/amazon-neptune-mcp-server/awslabs/amazon_neptune_mcp_server/graph_store/analytics.py:101
↓ 2 callersFunction_region
()
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/promql_client.py:73
↓ 2 callersFunction_register_client_app_id
Register event handler to inject clientAppId on every request.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/transform_api_client.py:89
↓ 2 callersFunction_register_handlers
Import and instantiate all tool handler classes on *mcp*. All tools are registered at startup regardless of auth state. Auth is checked at ca
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/server.py:150
↓ 2 callersFunction_reject
Log and raise for a rejected query. Args: reason: Non-sensitive explanation surfaced to the caller. cause: Optional underlying ex
src/redshift-mcp-server/awslabs/redshift_mcp_server/sql_guard.py:167
↓ 2 callersFunction_reject_external_refs
Reject any non-internal ``$ref`` before the spec reaches prance. prance's default resolver (and its validation backend) dereferences ``http(s
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi.py:81
↓ 2 callersFunction_reject_future_billing_period
Raise ValueError when a cost report is asked for a month that has not started. Args: billing_period: The requested month (YYYY-MM).
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:135
↓ 2 callersFunction_reject_future_window
Reject a window that has not started yet. Clamping a future end date back to now would otherwise leave the start after the end, producing an
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:622
↓ 2 callersMethod_remove_checkov_metadata
Remove checkov metadata from a resource and clean up empty Metadata sections. Args: resource: The resource dictionary to process
src/eks-mcp-server/awslabs/eks_mcp_server/eks_stack_handler.py:556
↓ 2 callersMethod_remove_checkov_skip_annotations
Remove checkov skip annotations from YAML content. Args: content: YAML content as string Returns: YAML conte
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_handler.py:824
↓ 2 callersFunction_render_location_identifier_help
(action: str)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/crud_tools.py:484
↓ 2 callersFunction_replace_images_with_alt
Replace each image with its alt text; an icon's meaning is written only there.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:101
↓ 2 callersFunction_repo_root
Return the repository root. This file lives at ``integration/harness_tests/test_default_selection_smoke.py``, so the repo root is two directo
src/aws-healthomics-mcp-server/integration/harness_tests/test_default_selection_smoke.py:60
↓ 2 callersFunction_request_without_paging
Return a request's parameters minus the token and page size.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:297
↓ 2 callersFunction_require_mapping
Return ``spec`` if it is a mapping, else raise a clear ``ValueError``. JSON/YAML may legally parse to a list, scalar, or ``None``. Returning such
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi.py:294
↓ 2 callersMethod_require_session
(self)
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:267
↓ 2 callersFunction_require_supported_domain
Reject URLs outside docs.aws.amazon.com and the search term domain modifiers.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_aws.py:121
↓ 2 callersMethod_reset_logging_system
Reset logging system to clean state.
src/ecs-mcp-server/tests/unit/test_main.py:125
↓ 2 callersFunction_resolve_account_id
Return the account ID to query, auto-detecting the caller's when omitted. Billing operations that are account-scoped require ``accountId``, so th
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:374
↓ 2 callersFunction_resolve_both
Build sessions via the resolver and via get_aws_session under mocked boto3. Returns a tuple of (resolver_kwargs, legacy_kwargs, resolver_user_age
src/aws-healthomics-mcp-server/tests/test_credential_resolver.py:77
↓ 2 callersFunction_resolve_ips
Resolve a hostname to its set of IPv4/IPv6 addresses. Never raises.
src/postgres-mcp-server/tests/e2e/proxy_e2e_test.py:274
↓ 2 callersFunction_resolve_metric_names
Validate requested names against the schema (or default to expected-present).
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:184
↓ 2 callersMethod_resolver_for_map
(self, registry_map: dict, caller_claim: str)
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:88
↓ 2 callersFunction_resource_attrs
Return resource attributes, tolerating both flat and nested ``resource`` shapes.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:254
↓ 2 callersMethod_response
(self, text, landed)
src/aws-documentation-mcp-server/tests/test_server_utils.py:1827
↓ 2 callersMethod_response
(self, text, landed)
src/aws-documentation-mcp-server/tests/test_server_utils.py:1899
↓ 2 callersMethod_response
(self, landed)
src/aws-documentation-mcp-server/tests/test_server_utils.py:1961
↓ 2 callersFunction_restart_container
Restart a stopped container.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:288
↓ 2 callersMethod_retrieve_cloudwatch_metrics
Retrieve metrics from CloudWatch. Args: cloudwatch_client: CloudWatch client language_pair: Language pair filter
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/language_operations.py:480
↓ 2 callersFunction_rollback_lost_transaction
Roll back a transaction this server is abandoning, whatever state it is in, best effort. A failure here leaves the transaction's fate as it was:
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:1228
↓ 2 callersFunction_row_costing
Build string cells under the per-cell cap whose JSON costs sum to ``total_bytes``.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils_bounded_handle.py:80
↓ 2 callersMethod_run_async_test
Helper to execute async test functions.
src/ecs-mcp-server/tests/unit/test_main.py:282
↓ 2 callersFunction_run_quick_query
Run a quick Insights query and return results.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/index_recommender.py:66
↓ 2 callersFunction_run_with_stubbed_error
Run a handler through the real paginator against a client that raises ValidationException.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:989
↓ 2 callersFunction_safe_span
Safely parse a colspan/rowspan attribute, returning at least 1.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:130
↓ 2 callersMethod_sanitize_string
Sanitizes a string to remove sensitive information. Args: text: The string to sanitize Returns: str
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:373
↓ 2 callersFunction_scanner_or_skip
Build a scanner registered with the known secrets, or skip if none are available. Scanning with no registered secrets would pass trivially and pr
src/aws-healthomics-mcp-server/integration/tests/test_credential_safety.py:71
↓ 2 callersFunction_sent_filters
Every Filter (or filter) value the operation sent to the client.
src/billing-cost-management-mcp-server/tests/tools/test_empty_filter.py:126
← previousnext →4,001–4,100 of 35,417, ranked by callers