MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_rejects_path_in_aws_dir
(self)
src/eks-mcp-server/tests/test_path_validation.py:93
Methodtest_rejects_path_in_docker_dir
(self)
src/eks-mcp-server/tests/test_path_validation.py:51
Methodtest_rejects_path_in_etc
(self)
src/eks-mcp-server/tests/test_path_validation.py:56
Methodtest_rejects_path_in_gnupg_dir
(self)
src/eks-mcp-server/tests/test_path_validation.py:46
Methodtest_rejects_path_in_kube_dir
(self)
src/eks-mcp-server/tests/test_path_validation.py:41
Methodtest_rejects_path_in_kube_dir
(self)
src/eks-mcp-server/tests/test_path_validation.py:103
Methodtest_rejects_path_in_root
(self)
src/eks-mcp-server/tests/test_path_validation.py:60
Methodtest_rejects_path_in_ssh_dir
(self)
src/eks-mcp-server/tests/test_path_validation.py:36
Methodtest_rejects_path_in_ssh_dir
(self)
src/eks-mcp-server/tests/test_path_validation.py:98
Methodtest_rejects_path_inside_blocked_directory
A file inside a sensitive directory is rejected.
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:103
Methodtest_rejects_path_traversal
Paths with traversal sequences are rejected.
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:75
Methodtest_rejects_path_traversal_in_absolute_url
Path traversal via .. in an absolute URL must not escape the allowed path prefix.
src/amazon-bedrock-agentcore-mcp-server/tests/test_url_validator.py:107
Methodtest_rejects_pipe_forward_to
Test that pipe-forward to() is rejected in read-only mode.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2659
Methodtest_rejects_plain_relative_path
Any relative URL must be rejected outright.
src/amazon-bedrock-agentcore-mcp-server/tests/test_url_validator.py:114
Methodtest_rejects_python_module_overwrite_in_zip
Property: ZIP entries targeting Python site-packages are rejected.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:145
Methodtest_rejects_relative_path
(self)
src/eks-mcp-server/tests/test_path_validation.py:27
Methodtest_rejects_relative_path
(self)
src/eks-mcp-server/tests/test_path_validation.py:89
Methodtest_rejects_relative_path_resolving_into_blocked_directory
A relative path is resolved before the blocklist check.
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:118
Methodtest_rejects_relative_url_path_traversal
PoC vector 1: /../../attacker-path must be rejected as a relative URL.
src/amazon-bedrock-agentcore-mcp-server/tests/test_url_validator.py:92
Methodtest_rejects_relative_url_with_query
PoC vector 3: /evil?test=1 must be rejected as a relative URL.
src/amazon-bedrock-agentcore-mcp-server/tests/test_url_validator.py:102
Methodtest_rejects_root_home
(self)
src/eks-mcp-server/tests/test_path_validation.py:121
Methodtest_rejects_simple_to
Test simple pipe-forward to().
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2924
Methodtest_rejects_sleep_injection
Should reject SLEEP() injection.
src/mysql-mcp-server/tests/test_server_error_handling.py:180
Methodtest_rejects_stacked_queries
Should reject stacked queries.
src/mysql-mcp-server/tests/test_server_error_handling.py:198
Methodtest_rejects_standalone_to_at_line_start
Test that standalone to() at line start is rejected.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2780
Methodtest_rejects_statement_leading_verb_in_readonly
Each verb is rejected in read-only mode and never reaches the DB.
src/mysql-mcp-server/tests/test_server_error_handling.py:358
Methodtest_rejects_streaming_blob_arguments
Test that commands with streaming blob arguments are rejected when FILE_ACCESS_MODE is NO_ACCESS. Streaming blob arguments accept only file p
src/aws-api-mcp-server/tests/parser/test_parser_file_access.py:243
Methodtest_rejects_string_interpolation
Test that interpolation is refused, since masking cannot be trusted.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:3027
Methodtest_rejects_subdirectory_of_sensitive_dir
(self)
src/eks-mcp-server/tests/test_path_validation.py:108
Methodtest_rejects_symlink_pointing_into_blocked_directory
Symlinks are resolved, so they cannot be used to reach a sensitive directory.
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:129
Methodtest_rejects_symlink_to_sensitive_dir
(self, tmp_path)
src/eks-mcp-server/tests/test_path_validation.py:64
Methodtest_rejects_symlink_to_sensitive_dir
(self, tmp_path)
src/eks-mcp-server/tests/test_path_validation.py:125
Methodtest_rejects_tilde_form_of_blocked_directory
A tilde path is expanded before the blocklist check.
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:108
Methodtest_rejects_to_after_comment
Test that to() on a line after a comment is still caught.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2968
Methodtest_rejects_to_in_assignment_position
Test that to() called as an assignment right-hand side is caught.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2975
Methodtest_rejects_to_in_multiline_query
Test that to() in a complex multi-line query is caught.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2893
Methodtest_rejects_to_with_extra_whitespace
Test that to() with extra whitespace is still caught.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2762
Methodtest_rejects_trailing_dotdot
Property: Paths ending with /.. are rejected.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:57
Methodtest_rejects_traversal
Property: Paths with traversal sequences are rejected.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:98
Methodtest_rejects_traversal_in_local_path
Property: resolve_bundle_content rejects local paths with traversal. The path traversal is caught by detect_content_input_type which classifi
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:520
Methodtest_rejects_traversal_in_s3_object_key
Property: S3 object keys that produce traversal relative paths are rejected.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:203
Methodtest_rejects_traversal_mixed_with_valid_entries
Property: A single malicious entry causes rejection even with valid entries.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:166
Methodtest_rejects_union_select_injection
Should reject UNION SELECT injection.
src/mysql-mcp-server/tests/test_server_error_handling.py:162
Methodtest_rejects_update_in_readonly
Should reject UPDATE when readonly is True.
src/mysql-mcp-server/tests/test_server_error_handling.py:83
Methodtest_rejects_upward_traversal_into_blocked_directory
Traversal components cannot be used to reach a sensitive directory.
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:124
Methodtest_rejects_userinfo_in_url
URLs with userinfo (user@host) must be rejected.
src/amazon-bedrock-agentcore-mcp-server/tests/test_url_validator.py:181
Methodtest_rejects_valid_json_non_objects
Property: Tag parsing rejects invalid JSON - valid JSON non-objects. Generate valid JSON values that are not objects (arrays, numbers, string
src/aws-healthomics-mcp-server/tests/test_workflow_management.py:3621
Methodtest_rejects_vector_knowledge_base
A non-managed knowledge base is rejected with an actionable message.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:248
Methodtest_rejects_wideTo
Test that wideTo() is rejected in read-only mode.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2698
Methodtest_rejects_wideTo
Test wideTo().
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2936
Methodtest_rejects_write_after_escaped_quote
Test that an escaped quote does not end the literal early and hide a write.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:3020
Methodtest_rejects_write_function_bound_to_another_name
Test that binding to() to another name and piping into it is caught.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2982
Methodtest_rejects_write_hidden_behind_url_in_string
Test that a URL in a string does not hide a later to() on the same line.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:3010
Methodtest_rejects_write_split_across_lines
Test that a newline between to() and its parenthesis is still a write.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:3003
Methodtest_rejects_write_through_aliased_package_import
Test that an aliased package import does not hide a qualified write.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2996
Methodtest_rejects_write_wrapped_in_user_defined_function
Test that a write hidden inside a user-defined function is caught.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2989
Methodtest_relationship_model
Test the Relationship model creation and serialization with properties. This test verifies that: 1. A Relationship can be created wit
src/amazon-neptune-mcp-server/tests/test_models.py:93
Methodtest_relationship_model_without_properties
Test the Relationship model creation and serialization without properties. This test verifies that: 1. A Relationship can be created
src/amazon-neptune-mcp-server/tests/test_models.py:117
Methodtest_relationship_pattern_model
Test the RelationshipPattern model creation and serialization. This test verifies that: 1. A RelationshipPattern can be created with
src/amazon-neptune-mcp-server/tests/test_models.py:137
Methodtest_relative_app_directory_rejected
Test that relative app directory is rejected with clear error message.
src/cloudwatch-applicationsignals-mcp-server/tests/test_enablement_tools.py:84
Methodtest_relative_delta_none_and_zero_baseline
(self)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:530
Methodtest_relative_path_rejected
Test that relative paths are rejected with clear error message.
src/cloudwatch-applicationsignals-mcp-server/tests/test_enablement_tools.py:71
Methodtest_relative_path_rejected
Test that relative paths are rejected.
src/sagemaker-ai-mcp-server/tests/test_path_validation.py:30
Methodtest_relative_path_with_traversal_rejected
Test that relative paths with traversal are rejected.
src/sagemaker-ai-mcp-server/tests/test_path_validation.py:35
Methodtest_relative_redirect_cannot_escape_host
A protocol-relative Location to another host is rejected.
src/aws-documentation-mcp-server/tests/test_util.py:113
Methodtest_relative_redirect_resolved_against_request
A relative Location resolves against the request URL and stays on the allowlist.
src/aws-documentation-mcp-server/tests/test_util.py:106
Methodtest_relaxed_lookup_by_cluster_identifier
Match on (method, cluster, database) when endpoints differ.
src/mysql-mcp-server/tests/test_db_connection_map.py:414
Methodtest_relaxed_lookup_by_db_endpoint_when_no_cluster
Match on (method, endpoint, database) when caller has no cluster id. Standalone RDS MySQL / MariaDB instances are reached by endpoint
src/mysql-mcp-server/tests/test_db_connection_map.py:434
Methodtest_relaxed_lookup_filters_by_port_when_caller_supplies_one
Caller-supplied port is honoured by the relaxed scan. When a caller does pass a specific port, the relaxed scan filters on it. This m
src/mysql-mcp-server/tests/test_db_connection_map.py:553
Methodtest_relaxed_lookup_finds_non_default_port_connection
Caller without a port reaches a connection stored on a non-default port. Pins the design choice in get(): when port is not supplied (the
src/mysql-mcp-server/tests/test_db_connection_map.py:517
Methodtest_relaxed_lookup_misses_when_database_differs
Different database name on the same cluster must not match.
src/mysql-mcp-server/tests/test_db_connection_map.py:501
Methodtest_relaxed_lookup_misses_when_method_differs
The method axis is non-negotiable — different methods do not match. rdsapi and mysqlwire are separate transports; a registered rdsapi
src/mysql-mcp-server/tests/test_db_connection_map.py:488
Methodtest_relaxed_lookup_returns_none_for_same_cluster_multiple_ports
Two entries on different ports: ambiguity guard returns None. Pairs with test_relaxed_lookup_returns_none_on_ambiguity (which covers
src/mysql-mcp-server/tests/test_db_connection_map.py:535
Methodtest_relaxed_lookup_returns_none_on_ambiguity
Multiple matching entries must return None rather than picking one. If two connections exist for the same cluster+method+database (e.g.
src/mysql-mcp-server/tests/test_db_connection_map.py:472
Methodtest_relaxed_lookup_returns_none_with_no_identifier_at_all
If both cluster_identifier and db_endpoint are empty, no scan happens.
src/mysql-mcp-server/tests/test_db_connection_map.py:509
Methodtest_release_inside_string_literal_is_not_flagged
``WHERE tag = 'release candidate'`` — "release" as data.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1258
Methodtest_release_savepoint
RELEASE SAVEPOINT collapses to RELEASE.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:401
Methodtest_release_savepoint_is_detected
``RELEASE SAVEPOINT sp1`` — releases a savepoint.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:997
Methodtest_relevance_sorting
Results are sorted by how many query words appear in the first column.
src/aws-documentation-mcp-server/tests/test_table_utils.py:322
Methodtest_relevance_sorting_ranks_by_first_column
Row with more query words in Name column ranks higher.
src/aws-documentation-mcp-server/tests/test_table_utils.py:334
Methodtest_relevance_sorting_tiebreaker
When scores tie, document order is preserved.
src/aws-documentation-mcp-server/tests/test_table_utils.py:346
Methodtest_remainder
Uneven split produces a smaller trailing chunk.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:89
Methodtest_remaining_coverage_gaps
Test remaining coverage gaps to reach 95%.
src/ccapi-mcp-server/tests/test_server.py:631
Methodtest_remediation_contains_actionable_guidance
Property: Remediation fields contain actionable guidance. Feature: ecr-container-tools, Property: Validation Issue Remediation For a
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:6129
Methodtest_remediation_mentions_healthomics_for_permission_issues
Property: Permission-related remediation mentions HealthOmics. Feature: ecr-container-tools, Property: Validation Issue Remediation
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:6491
Functiontest_remove
Remove deletes a connection so get returns None.
src/oracle-mcp-server/tests/test_db_connection_map.py:51
Functiontest_remove
remove() deletes the stored connection.
src/mssql-mcp-server/tests/test_db_connection_map.py:48
Methodtest_remove_attachment
Test removing attachment completely.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_simulate_cloud_wan_route_change.py:111
Methodtest_remove_checkov_metadata_direct
Test the _remove_checkov_metadata method directly.
src/eks-mcp-server/tests/test_eks_stack_handler.py:989
Methodtest_remove_checkov_skip_annotations
Test _remove_checkov_skip_annotations method directly to ensure line 807 is covered.
src/eks-mcp-server/tests/test_k8s_handler.py:1933
Methodtest_remove_connection_by_object
remove_connection() evicts the entry whose value is the given conn.
src/postgres-mcp-server/tests/test_db_connection_map.py:203
Methodtest_remove_connection_not_present_returns_false
remove_connection() returns False when the connection isn't in the map.
src/postgres-mcp-server/tests/test_db_connection_map.py:262
Methodtest_remove_connection_only_removes_matching_object
remove_connection() leaves other connections intact.
src/postgres-mcp-server/tests/test_db_connection_map.py:297
Methodtest_remove_connection_regardless_of_key
remove_connection() works even when the caller cannot reconstruct the key. The connection is stored under a non-5432 port and a specific endp
src/postgres-mcp-server/tests/test_db_connection_map.py:217
Methodtest_remove_dialog_handler
Remove dialog handler detaches the page listener.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:343
Methodtest_remove_dialog_handler_no_handler
Remove dialog handler when none exists is a no-op.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:430
Methodtest_remove_dialog_handler_session_disconnected
Remove dialog handler when session is already disconnected hits ValueError path.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:434
Functiontest_remove_empty_database_raises
remove() raises ValueError when database is empty.
src/oracle-mcp-server/tests/test_db_connection_map.py:137
Functiontest_remove_empty_database_raises
remove() raises ValueError when database is empty.
src/mssql-mcp-server/tests/test_db_connection_map.py:107
Methodtest_remove_existing
remove() should remove an existing connection.
src/mysql-mcp-server/tests/test_db_connection_map.py:314
← previousnext →29,301–29,400 of 35,417, ranked by callers