MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

↓ 2 callersFunction_validate_region
Reject any region that is not a well-formed AWS region token. Raises: ValueError: If region is not a syntactically valid AWS region. This
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/promql_client.py:60
↓ 2 callersFunction_validate_url_sync
Validate + DNS-pin a spec URL from synchronous code. ``validate_url_for_spec`` is async, but ``load_openapi_spec`` is synchronous and may be
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi.py:153
↓ 2 callersMethod_verify_event_result
Verify the event result.
src/eks-mcp-server/tests/test_k8s_apis.py:715
↓ 2 callersFunction_walk
Yield every node in a parse tree (mirrors the guard's own traversal).
src/postgres-mcp-server/tests/test_sql_guard_read_only_corpus.py:291
↓ 2 callersFunction_word_match
Return True if term appears as a whole word in text.
src/roda-mcp-server/awslabs/roda_mcp_server/server.py:281
↓ 2 callersFunction_word_matches
Check if a query word matches any token in the row. Exact match is always checked. For words with 4+ characters, also checks if the word is a
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:578
↓ 2 callersMethod_workspace_id
Stable short identifier for a workspace path, used as the S3 key prefix.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:67
↓ 2 callersMethod_zip_and_upload_source
Zip the workspace and upload to a stable per-workspace S3 key, overwriting any prior upload. Returns (s3_url, zip_size_bytes).
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:87
↓ 2 callersMethod_zip_code
(self, path: str)
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:663
↓ 2 callersMethod_zip_committed_and_upload
Zip the committed state at base_ref using git archive and upload. Returns (s3_url, zip_size_bytes).
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:107
↓ 2 callersMethodadd_public_endpoint_warning
Adds warnings for public endpoints in responses. Args: response: The response to modify Returns: Di
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:388
↓ 2 callersMethodapply_result_limit
Apply result limit using Oracle FETCH FIRST syntax (12c+).
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/db_analyzer/oracle.py:262
↓ 2 callersMethodas_failure
Return a Failure object representing this error.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/errors.py:40
↓ 2 callersFunctionassert_error_result
Assert that a result indicates an error for a given table.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:117
↓ 2 callersFunctionassert_step_is_filtered
Assert a step record has the filtered fields removed and the rest kept.
src/aws-dataprocessing-mcp-server/tests/test_sensitive_data_access.py:87
↓ 2 callersFunctionassert_test_results
Assert test results meet expectations.
testing/pytest_utils.py:233
↓ 2 callersFunctionassume_role_with_identity_context
Assume an IAM role using the identity context from the token. This tool calls the AssumeRole API with the identity context extracted from the tok
src/amazon-qindex-mcp-server/awslabs/amazon_qindex_mcp_server/server.py:248
↓ 2 callersMethodbatch_get_code_review_jobs
Get status of code review jobs.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:184
↓ 2 callersMethodbatch_get_findings
Get detailed findings by ID.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:215
↓ 2 callersMethodbatch_get_threat_model_jobs
Get status of threat model jobs.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:250
↓ 2 callersMethodbatch_get_threats
Get detailed threats by ID.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:271
↓ 2 callersFunctionbatch_put_asset_property_value
Send a list of asset property values to AWS IoT SiteWise. Args: entries: The list of asset property value entries to send to AWS IoT
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_data.py:341
↓ 2 callersFunctionblank_string_literals
r"""Replace the CONTENTS of string literals with a space. A mutating keyword inside a string literal is data, never an executable statement (
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/mutable_sql_detector.py:605
↓ 2 callersMethodbrowser_navigate_forward
Navigate forward in browser history. Returns an accessibility tree snapshot of the next page.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/navigation.py:163
↓ 2 callersFunctionbudget_actions
Reads AWS Budgets enforcement actions. Routes by ``budget_name``: DescribeBudgetActionsForBudget when a name is given, otherwise the account-
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/budget_tools.py:121
↓ 2 callersFunctionbudget_notifications
Reads the notifications configured on AWS Budgets. Routes by ``budget_name``: DescribeNotificationsForBudget when a name is given, otherwise
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/budget_tools.py:178
↓ 2 callersFunctionbuild_analysis_report
Build analysis completion report.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/db_analyzer/analyzer_utils.py:326
↓ 2 callersFunctionbuild_and_deploy_application
Build and deploy the application using SAM CLI. Args: project_root: Project root directory configuration: Deployment configuratio
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/utils/deploy_service.py:252
↓ 2 callersFunctionbuild_create_agent_runtime_kwargs
Return the ``bedrock-agentcore-control:CreateAgentRuntime`` kwargs for ``config``. This is a pure function so the exact request shape can be vali
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:318
↓ 2 callersFunctionbuild_imported_model_details_context
Provide LLM context for imported model details. Args: model: The imported model details Returns: str: Markdown-formatted con
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/llm_context.py:144
↓ 2 callersFunctionbuild_list_imported_models_context
Provide LLM context for imported models. Args: response: The list imported models response Returns: str: Markdown-formatted
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/llm_context.py:59
↓ 2 callersFunctionbuild_list_model_import_jobs_context
Provide LLM context for model import jobs. Args: response: The list model import jobs response Returns: str: Markdown-format
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/llm_context.py:27
↓ 2 callersMethodbuild_pk_for_lookup
Build partition key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_analytics/base_repository.py:72
↓ 2 callersFunctionbuild_selector
Build a quoted-label selector: ``{"metric","key"="val",...}``. The metric name is emitted as a bare quoted string (the ``__name__`` shorthand);
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/promql_query.py:61
↓ 2 callersMethodbuild_sk_for_lookup
Build sort key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_analytics/base_repository.py:80
↓ 2 callersFunctionbuild_timeout_data
Build the standard timeout response dict with retry guidance.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/chat/_common.py:145
↓ 2 callersFunctionbulk_update_patient_metadata
Update patient metadata across all studies for a patient.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/server.py:653
↓ 2 callersFunctioncache_delete_many
Delete multiple values from the cache. Args: keys: List of keys to delete Returns: Success message or error message
src/memcached-mcp-server/awslabs/memcached_mcp_server/tools/cache.py:306
↓ 2 callersFunctioncache_set_many
Set multiple values in the cache. Args: mapping: Dictionary of key-value pairs expire: Optional expiration time in seconds R
src/memcached-mcp-server/awslabs/memcached_mcp_server/tools/cache.py:149
↓ 2 callersMethodcall_tool
Call a specific tool with given arguments.
testing/mcp_test_client.py:97
↓ 2 callersMethodcell_value
Unwrap a single Redshift Data API result cell to a Python scalar.
src/redshift-mcp-server/awslabs/redshift_mcp_server/models.py:34
↓ 2 callersMethodcheck_connection_health
Check test connection health.
src/mysql-mcp-server/tests/test_abstract_db_connection.py:41
↓ 2 callersFunctioncheck_elicitation_support
Check if the context supports elicitation.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/security/policy.py:32
↓ 2 callersFunctioncheck_network_security_prompt
Provides guidance on checking AWS network resources for proper in-transit security configuration. This prompt explains the recommended workflow f
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/server.py:998
↓ 2 callersFunctioncheck_storage_security_prompt
Provides guidance on checking AWS storage resources for proper encryption and security configuration. This prompt explains the recommended workfl
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/server.py:851
↓ 2 callersMethodcleanup_expired_cache_entries
Clean up expired cache entries to prevent memory leaks.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:1101
↓ 2 callersMethodclear
Clear all entries from the cache.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/cache_provider.py:65
↓ 2 callersFunctionclear_clients
Clear all cached client instances. Called during server shutdown. Does not stop active sessions — sessions expire via their configured timeou
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/code_interpreter/client.py:134
↓ 2 callersFunctionclear_knowledge_base_type_cache
Clear the cache. Intended for tests.
src/bedrock-kb-retrieval-mcp-server/awslabs/bedrock_kb_retrieval_mcp_server/knowledgebases/kb_types.py:57
↓ 2 callersFunctionclient
Create a GLIDE client connected to $VALKEY_HOST. One per test. Skips the test if VALKEY_HOST is not set.
src/valkey-mcp-server/tests/conftest.py:25
↓ 2 callersMethodclient
Create HealthLakeClient instance.
src/healthlake-mcp-server/tests/test_fhir_error_scenarios.py:18
↓ 2 callersMethodclose
Close the database connection.
src/oracle-mcp-server/awslabs/oracle_mcp_server/connection/abstract_db_connection.py:58
↓ 2 callersMethodclose
Close test connection.
src/mysql-mcp-server/tests/test_abstract_db_connection.py:37
↓ 2 callersMethodclose
Close the database connection asynchronously.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/rds_api_connection.py:146
↓ 2 callersMethodclose_all
Close all connections and clear the map.
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/db_connection_map.py:291
↓ 2 callersMethodclose_all_connections
Close all open connections.
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/connection_tools.py:139
↓ 2 callersFunctioncollect_regional_pages
Execute regional list workers and merge their items and pagination state.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/regional_fanout.py:133
↓ 2 callersFunctioncollect_service_details
Collect ECS service details for specific service or all services in cluster. Parameters ---------- cluster_name : str The na
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/get_ecs_troubleshooting_guidance.py:281
↓ 2 callersFunctionconfigure_server_secret_for_cluster
Pin the cluster's managed secret in server.configured_secret_arns. Under the per-target override map, this isn't strictly required — internal
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:713
↓ 2 callersMethodconnect
Connect to the MCP server and initialize the connection.
testing/mcp_test_client.py:37
↓ 2 callersFunctionconnect_to_database
Connect to a specific database save the connection internally. Args: region: region of the database. Required parameter. database
src/mysql-mcp-server/awslabs/mysql_mcp_server/server.py:285
↓ 2 callersMethodconnection
Get a connection from the pool asynchronously. Args: timeout: Timeout in seconds Returns: ConnectionContext:
src/postgres-mcp-server/tests/conftest.py:340
↓ 2 callersMethodcount_documents
Mock count_documents operation that applies the filter. Args: filter: Query filter Returns: int: Count of do
src/documentdb-mcp-server/tests/conftest.py:589
↓ 2 callersMethodcreate
Create a new entity with optimistic locking (prevents overwrites) Note: Uses exclude_none=True to support sparse GSIs. Fields with None
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_registration/base_repository.py:111
↓ 2 callersFunctioncreate_anomaly_detection_model
Create an anomaly detection computation model in AWS IoT SiteWise. Anomaly detection computation models enable you to automatically detect unusua
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_computation_models.py:229
↓ 2 callersFunctioncreate_apigateway_client
Build an API Gateway (REST) client for live provisioning/teardown. Only for live callers; never invoked at import and never in unit tests, which
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:420
↓ 2 callersFunctioncreate_buffered_ingestion_job
Create a buffered ingestion job to ingest data from Amazon S3 to AWS IoT SiteWise. This is a convenience function that calls create_bulk_import_j
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_data.py:268
↓ 2 callersFunctioncreate_bulk_import_iam_role
Create an IAM role for AWS IoT SiteWise bulk import jobs.
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_data.py:1361
↓ 2 callersFunctioncreate_client_error
Create a mock ClientError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:77
↓ 2 callersFunctioncreate_cluster_worker
Background worker to create a cluster asynchronously.
src/mysql-mcp-server/awslabs/mysql_mcp_server/server.py:539
↓ 2 callersFunctioncreate_configuration_override
Create configuration for AmazonMQ broker.
src/amazon-mq-mcp-server/awslabs/amazon_mq_mcp_server/server.py:87
↓ 2 callersMethodcreate_database
Create an Athena database if it doesn't exist. Args: database_name: Name of the database to create output_location: S
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/storage_lens_tools.py:346
↓ 2 callersFunctioncreate_datastore
Create a new data store in AWS HealthImaging.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/server.py:173
↓ 2 callersMethodcreate_email_lookup
Create a new email_lookup
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_registration/repositories.py:42
↓ 2 callersFunctioncreate_file_open_mock
Create a mock open function that only mocks specific files.
src/aws-api-mcp-server/tests/fixtures.py:257
↓ 2 callersFunctioncreate_genomics_file_from_s3_object
Create a GenomicsFile instance from an S3 object dictionary. Args: bucket: S3 bucket name s3_object: S3 object dictionary from li
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/models/search.py:513
↓ 2 callersMethodcreate_metric_queries
Creates CloudWatch metric queries for each SLO.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/sli_report_client.py:231
↓ 2 callersFunctioncreate_metrics_provider
Create a metrics provider based on configuration.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/metrics_provider.py:442
↓ 2 callersFunctioncreate_mock_cluster_response
Create a mock RDS cluster response.
src/postgres-mcp-server/tests/test_cp_api_connection.py:22
↓ 2 callersFunctioncreate_mock_connection
Create a mock connection with cursor context manager.
src/aurora-dsql-mcp-server/tests/test_connection_reuse.py:18
↓ 2 callersFunctioncreate_mock_ecs_client
Create a properly configured mock ECS client. Returns ------- mock.AsyncMock Configured mock ECS client with common methods
src/ecs-mcp-server/tests/unit/utils/async_test_utils.py:43
↓ 2 callersFunctioncreate_mock_query_knowledge_base
Create a proper mock for query_knowledge_base that accepts Field objects.
src/bedrock-kb-retrieval-mcp-server/tests/test_env_config.py:23
↓ 2 callersMethodcreate_model_import_job
Create a model import job to import a model into Amazon Bedrock. This tool creates a model import job in Amazon Bedrock to import a custom mo
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/tools/create_model_import_job.py:58
↓ 2 callersMethodcreate_organization
Create a new organization
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/saas/repositories.py:27
↓ 2 callersMethodcreate_project
Create a new project
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/saas/repositories.py:372
↓ 2 callersFunctioncreate_s3_file_from_object
Create an S3File instance from an S3 object dictionary. Args: bucket: S3 bucket name s3_object: S3 object dictionary from list_ob
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/models/s3.py:302
↓ 2 callersFunctioncreate_server
Create and configure the MCP server instance.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/server.py:126
↓ 2 callersFunctioncreate_server
Create and configure the MCP server instance.
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/server.py:285
↓ 2 callersMethodcreate_session
Create a new session. Args: session_data: Optional initial session data Returns: The session ID
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/session.py:125
↓ 2 callersFunctioncreate_sparse_data
Create sparse data with specified density ratio.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_utils.py:70
↓ 2 callersMethodcreate_table_for_csv
Create an Athena table for CSV data. Args: database_name: Name of the database table_name: Name of the table to creat
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/storage_lens_tools.py:356
↓ 2 callersMethodcreate_table_for_parquet
Create an Athena table for Parquet data. Args: database_name: Name of the database table_name: Name of the table to c
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/storage_lens_tools.py:390
↓ 2 callersFunctioncreate_test_config
Helper function to create test configuration.
testing/pytest_utils.py:145
↓ 2 callersMethodcreate_user
Create a new user
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/deals/repositories.py:173
↓ 2 callersMethodcreate_user
Create a new user
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_registration/repositories.py:15
↓ 2 callersFunctioncreate_violation
(rule_id, resource, resource_type, message)
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/tools/cloudformation_compliance_checker.py:244
↓ 2 callersMethodcursor
Return the mock cursor.
src/oracle-mcp-server/tests/conftest.py:39
↓ 2 callersMethoddelete
Generic delete operation
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_analytics/base_repository.py:212
↓ 2 callersMethoddelete_agent_runtime_endpoint
Delete a runtime endpoint. Cannot delete the DEFAULT endpoint. This operation cannot be undone.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/runtime/endpoints.py:176
↓ 2 callersFunctiondelete_datastore
Delete a data store from AWS HealthImaging.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/server.py:188
← previousnext →3,701–3,800 of 32,024, ranked by callers