Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
32,024 in github.com/awslabs/mcp
⨍
Functions
32,024
◇
Types & classes
5,353
↳
Endpoints
3,782
Method
mock_start_query
(**kwargs)
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:459
Function
mock_state
Create a StateManager with a temporary directory.
src/security-agent-mcp-server/tests/conftest.py:21
Function
mock_state
Create a StateManager with temp directory.
src/security-agent-mcp-server/tests/test_scanner.py:92
Function
mock_storage_lens_run_query
Mock implementation of storage_lens_run_query for testing.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:46
Function
mock_sts
Create a mock STS client.
src/mysql-mcp-server/tests/test_cp_api_iam_policy.py:25
Function
mock_sts_client
Create a mock STS boto3 client.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:114
Method
mock_sts_client
Create a mock STS client for credential validation.
src/amazon-translate-mcp-server/tests/test_aws_client.py:53
Method
mock_sts_client
Mock STS client.
src/postgres-mcp-server/tests/test_cp_api_connection.py:675
Function
mock_support_client
Mock Support client for testing.
src/well-architected-security-mcp-server/tests/conftest.py:520
Function
mock_table_buckets
Mock table_buckets module.
src/s3-tables-mcp-server/tests/test_server.py:81
Method
mock_table_manager
Create a mock DataCatalogTableManager.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_data_catalog_handler.py:47
Method
mock_table_manager
Create a mock DataCatalogTableManager.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_custom_tags_glue.py:50
Function
mock_tables
Mock tables module.
src/s3-tables-mcp-server/tests/test_server.py:97
Function
mock_time_sleep
Mock time.sleep to speed up tests.
src/postgres-mcp-server/tests/test_cp_api_connection.py:132
Method
mock_tool
()
src/openapi-mcp-server/tests/utils/test_metrics_provider_extended2.py:189
Function
mock_tool_decorator
(*args, **kwargs)
src/ecs-mcp-server/tests/unit/modules/test_resource_management_module.py:52
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:207
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:284
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:357
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:405
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:453
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:501
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:540
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:579
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:616
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:653
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:690
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:727
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:764
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:801
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:838
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:875
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:913
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:951
Method
mock_tool_decorator
(func)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module_broker_id.py:20
Method
mock_tool_function
(parameters, ctx)
src/lambda-tool-mcp-server/tests/test_integration_coverage.py:107
Method
mock_tool_function
(parameters, ctx)
src/lambda-tool-mcp-server/tests/test_integration.py:106
Function
mock_transform_configs
Create mock ToolTransformConfig instances.
src/ecs-mcp-server/tests/unit/modules/test_aws_knowledge_proxy.py:131
Method
mock_update_one
(*args, **kwargs)
src/documentdb-mcp-server/tests/test_write_tools.py:333
Function
mock_validate
(task_definitions)
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_detect_image_pull_failures.py:76
Function
mock_wait_for
(coro, *, timeout=None)
src/mssql-mcp-server/tests/test_pool_exhaustion_and_expiry.py:62
Method
model_id
Get the model ID.
src/valkey-mcp-server/awslabs/valkey_mcp_server/embeddings/providers.py:127
Method
model_import_job
Fixture for creating a ModelImportJob instance.
src/aws-bedrock-custom-model-import-mcp-server/tests/test_llm_context.py:46
Method
modified_cleanup
()
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:3208
Function
monitor_batch_translation
Monitor a batch translation job until completion or failure. This tool continuously monitors a batch translation job and returns when it reaches
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/server.py:1154
Function
multi_statement_policy_strategy
Generate a policy with multiple statements where HealthOmics access is granted. The policy may have multiple statements, but at least one grants
src/aws-healthomics-mcp-server/tests/test_ecr_utils.py:242
Function
multi_tenant_enable_values
An enable value with optional case variation (parsing is case-insensitive).
src/aws-healthomics-mcp-server/tests/test_config_multitenant.py:66
Function
multiple_support_cases_data
Return a list of dictionaries with sample support case data.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:144
Function
multiple_support_cases_data
Return a list of dictionaries with sample support case data.
src/aws-support-mcp-server/tests/conftests.py:96
Method
my_failing_function
()
src/dynamodb-mcp-server/tests/test_common.py:190
Method
my_func
(workspaceId, token, content, jobId)
src/aws-transform-mcp-server/tests/test_audit.py:32
Method
my_tool
(workspaceId)
src/aws-transform-mcp-server/tests/test_audit.py:138
Function
mysql_connection_params
Create sample MySQL connection parameters.
src/dynamodb-mcp-server/tests/db_analyzer/conftest.py:42
Function
mysql_env_setup
Set up MySQL environment variables for testing.
src/dynamodb-mcp-server/tests/conftest.py:5
Function
mysql_plugin
MySQL plugin fixture for testing.
src/dynamodb-mcp-server/tests/test_markdown_formatter.py:24
Function
mysql_plugin
Create MySQL plugin instance.
src/dynamodb-mcp-server/tests/db_analyzer/conftest.py:24
Function
nav_env
Start a session for navigation and observation tests.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:195
Method
nav_tools
Create NavigationTools with mocked dependencies.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:96
Method
nested_dict
()
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/metrics_provider.py:406
Function
nested_dict_tool
Test tool with nested dictionary parameter. Args: nested_dict: A dictionary with string keys and dictionary values
src/mcp-lambda-handler/tests/test_lambda_handler.py:699
Function
no_cache_decorator
No-op cache decorator for testing.
src/openapi-mcp-server/tests/utils/test_openapi.py:24
Function
no_leaked_context
Guard against a credential context leaking in from a prior test. Asserts no per-request credential context is present at the start of each test.
src/aws-healthomics-mcp-server/tests/test_resolver_profile_nonauthoritative.py:62
Function
no_write_handler
Create a GlueCommonsHandler instance without write access for testing.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_commons_handler.py:48
Function
no_write_handler
Create a CrawlerHandler instance without write access for testing.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:36
Method
non_dict_template_file
Create a CloudFormation template file that is valid JSON but not a dictionary.
src/ecs-mcp-server/tests/unit/utils/test_security.py:187
Function
non_integer_port_strings
A non-empty, non-whitespace string that does not parse as an integer.
src/aws-healthomics-mcp-server/tests/test_config.py:137
Function
non_loopback_hosts
A non-loopback host: non-127/8 IPv4, non-``::1`` IPv6, or a hostname. A randomly generated alphanumeric hostname could coincidentally be a lo
src/aws-healthomics-mcp-server/tests/test_transport_exposure.py:74
Function
non_pull_through_cache_repository_strategy
Generate a repository name that does NOT match any pull-through cache prefix. These are regular ECR repositories that don't start with docker-hub
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:222
Method
now
()
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:329
Method
num_rows
(self)
src/s3-tables-mcp-server/tests/test_file_processor_utils.py:888
Method
obs_tools
Create ObservationTools with mocked dependencies.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:1085
Function
offline
(ctx)
src/postgres-mcp-server/tests/test_hatch_build.py:182
Method
ok
()
src/valkey-mcp-server/tests/test_command_runners.py:312
Method
ok_slo_count
Number of SLOs meeting their objectives.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/sli_report_client.py:163
Method
open_session
Open and initialize an MCP session.
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:294
Method
open_session
Record the call and either raise the configured error or succeed.
src/aws-healthomics-mcp-server/integration/harness_tests/test_transport_driver.py:77
Function
openapi_spec
Create a temporary OpenAPI spec for testing.
src/openapi-mcp-server/tests/test_api_name.py:25
Method
operation_cli_name
Return the Pythonic operation name for the command.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/command.py:58
Method
operation_function
(*args, **kwargs)
src/amazon-mq-mcp-server/awslabs/amazon_mq_mcp_server/aws_service_mcp_generator.py:204
Method
operation_function
(*args, **kwargs)
src/amazon-sns-sqs-mcp-server/awslabs/amazon_sns_sqs_mcp_server/generator.py:198
Method
operation_name
Return the operation name for the command.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/command.py:63
Method
operation_python_name
Return the Pythonic operation name for the command.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/command.py:53
Function
oracle_plugin
Create Oracle plugin instance.
src/dynamodb-mcp-server/tests/db_analyzer/conftest.py:30
Method
orchestrator
Create WorkflowOrchestrator with mocked services.
src/amazon-translate-mcp-server/tests/test_workflow_comprehensive.py:99
Method
orchestrator
Create WorkflowOrchestrator with mocked services.
src/amazon-translate-mcp-server/tests/test_workflow_comprehensive.py:352
Method
orchestrator
Create WorkflowOrchestrator with mocked services.
src/amazon-translate-mcp-server/tests/test_workflow_comprehensive.py:624
Method
orchestrator
Create WorkflowOrchestrator with mocked services.
src/amazon-translate-mcp-server/tests/test_workflow_comprehensive.py:721
Method
orchestrator
Create a GenomicsSearchOrchestrator instance for testing.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:97
Method
original
Return the original wrapped exception.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/errors.py:707
Method
output_manager
Create an OutputManager instance for testing.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_output_manager.py:67
Method
override_func
(mcp, client_getter, op)
src/amazon-sns-sqs-mcp-server/tests/test_generator.py:530
Method
page
(detail_id, token)
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:209
Method
paginate
(self, **kwargs)
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:401
Method
paginate_side_effect
(**kwargs)
src/aws-bedrock-custom-model-import-mcp-server/tests/test_client.py:616
Function
paint
Test tool with enum parameter. Args: color: The color to paint with
src/mcp-lambda-handler/tests/test_lambda_handler.py:530
Method
parameter_type_mappings
Python parameter type mappings
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/languages/python/type_mappings.py:55
Method
parameter_type_mappings
Must provide mappings for all ParameterType enum values.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/language_type_mapper.py:42
Method
parameter_type_mappings
Return parameter type mappings for testing.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_language_type_mapper.py:50
Method
parameter_type_mappings
Return complete parameter type mappings.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_language_type_mapper.py:80
Method
parameter_type_mappings
Return complete parameter type mappings.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_language_type_mapper.py:99
← previous
next →
8,901–9,000 of 32,024, ranked by callers