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_mcp
Create a mock FastMCP and initialize the tool with the mock.
src/aws-serverless-mcp-server/tests/test_esm_recommend.py:25
Method
mock_mcp
Create a mock MCP server.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_custom_tags_athena.py:35
Method
mock_mcp
Create a mock MCP server.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_custom_tags_emr_serverless.py:35
Method
mock_mcp
Create a mock MCP server.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_serverless_job_run_handler.py:31
Method
mock_mcp
Create a mock MCP server.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_serverless_application_handler.py:31
Method
mock_mcp
Create a mock MCP server.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_custom_tags_emr.py:32
Method
mock_mcp
Create a mock MCP server.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_data_catalog_handler.py:29
Method
mock_mcp
Create a mock MCP server.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_custom_tags_glue.py:32
Function
mock_mcp_server
Fixture for mocked MCP server.
src/amazon-mq-mcp-server/tests/rabbitmq/conftest.py:37
Function
mock_metrics_guidance
Create a mock metrics guidance dictionary.
src/eks-mcp-server/tests/test_cloudwatch_metrics_guidance_handler.py:22
Method
mock_mq_client_getter
(region: str)
src/amazon-mq-mcp-server/tests/rabbitmq/test_module_broker_id.py:17
Function
mock_mysql_functions
Mock MySQL connection and query functions.
src/dynamodb-mcp-server/tests/conftest.py:18
Function
mock_namespaces
Mock namespaces module.
src/s3-tables-mcp-server/tests/test_server.py:89
Function
mock_network_manager_client
Create a mock Network Manager client with spec.
src/aws-network-mcp-server/tests/tools/cloud_wan/conftest.py:42
Method
mock_nfw_client
Mock Network Firewall client fixture.
src/aws-network-mcp-server/tests/tools/network_firewall/test_get_firewall_rules.py:33
Method
mock_nm_client
Mock NetworkManager client fixture.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_list_core_networks.py:33
Function
mock_now_error
()
src/dynamodb-mcp-server/tests/test_markdown_formatter.py:621
Function
mock_omics_client
Create a mock HealthOmics client.
src/aws-healthomics-mcp-server/tests/test_troubleshooting.py:35
Function
mock_omics_client
Create a mock HealthOmics client.
src/aws-healthomics-mcp-server/tests/conftest.py:38
Method
mock_omics_client
Create a mock HealthOmics client.
src/aws-healthomics-mcp-server/tests/test_healthomics_search_engine.py:165
Function
mock_open_customization_error
(file_path, *args, **kwargs)
src/aws-api-mcp-server/tests/test_security_policy.py:145
Function
mock_open_customization_io_error
(file_path, *args, **kwargs)
src/aws-api-mcp-server/tests/test_security_policy.py:158
Function
mock_open_error
(*args, **kwargs)
src/dynamodb-mcp-server/tests/test_markdown_formatter.py:481
Function
mock_open_io_error
(file_path, *args, **kwargs)
src/aws-api-mcp-server/tests/test_security_policy.py:128
Function
mock_open_side_effect
(file_path, *args, **kwargs)
src/aws-api-mcp-server/tests/test_security_policy.py:80
Function
mock_open_side_effect
(filename, mode='r', *args, **kwargs)
src/aws-api-mcp-server/tests/fixtures.py:262
Method
mock_operation
()
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:955
Function
mock_oracle_pool
Return a MockOraclePool instance.
src/oracle-mcp-server/tests/conftest.py:98
Function
mock_page
Create a mock Playwright Page with CDP session support.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:51
Function
mock_page
Create a mock Playwright Page.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:55
Method
mock_parse_json
(json_string, label)
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:577
Method
mock_parse_json
(json_string, label)
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:676
Method
mock_parse_json
(json_string, label)
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:786
Method
mock_parse_json
(json_string, label)
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1008
Function
mock_parse_results
(*args, **kwargs)
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:575
Function
mock_playwright
Create a mock Playwright instance.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:53
Function
mock_pool_connection
Create an OracledbPoolConnection with mocked pool.
src/oracle-mcp-server/tests/conftest.py:110
Function
mock_pool_connection
Create a PymssqlPoolConnection with mocked internals.
src/mssql-mcp-server/tests/conftest.py:87
Function
mock_pricing_client_attributes
Mock pricing client specifically for describe_services calls.
src/aws-pricing-mcp-server/tests/conftest.py:217
Function
mock_pricing_client_values
Mock pricing client specifically for get_attribute_values calls.
src/aws-pricing-mcp-server/tests/conftest.py:243
Function
mock_print
Mock print to avoid cluttering test output.
src/postgres-mcp-server/tests/test_cp_api_connection.py:148
Method
mock_proc_generator
()
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:445
Method
mock_progress
(current, total)
src/redshift-mcp-server/tests/test_review_executor.py:323
Function
mock_prompt_decorator
(pattern)
src/ecs-mcp-server/tests/unit/modules/test_resource_management_module.py:18
Method
mock_prompt_decorator
(pattern: str)
src/ecs-mcp-server/tests/unit/modules/test_aws_knowledge_proxy.py:501
Method
mock_prompt_decorator
(pattern: str)
src/ecs-mcp-server/tests/unit/modules/test_aws_knowledge_proxy.py:577
Method
mock_prompt_manager
Create a mock prompt manager.
src/openapi-mcp-server/tests/test_server_coverage_boost_2.py:26
Function
mock_provider
()
src/valkey-mcp-server/tests/test_search_add_documents.py:41
Function
mock_provider
()
src/valkey-mcp-server/tests/test_search_query.py:53
Method
mock_ptc_rules_response
Create a mock response for list_pull_through_cache_rules with usable caches.
src/aws-healthomics-mcp-server/tests/test_create_container_registry_map.py:38
Function
mock_pymssql_connection
Fixture providing a mock pymssql connection.
src/mssql-mcp-server/tests/conftest.py:75
Function
mock_query
(*args, **kwargs)
src/dynamodb-mcp-server/tests/conftest.py:24
Method
mock_query_with_error
(*args, **kwargs)
src/dynamodb-mcp-server/tests/db_analyzer/test_mysql_managed_mode.py:148
Function
mock_rabbitmq_admin
Fixture for mocked RabbitMQ admin.
src/amazon-mq-mcp-server/tests/rabbitmq/conftest.py:31
Function
mock_rabbitmq_connection
Fixture for mocked RabbitMQ connection.
src/amazon-mq-mcp-server/tests/rabbitmq/conftest.py:22
Function
mock_rds_client
Create a mock RDS client with standard responses.
src/mysql-mcp-server/tests/test_cp_api_connection.py:26
Function
mock_rds_client
Create a mock RDS client with proper waiter handling.
src/postgres-mcp-server/tests/test_cp_api_connection.py:91
Method
mock_relpath
Mock os.path.relpath to return relative paths correctly.
src/aws-serverless-mcp-server/tests/test_frontend_uploader.py:208
Method
mock_request
Create a mock HTTP request.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:675
Function
mock_resolve
(hostname, port=443)
src/openapi-mcp-server/tests/test_ssrf_protection.py:558
Function
mock_resource_explorer_client
Mock Resource Explorer client for testing.
src/well-architected-security-mcp-server/tests/conftest.py:41
Function
mock_resources
Mock resources module.
src/s3-tables-mcp-server/tests/test_server.py:67
Method
mock_routes
Mock network routes response.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_simulate_cloud_wan_route_change.py:45
Method
mock_routes_response
Mock routes response.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_routes.py:44
Method
mock_run_query
(sql)
src/dynamodb-mcp-server/tests/db_analyzer/test_mysql_managed_mode.py:167
Function
mock_s3_client
Mock S3 client for testing.
src/well-architected-security-mcp-server/tests/conftest.py:70
Function
mock_s3_client
Create a mock S3 client.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:89
Function
mock_s3_client
Create a mock S3 client instance for testing.
src/aws-dataprocessing-mcp-server/tests/handlers/commons/test_common_resource_handler.py:62
Method
mock_s3_client
Create a mock S3 client.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:51
Function
mock_s3_operations
Mock s3_operations module.
src/s3-tables-mcp-server/tests/test_server.py:126
Function
mock_save_files
(*args, **kwargs)
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:285
Method
mock_save_files
(*args, **kwargs)
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:482
Function
mock_save_files_empty
(*args, **kwargs)
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:383
Function
mock_save_files_success
(*args, **kwargs)
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:421
Function
mock_schema_data
Mock schema data for unit tests - no file I/O needed.
src/dynamodb-mcp-server/tests/repo_generation_tool/conftest.py:132
Function
mock_schemas_client
Create a mock boto3 schemas client.
src/aws-serverless-mcp-server/tests/conftest.py:58
Function
mock_sdk_client
Create a mock BrowserClient from the SDK.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:63
Function
mock_securityhub_client
Mock Security Hub client for testing.
src/well-architected-security-mcp-server/tests/conftest.py:341
Method
mock_send
(request)
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:1035
Function
mock_server
Create a mock server with the necessary attributes.
src/openapi-mcp-server/tests/prompts/test_mcp_prompt_manager_integration.py:23
Function
mock_server
Create a mock MCP server with add_prompt capability.
src/openapi-mcp-server/tests/prompts/test_prompt_message_format.py:36
Function
mock_server
Create a mock server.
src/openapi-mcp-server/tests/prompts/test_mcp_prompt_manager.py:26
Method
mock_service
Fixture for mocking ModelImportService.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_create_model_import_job.py:47
Method
mock_service
Fixture for mocking ImportedModelService.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_delete_imported_model.py:39
Method
mock_service
Fixture for mocking ModelImportService.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_model_import_job.py:45
Method
mock_service
Fixture for mocking ImportedModelService.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_imported_model.py:44
Method
mock_service
Fixture for mocking ImportedModelService.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_list_imported_models.py:43
Method
mock_service
Fixture for mocking ModelImportService.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_list_model_import_jobs.py:44
Method
mock_service_codes_response
Mock service codes response with a variety of AWS services for testing filters.
src/aws-pricing-mcp-server/tests/test_server.py:1535
Method
mock_services
Create mock services for testing.
src/amazon-translate-mcp-server/tests/test_workflow_orchestrator.py:30
Method
mock_services
Create mock services for testing.
src/amazon-translate-mcp-server/tests/test_workflow_features.py:78
Method
mock_session
Create a mock boto3 session.
src/amazon-translate-mcp-server/tests/test_aws_client.py:44
Function
mock_snapshot_manager
Create a mock SnapshotManager.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_management.py:39
Function
mock_snapshot_manager
Create a mock SnapshotManager.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:46
Function
mock_sp_client
Create a mock Savings Plans boto3 client.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:72
Method
mock_start
(**kwargs)
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:570
Method
mock_start
(**kwargs)
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:664
Method
mock_start
(**kwargs)
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:789
Method
mock_start
(**kwargs)
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:518
Function
mock_start_query
(**kwargs)
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_server.py:45
← previous
next →
8,801–8,900 of 32,024, ranked by callers