Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
35,417 in github.com/awslabs/mcp
⨍
Functions
35,417
◇
Types & classes
5,673
↳
Endpoints
3,994
Function
test_convert_temporal_fields_time
Test convert_temporal_fields converts time strings correctly.
src/s3-tables-mcp-server/tests/test_pyiceberg.py:615
Function
test_convert_temporal_fields_time_format
Test time format: 17:10:34.123456.
src/s3-tables-mcp-server/tests/test_pyiceberg.py:863
Function
test_convert_temporal_fields_timestamp_format
Test timestamp format: 2025-03-14 17:10:34.123456.
src/s3-tables-mcp-server/tests/test_pyiceberg.py:877
Function
test_convert_temporal_fields_timestamp_no_tz
Test convert_temporal_fields converts timestamp without timezone correctly.
src/s3-tables-mcp-server/tests/test_pyiceberg.py:636
Function
test_convert_temporal_fields_timestamp_ns_format
Test timestamp_ns format: 2025-03-14 17:10:34.123456789. Nanoseconds should be truncated to microseconds for Python datetime.
src/s3-tables-mcp-server/tests/test_pyiceberg.py:911
Function
test_convert_temporal_fields_timestamp_t_separator
Test timestamp with T separator: 2025-03-14T17:10:34.123456.
src/s3-tables-mcp-server/tests/test_pyiceberg.py:992
Function
test_convert_temporal_fields_timestamp_with_tz
Test convert_temporal_fields converts timestamp with timezone correctly.
src/s3-tables-mcp-server/tests/test_pyiceberg.py:659
Function
test_convert_temporal_fields_timestamptz_format
Test timestamptz format: 2025-03-14 17:10:34.123456-07:00. Input: 2025-03-14 17:10:34.123456-07:00 (PDT) Expected UTC: 2025-03-15 00:10:34.12
src/s3-tables-mcp-server/tests/test_pyiceberg.py:891
Function
test_convert_temporal_fields_timestamptz_ns_format
Test timestamptz_ns format: 2025-03-14 17:10:34.123456789-07:00. Input: 2025-03-14 17:10:34.123456789-07:00 (PDT, nanosecond precision) Expec
src/s3-tables-mcp-server/tests/test_pyiceberg.py:929
Function
test_convert_temporal_fields_timestamptz_t_separator
Test timestamptz with T separator: 2025-03-14T17:10:34.123456-07:00.
src/s3-tables-mcp-server/tests/test_pyiceberg.py:1006
Function
test_convert_temporal_fields_timestamptz_various_offsets
Test timestamptz with various timezone offsets.
src/s3-tables-mcp-server/tests/test_pyiceberg.py:949
Method
test_convert_time_to_timestamp
Test time string to timestamp conversion.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:73
Method
test_convert_to_datastore_status_invalid_value
Test _convert_to_datastore_status with invalid value.
src/healthimaging-mcp-server/tests/test_server.py:1680
Method
test_convert_to_datastore_status_none_value
Test _convert_to_datastore_status with None value.
src/healthimaging-mcp-server/tests/test_server.py:1674
Method
test_convert_to_datastore_status_valid_values
Test _convert_to_datastore_status with valid enum values.
src/healthimaging-mcp-server/tests/test_server.py:1663
Method
test_convert_to_iso8601_returns_string_unchanged
Test that string timestamps are returned unchanged (covers 'return v' line).
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_models.py:26
Method
test_convert_to_job_status_invalid_value
Test _convert_to_job_status with invalid value.
src/healthimaging-mcp-server/tests/test_server.py:1703
Method
test_convert_to_job_status_none_value
Test _convert_to_job_status with None value.
src/healthimaging-mcp-server/tests/test_server.py:1697
Method
test_convert_to_job_status_valid_values
Test _convert_to_job_status with valid enum values.
src/healthimaging-mcp-server/tests/test_server.py:1686
Function
test_convert_to_pdf_with_soffice_custom_timeout
Test _convert_to_pdf_with_soffice passes custom timeout to subprocess.run.
src/document-loader-mcp-server/tests/test_server.py:1118
Function
test_convert_to_pdf_with_soffice_no_output
Test _convert_to_pdf_with_soffice raises when PDF not created.
src/document-loader-mcp-server/tests/test_server.py:1148
Function
test_convert_to_pdf_with_soffice_not_found
Test _convert_to_pdf_with_soffice raises when soffice not found.
src/document-loader-mcp-server/tests/test_server.py:1139
Function
test_convert_to_pdf_with_soffice_success
Test _convert_to_pdf_with_soffice successful conversion.
src/document-loader-mcp-server/tests/test_server.py:1093
Method
test_convert_unix_timestamp_custom_format
Test Unix timestamp conversion with custom format string.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:77
Method
test_convert_unix_timestamp_different_timezone_param
Test Unix timestamp conversion with timezone parameter (currently only supports UTC).
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:87
Method
test_convert_unix_timestamp_edge_cases
Test Unix timestamp conversion with edge cases.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:97
Method
test_convert_unix_timestamp_float_string
Test Unix timestamp conversion with float string input.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:148
Method
test_convert_unix_timestamp_invalid_negative
Test Unix timestamp conversion with negative timestamp.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:126
Method
test_convert_unix_timestamp_invalid_string
Test Unix timestamp conversion with invalid string input.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:117
Method
test_convert_unix_timestamp_overflow
Test Unix timestamp conversion with overflow values.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:138
Method
test_convert_unix_timestamp_valid_int
Test valid Unix timestamp conversion with integer input.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:45
Method
test_convert_unix_timestamp_valid_string
Test valid Unix timestamp conversion with string input.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:64
Method
test_converts_aware_datetimes_to_utc
Midnight UTC given in a UTC-8 zone still renders as the UTC date.
src/billing-cost-management-mcp-server/tests/tools/test_budget_performance_history.py:354
Method
test_converts_dates_to_epoch
Calendar dates are converted to epoch seconds for the API.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:186
Method
test_converts_datetime_directly
Test direct datetime conversion.
src/aws-healthomics-mcp-server/tests/test_datetime_utils.py:48
Method
test_converts_datetime_in_dict
Test datetime conversion in dictionary.
src/aws-healthomics-mcp-server/tests/test_datetime_utils.py:54
Method
test_converts_datetime_in_list
Test datetime conversion in list.
src/aws-healthomics-mcp-server/tests/test_datetime_utils.py:61
Method
test_converts_datetime_to_iso
Test datetime conversion to ISO format.
src/aws-healthomics-mcp-server/tests/test_datetime_utils.py:27
Method
test_converts_nested_structures
Test datetime conversion in nested structures.
src/aws-healthomics-mcp-server/tests/test_datetime_utils.py:68
Method
test_converts_only_above_threshold
A response converts only when it is larger than SQL_CONVERSION_THRESHOLD.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:76
Method
test_convertsdatetime_to_iso
Test datetime conversion to ISO format.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:225
Method
test_cookie_flow_exception
Exception in cookie flow returns failure_result with hint.
src/aws-transform-mcp-server/tests/test_configure.py:632
Method
test_cookie_flow_missing_cookie
(self, handler, mock_context)
src/aws-transform-mcp-server/tests/test_configure.py:69
Method
test_cookie_flow_missing_origin
(self, handler, mock_context)
src/aws-transform-mcp-server/tests/test_configure.py:83
Method
test_cookie_flow_success
( self, mock_fes_cookie, mock_set_config, mock_persist, handler, mock_context )
src/aws-transform-mcp-server/tests/test_configure.py:49
Method
test_cookie_headers
(self, mock_create, mock_inject, mock_call)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:40
Method
test_cookie_invalid_origin_format
(self, handler, mock_context)
src/aws-transform-mcp-server/tests/test_configure.py:1469
Method
test_cookie_missing_sessionCookie_defaults_to_none
Omit sessionCookie — should be None, not a truthy FieldInfo.
src/aws-transform-mcp-server/tests/test_field_defaults.py:151
Method
test_cookie_mode
(self, mock_create, mock_inject, mock_call)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:138
Method
test_cookie_mode_rejected
(self, mock_get_config, handler, mock_context)
src/aws-transform-mcp-server/tests/test_configure.py:1168
Method
test_cookie_path_injects_cookie_auth
(self)
src/aws-transform-mcp-server/tests/test_transform_api_client_streaming.py:174
Method
test_cookie_with_only_required_params
Omit region — should default to 'us-east-1'.
src/aws-transform-mcp-server/tests/test_field_defaults.py:105
Method
test_cookie_with_prefix
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:152
Method
test_cookie_without_prefix
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:142
Function
test_copy_image_set_client_error
Test copy_image_set with ClientError.
src/healthimaging-mcp-server/tests/test_server.py:752
Method
test_copy_image_set_success
Test successful image set copying.
src/healthimaging-mcp-server/tests/test_server.py:230
Method
test_copy_program_blocked_both_modes
COPY ... TO/FROM PROGRAM (RCE) is rejected regardless of mode.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:608
Method
test_copy_readme_template_failure
Test _copy_readme_template with copy failure.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:480
Method
test_copy_readme_template_success
Test _copy_readme_template successful execution.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:466
Method
test_copy_support_file_exists
Test that support files are copied when they exist.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_output_manager.py:151
Method
test_copy_support_file_not_found
Test warning is printed when support file is not found.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_output_manager.py:131
Method
test_core_network_error
Test error handling when getting core network fails.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_simulate_cloud_wan_route_change.py:151
Method
test_core_passes_a_status_list_through
The tool entry point accepts a list and sends every status in one filter.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2848
Method
test_core_repackaging_keeps_guidance
An error reaching bcm_pricing_calc_core's own handler keeps its derived guidance.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2656
Method
test_core_returns_the_same_rejection
The tool entry point returns the validation_error without calling the service.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:721
Method
test_core_routes_rejection_for_list_operation
The tool entry point returns the same validation_error for a bad status_filter.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2732
Method
test_correct_dimensions
(self)
src/valkey-mcp-server/tests/test_embeddings.py:200
Method
test_correct_log_group
Test that the function uses correct log group name.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_logs.py:254
Function
test_correlate_all_xray_batches_fail
Return service_error when every batch_get_traces call raises. An empty success payload would be indistinguishable from 'no backend services'.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1132
Function
test_correlate_dedupes_and_oversamples
Correlate dedupes trace IDs and oversamples to compensate for duplicates.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:972
Function
test_correlate_invalid_max_traces_is_bad_request
Non-integer max_traces must return bad_request, not crash.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1945
Function
test_correlate_malformed_segment_is_skipped
A malformed segment Document must be logged and skipped, not abort the run.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1965
Function
test_correlate_no_traces
Correlate no traces.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:666
Function
test_correlate_partial_xray_batch_failure
Mixed failures should succeed but surface partial_failure + error count.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1168
Function
test_correlate_segment_missing_times_is_skipped
Segments without start_time or end_time must be skipped, not counted.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1998
Function
test_correlate_with_traces
Correlate with traces.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:621
Method
test_correlation_id_context_management
Test correlation ID context management.
src/amazon-translate-mcp-server/tests/test_missing_line_coverage.py:368
Method
test_correlation_id_functions
Test correlation ID management functions.
src/amazon-translate-mcp-server/tests/test_edge_cases_and_error_handling.py:186
Method
test_corrupt_config_quarantined_and_recovered
A truncated/garbage config.json must NOT brick the server. It is quarantined, get_config returns {}, and the next write rebuilds clean state.
src/security-agent-mcp-server/tests/test_state.py:223
Method
test_corrupt_scans_quarantined_and_recovered
Same defensive behavior for scans.json.
src/security-agent-mcp-server/tests/test_state.py:251
Method
test_cosmetic_path_rewrite_returns_the_content
A slash-normalizing redirect must not turn a good page into a failure.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1528
Method
test_cosmetic_url_differences_are_not_a_redirect
Scheme, fragment, host case and path spelling do not make it another page.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1521
Function
test_cost_allocation_tags_server_initialization
Test that the cost_allocation_tags_server is properly initialized.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:120
Method
test_cost_amplification_prevention
Test prevention of cost amplification via large batches.
src/amazon-translate-mcp-server/tests/test_security_validators.py:324
Function
test_cost_and_usage_with_resources
Test the get_cost_and_usage_with_resources function.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:327
Function
test_cost_anomaly_server_initialization
Test that the cost_anomaly_server is properly initialized.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_tools_enhanced.py:436
Function
test_cost_anomaly_server_initialization
Test that the cost_anomaly_server is properly initialized.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_tools.py:535
Function
test_cost_anomaly_tool_is_unchanged
The existing cost-anomaly tool keeps its name and required date parameters.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_monitors.py:448
Function
test_cost_category_server_initialization
Test that the cost_category_server is properly initialized.
src/billing-cost-management-mcp-server/tests/tools/test_cost_category_tools.py:129
Function
test_cost_comparison_server_initialization
Test that the cost_comparison_server is properly initialized.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:982
Function
test_cost_comparison_tool_passes_pagination_params
The tool passes max_items and next_token through to the operation handler.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:1003
Function
test_cost_explorer_get_cost_and_usage
The getCostAndUsage operation sends the parsed request and returns the API rows with pagination.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:162
Function
test_cost_explorer_get_cost_forecast
The getCostForecast operation sends metric, window, granularity and the default 80% interval.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:231
Function
test_cost_explorer_get_dimension_values
The getDimensionValues operation sends the dimension and window and returns the values.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:187
Function
test_cost_explorer_get_dimension_values_forwards_dimension_key
The tool passes dimension_key through, so a product attribute's values can be listed.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:208
Function
test_cost_explorer_get_dimension_values_tag_blocked_in_every_context
GetDimensionValues(dimension=TAG) is rejected pre-call in every context. Cost Explorer accepts TAG as a dimension in none of them (see CE_DIMENSI
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:612
Function
test_cost_explorer_handle_exception
An API exception comes back as an error response with the exception's text.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:509
Function
test_cost_explorer_missing_required_parameter
A missing required argument is a validation error, and no API call is made.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:262
Function
test_cost_explorer_server_initialization
Test that the cost_explorer_server is properly initialized.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:528
Function
test_cost_explorer_tool_is_registered
The cost-explorer tool is registered on the server under its public name.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:542
← previous
next →
14,301–14,400 of 35,417, ranked by callers