MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_extract_table_name_simple
Test extracting table name from a simple query.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:36
Methodtest_extract_table_name_with_keyspace
Test extracting table name from a query with keyspace qualifier.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:42
Methodtest_extract_task_metrics_complete_data
Test extracting task metrics with complete data.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:219
Methodtest_extract_task_metrics_exception_handling
Test extracting task metrics handles exceptions gracefully.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:369
Methodtest_extract_task_metrics_missing_data
Test extracting task metrics with missing data.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:351
Methodtest_extract_task_metrics_over_provisioned
Test extracting task metrics for over-provisioned task.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:265
Methodtest_extract_task_metrics_under_provisioned
Test extracting task metrics for under-provisioned task.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:295
Methodtest_extract_task_metrics_with_cost_analyzer_none_result
Test extracting task metrics when cost analyzer returns None.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:2615
Methodtest_extract_task_metrics_zero_reserved_resources
Test extracting task metrics with zero reserved resources.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:323
Methodtest_extract_task_missing_creation_time
Test extracting task data with missing creationTime.
src/aws-healthomics-mcp-server/tests/test_run_timeline.py:62
Methodtest_extract_task_missing_stop_time
Test extracting task data with missing stopTime.
src/aws-healthomics-mcp-server/tests/test_run_timeline.py:72
Methodtest_extract_task_with_all_fields
Test extracting task data with all fields present.
src/aws-healthomics-mcp-server/tests/test_run_timeline.py:33
Methodtest_extract_task_with_default_values
Test extracting task data with default values for optional fields.
src/aws-healthomics-mcp-server/tests/test_run_timeline.py:82
Methodtest_extract_template_fields_from_empty_list
Test extracting fields from empty list returns empty list.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1721
Methodtest_extract_template_fields_from_empty_string
Test extracting fields from empty string returns empty list.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1716
Methodtest_extract_template_fields_from_list
Test extracting fields from a list of templates.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1703
Methodtest_extract_template_fields_from_none
Test extracting fields from None returns empty list.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1711
Methodtest_extract_template_fields_from_string
Test extracting fields from a single template string.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1695
Methodtest_extract_text_details
Test extraction of text error details.
src/openapi-mcp-server/tests/utils/test_error_handler_extended.py:74
Methodtest_extract_token_expiry_direct
Test extracting token expiry directly.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:71
Methodtest_extract_token_expiry_error_direct
Test extracting token expiry with an error.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:90
Methodtest_extract_token_expiry_invalid_token
Test extracting expiry from an invalid token.
src/openapi-mcp-server/tests/auth/test_cognito_auth_client_credentials.py:200
Methodtest_extract_token_expiry_malformed_payload
Test extracting expiry from a token with malformed payload.
src/openapi-mcp-server/tests/auth/test_cognito_auth_client_credentials.py:212
Methodtest_extract_token_expiry_valid_jwt
Test _extract_token_expiry with valid JWT token - covers lines 492-524.
src/openapi-mcp-server/tests/auth/test_cognito_auth_coverage_boost.py:153
Methodtest_extract_token_expiry_valid_token
Test extracting expiry from a valid token.
src/openapi-mcp-server/tests/auth/test_cognito_auth_client_credentials.py:175
Methodtest_extract_where_conditions_multiple
Test extracting WHERE conditions from a query with multiple conditions.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:54
Methodtest_extract_where_conditions_simple
Test extracting WHERE conditions from a simple query.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:48
Methodtest_extract_where_conditions_with_limit
Test extracting WHERE conditions from a query with LIMIT clause.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:66
Methodtest_extract_where_conditions_with_order_by
Test extracting WHERE conditions from a query with ORDER BY clause.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:60
Methodtest_extract_workspace_id_from_url
Test that extract_workspace_id_from_url correctly extracts workspace IDs from URLs.
src/prometheus-mcp-server/tests/test_tools.py:598
Methodtest_extract_workspace_id_from_url
Test extract_workspace_id_from_url function.
src/prometheus-mcp-server/tests/test_coverage_improvement.py:32
Methodtest_extracts_and_sets_client_info
_ensure_client_ua sets client info from MCP context.
src/security-agent-mcp-server/tests/test_server.py:1277
Methodtest_extracts_client_name
Extracts and kebab-cases client name from session.
src/security-agent-mcp-server/tests/test_server.py:1238
Methodtest_extracts_code_and_message
(self)
src/aws-transform-mcp-server/tests/test_audit.py:92
Methodtest_extracts_page_and_count_into_opaque_token
Security regression test. The emitted ``next_token`` is opaque (never a URL) and round-trips through ``_decode_pagination_token`` to
src/healthlake-mcp-server/tests/test_pagination_hardening.py:219
Methodtest_extracts_pairs
Extract (function.name, value) pairs from an instant vector.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:169
Methodtest_extracts_suggested_action
(self)
src/aws-transform-mcp-server/tests/test_audit.py:111
Methodtest_extremely_long_resource_name
Test resource with extremely long name.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_validator.py:302
Methodtest_factory_wraps_real_middleware_in_shim
The patched factory returns a shim wrapping the real IdentityMiddleware instance.
src/aws-healthomics-mcp-server/integration/harness_tests/test_entrypoint_header_shim.py:118
Functiontest_fail_closed
Empty, multi-statement, and malformed input is rejected in both modes.
src/postgres-mcp-server/tests/test_sql_guard.py:289
Methodtest_failed
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2262
Methodtest_failed_account_id_returns_error
Test that failure to get account ID returns error.
src/aws-healthomics-mcp-server/tests/test_clone_container.py:407
Methodtest_failed_backup_check
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2828
Methodtest_failed_caller_statement_reports_its_own_error
The batch-level error only names indices, so the failing statement's text is used.
src/redshift-mcp-server/tests/test_redshift.py:324
Methodtest_failed_caller_statement_without_an_error_field
A failure the Data API does not explain still fails, and says so.
src/redshift-mcp-server/tests/test_redshift.py:407
Functiontest_failed_create_is_not_taken_for_a_lost_race
already exists' in the statement text, not Athena's reason, does not hide a failure.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:2806
Functiontest_failed_derivation_rejects_without_dispatch_or_context
A derivation failure yields 401, no dispatch, no context, no session build. Validates: Requirement Per-request credential freshness (when credent
src/aws-healthomics-mcp-server/tests/test_middleware_context_lifecycle.py:308
Functiontest_failed_extraction_keeps_files_it_did_not_write
Cleanup after a failure removes only slides written by the failed call.
src/document-loader-mcp-server/tests/test_slide_output_paths.py:351
Methodtest_failed_is_terminal
( self, _mock_cfg, _mock_nudge, mock_fes, mock_paginate, handler, ctx )
src/aws-transform-mcp-server/tests/test_job_status.py:159
Methodtest_failed_months_are_unioned_without_duplicates
Failed months from every page are combined and de-duplicated.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:1120
Methodtest_failed_not_splittable
Failed status is not splittable.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:614
Functiontest_failed_provisioning_inventories_every_created_resource
Property: A failed provisioning run still inventories every resource it created. For any provisioning sequence with a failure injected at an arbi
src/aws-healthomics-mcp-server/integration/harness_tests/test_provision_failure_property.py:106
Functiontest_failed_query_keeps_its_error_type_mapping
A FAILED query is not given a cancel's retry_strategy.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:2482
Methodtest_failed_region_makes_the_result_partial
A region that failed outright means the merged answer is incomplete.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:2328
Methodtest_failed_region_with_continuable_region_has_more
A region with a token keeps the merged result continuable.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:3272
Methodtest_failed_region_without_tokens_is_partial_but_not_continuable
Every succeeding region is complete, so nothing can continue.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:3258
Functiontest_failed_repoint_stops_before_the_select
If ALTER TABLE fails, the error is returned and the stale table is never read.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:2313
Methodtest_failed_schema_creation
Test failed schema creation.
src/aws-appsync-mcp-server/tests/test_create_schema.py:85
Methodtest_failed_status
A Failed query status is surfaced verbatim.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_snapshot_queries.py:114
Methodtest_failed_status_does_not_rechunk
A 'Failed' query (e.g. bad syntax) should NOT trigger re-chunking.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:376
Methodtest_failed_status_raises
Raise when the query terminates with a non-Complete status.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:509
Methodtest_failed_wrapper_fails_the_call_even_though_the_read_ran
A wrapper statement that failed means the call did not run as designed. A read is in no danger of persisting either way, since the failure ab
src/redshift-mcp-server/tests/test_redshift.py:424
Methodtest_failing_folder_scan_skips_to_next_folder
A folder whose prefixed scan raises must not abort the walk.
src/aws-transform-mcp-server/tests/test_load_instructions.py:425
Methodtest_failure_after_first_page_is_partial
A later page failing keeps the earlier rows and returns the retry token.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:1127
Methodtest_failure_after_first_page_returns_partial
A later page failing keeps the fetched items and the token that failed.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3486
Methodtest_failure_after_first_page_returns_partial_with_retry_token
Kept pages come back, with the token that fetched the failed page.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:564
Methodtest_failure_after_retries
All attempts fail → failed_chunks incremented, warning added.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:271
Methodtest_failure_categorization
Test that different failure types are properly categorized.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_task_failures.py:342
Methodtest_failure_path_raises
An AWS failure during operation listing propagates to the caller.
src/cloudwatch-applicationsignals-mcp-server/tests/test_endpoint_metrics.py:393
Methodtest_failure_reason_included_for_failed_batch
Test failureReason is included when batch status is FAILED.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:824
Methodtest_failure_report_scenarios
Test failure report building with various error counts.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:567
Methodtest_fallback_exception
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2943
Methodtest_fallback_keys_use_the_single_request_lookup
Fallback keys go out in one request, and a service token is not followed.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:878
Methodtest_fallback_keys_with_next_token_are_rejected
next_token stays rejected when the keys fall back to the caller's own.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:897
Methodtest_fallback_no_backups
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2929
Methodtest_fallback_note_counts_only_keys_whose_unprefixed_form_was_dropped
user:k0-39 already have k0-39 listed and a bare user: has no unprefixed form.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:754
Methodtest_fallback_note_singular_for_one_key
100 keys where only one unprefixed form is missing: the note says 1 key.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:771
Functiontest_fallback_rechecks_dir_before_each_write
In the path fallback, a folder swapped to a link after preparation is refused.
src/document-loader-mcp-server/tests/test_slide_output_paths.py:416
Functiontest_fallback_requires_matching_target_name
Fallback lookup matches only when target_name also matches.
src/oracle-mcp-server/tests/test_db_connection_map.py:282
Methodtest_fallback_returns_profile_list
When elicitation is not supported, returns PROFILE_SELECTION_REQUIRED.
src/aws-transform-mcp-server/tests/test_configure.py:363
Methodtest_fallback_still_sends_repeated_keys_once
The fallback sends the caller's distinct keys in order; the API rejects repeats.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:736
Methodtest_fallback_to_command_history
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:3111
Methodtest_fallback_to_default_prefixes_on_access_denied
Property: Falls back to default prefix check on AccessDeniedException. Feature: ecr-container-tools, Property: Pull-Through Cache Detection
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:463
Methodtest_fallback_to_ec2_arn
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2915
Methodtest_fallback_to_first_record
Fall back to the first record when no exact name match exists.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:935
Methodtest_fallback_to_list_operations
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2711
Methodtest_fallback_to_none_on_permission_error
Test fallback to None when permission denied.
src/finch-mcp-server/tests/test_logging_configuration.py:152
Methodtest_fallback_to_none_when_no_home
Test fallback to None when no HOME environment variable.
src/finch-mcp-server/tests/test_logging_configuration.py:162
Methodtest_fallback_to_response_itself
(self)
src/aws-transform-mcp-server/tests/test_tool_utils.py:364
Methodtest_falls_back_to_db2db
With no --database and no per-call value, the documented default applies.
src/db2-mcp-server/tests/test_server.py:649
Methodtest_falls_back_to_default
Test falls back to default identifier.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_client.py:45
Methodtest_falls_back_to_default_when_certifi_missing
If certifi isn't installed, return a default context (system store).
src/mysql-mcp-server/tests/test_hatch_build.py:134
Methodtest_falls_back_to_streamed_chunks_when_no_generated_answer
Streamed responseEvent chunks are joined if the result carries no answer.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:126
Methodtest_falls_back_to_us_east_1
Test falls back to us-east-1 when no env var set.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_client.py:31
Methodtest_falsy_custom_endpoints_skipped
Falsy CustomEndpoints entries must not break resolution.
src/mysql-mcp-server/tests/test_endpoint_validation.py:911
Methodtest_family_memory_ratio_mapping
Test FAMILY_MEMORY_RATIO mapping contains expected values.
src/aws-healthomics-mcp-server/tests/test_pricing_cache.py:271
Functiontest_fan_out_regions_collects_ordered_outcomes
Successes and errors preserve the caller's region order.
src/billing-cost-management-mcp-server/tests/utilities/test_regional_fanout.py:32
Functiontest_fan_out_regions_rejects_invalid_concurrency
A zero-sized semaphore is rejected rather than hanging.
src/billing-cost-management-mcp-server/tests/utilities/test_regional_fanout.py:59
Methodtest_fasta_index_associations
Test FASTA file with various index associations.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:155
Methodtest_fasta_with_bwa_and_dict
Test FASTA file with both BWA indexes and dict file.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:937
← previousnext →18,501–18,600 of 35,417, ranked by callers