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
↓ 6 callers
Function
handle_template_details
Retrieve detailed information about a specified deployment template. Args: template_name (str): The name of the template to retrieve deta
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/resources/template_details.py:24
↓ 6 callers
Function
handle_validation_error
Handle Pydantic ValidationError exceptions. Args: ctx: The MCP context e: The ValidationError exception operation: The op
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/errors.py:53
↓ 6 callers
Function
handle_web_search_error
Convert an exception into a structured ErrorResponse. Extracts error code, message, and HTTP status from botocore ClientError. For Validation
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/web_search/error_handler.py:28
↓ 6 callers
Method
holding
Hold a transaction's lock for the statement about to run on it. Acquiring and validating in one step, because they are one step: a caller tha
src/redshift-mcp-server/awslabs/redshift_mcp_server/transactions.py:241
↓ 6 callers
Function
import_terminology
Import terminology from a file (CSV or TMX format). Supports importing terminology data from external files for consistent translations.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/server.py:705
↓ 6 callers
Function
initialize_deployment_status
Initialize deployment metadata for a new deployment. Args: project_name: Name of the project deployment_type: Type of deployment
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/utils/deployment_manager.py:46
↓ 6 callers
Function
insert
Insert one or more documents into a DocumentDB collection. This tool inserts new documents into a specified collection. Returns: Dic
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/write_tools.py:24
↓ 6 callers
Function
insert_data
Insert data into a table. Args: cursor: SQLite cursor table_name: Name of the table data: List of rows to insert Ret
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:274
↓ 6 callers
Method
instant_query
Run a PromQL instant query; each returned series has one sample.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/client.py:241
↓ 6 callers
Function
internal_get_instance_properties
Retrieve RDS instance properties from AWS.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/cp_api_connection.py:576
↓ 6 callers
Function
invoke_standard_state_machine_impl
Execute a Standard state machine using StartExecution and poll for completion.
src/stepfunctions-tool-mcp-server/awslabs/stepfunctions_tool_mcp_server/server.py:107
↓ 6 callers
Function
is_auth_type_available
Check if an authentication type is available. Args: auth_type: The authentication type to check Returns: bool: True if avail
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_factory.py:127
↓ 6 callers
Function
is_connection_method_supported
Return True iff the (engine, method) pair is supported. Centralising this lookup keeps server.py free of nested if/else chains and makes the
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/db_connection_map.py:91
↓ 6 callers
Function
is_managed_knowledge_base
Return True/False for managed, or None when the type is unknown.
src/bedrock-kb-retrieval-mcp-server/awslabs/bedrock_kb_retrieval_mcp_server/knowledgebases/kb_types.py:92
↓ 6 callers
Function
is_mutative_action_allowed
Check if the SQS resource being mutated is tagged with mcp_server_version.
src/amazon-sns-sqs-mcp-server/awslabs/amazon_sns_sqs_mcp_server/sqs.py:61
↓ 6 callers
Method
is_terminology_supported
Check if custom terminology is supported for a language pair. Args: source_language: Source language code target_lang
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/language_operations.py:326
↓ 6 callers
Function
json_arrappend
Append values to a JSON array at a path. Args: key: Valkey key name values: Values to append to the array path: JSONPath
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/json.py:152
↓ 6 callers
Method
level
Return the breakpoint granularity (line-level or function-level).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/location.py:100
↓ 6 callers
Function
list_actions
List actions for a specific target resource in AWS IoT SiteWise. Retrieves a paginated list of actions associated with a specific target resource
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_executions.py:137
↓ 6 callers
Method
list_applications
List all SAP applications registered with AWS Systems Manager for SAP. Returns a list of all SAP applications (HANA and SAP_ABAP) in the spec
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_applications/tools.py:60
↓ 6 callers
Function
list_bulk_import_jobs
List bulk import jobs in AWS IoT SiteWise. This function retrieves a paginated list of bulk import job summaries with optional filtering by j
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_data.py:871
↓ 6 callers
Function
list_clusters_tool
List Redshift clusters and serverless workgroups. Returns one entry per cluster: identifier, type (provisioned or serverless), status, databa
src/redshift-mcp-server/awslabs/redshift_mcp_server/server.py:498
↓ 6 callers
Function
list_computation_model_data_binding_usages
Find computation models that use a given resource in data binding. This API helps you find computation models which are bound to a given resource
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_computation_models.py:759
↓ 6 callers
Function
list_computation_model_resolve_to_resources
List computation model resolve to resources in AWS IoT SiteWise. Retrieves a paginated list of resources that a computation model resolves to.
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_computation_models.py:879
↓ 6 callers
Function
list_computation_models
List computation models in AWS IoT SiteWise. Retrieves a paginated list of computation models in your AWS account. You can filter by computat
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_computation_models.py:470
↓ 6 callers
Method
list_connections
List connections in the AWS Glue Data Catalog. Retrieves a list of connections with their basic properties. Supports pagination throu
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/core/glue_data_catalog/data_catalog_handler.py:346
↓ 6 callers
Function
list_custom_line_items
List custom line items from AWS Billing Conductor. Args: ctx: The MCP context object. billing_period: Optional billing period in
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:570
↓ 6 callers
Function
list_deployments
List all deployments by combining metadata and CloudFormation status. Args: limit: Maximum number of deployments to return sort_b
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/utils/deployment_manager.py:221
↓ 6 callers
Function
list_executions
List executions for a specific target resource in AWS IoT SiteWise. Retrieves a paginated list of executions that occurred after performing execu
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_executions.py:669
↓ 6 callers
Function
list_resources
List AWS resources of a specified type. Parameters: resource_type: The AWS resource type (e.g., "AWS::S3::Bucket", "AWS::RDS::DBInstance"
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/server.py:161
↓ 6 callers
Function
list_run_tasks
List tasks for a specific run. Args: ctx: MCP context for error reporting run_id: ID of the run max_results: Maximum numb
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_execution.py:748
↓ 6 callers
Function
list_table_buckets_resource
List all S3 Tables buckets. Lists table buckets for your account. Requires s3tables:ListTableBuckets permission. The API supports pagination
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/resources.py:92
↓ 6 callers
Method
list_tables
List all tables in a keyspace.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/services.py:91
↓ 6 callers
Function
list_tgw_peerings
List all Transit Gateway peerings. Use this tool when: - Investigating connectivity between Transit Gateways in different regions or accounts
src/aws-network-mcp-server/awslabs/aws_network_mcp_server/tools/transit_gateway/list_transit_gateway_peerings.py:21
↓ 6 callers
Function
main
Main entry point for the AWS API MCP server.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/server.py:430
↓ 6 callers
Function
main
Main entry point for the server.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/main.py:48
↓ 6 callers
Function
main
Run the MCP server with CLI argument support.
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/server.py:87
↓ 6 callers
Function
main
Run the MCP server with CLI argument support.
src/prometheus-mcp-server/awslabs/prometheus_mcp_server/server.py:1055
↓ 6 callers
Function
main
Entry point for the AWS Serverless MCP server. This function is called when the `awslabs.aws-serverless-mcp-server` command is run. It starts
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/server.py:281
↓ 6 callers
Function
main
Run the MCP server with CLI argument support.
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/server.py:151
↓ 6 callers
Function
modify_replication_group_shard_configuration
Modify the shard configuration of an existing Amazon ElastiCache replication group. This tool modifies the shard configuration of an existing rep
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/rg/modify.py:29
↓ 6 callers
Function
normalize_service_entity
Normalize service entity structure.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_audit_utils.py:87
↓ 6 callers
Function
normalize_transport
Normalize a raw transport value to a supported transport mode. Surrounding whitespace is trimmed and the result is matched case-sensitively a
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:118
↓ 6 callers
Method
open_session
Open and initialize an MCP session over streamable-http. Establishes the transport and initializes the session within ``connect_timeout_s``
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:151
↓ 6 callers
Function
optimize_waypoints
Optimize the order of waypoints using Amazon Location Service geo-routes optimize_waypoints API (V2). Returns summary (optimized order, total dis
src/aws-location-mcp-server/awslabs/aws_location_server/server.py:765
↓ 6 callers
Function
parse_metrics
Parse a Cost Explorer ``metrics`` argument into a list of metric names. Args: metrics: Metric names, as a list or a JSON array string
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:267
↓ 6 callers
Function
parse_recommendation_results
Parse recommendation API response into RecommendationResult objects. Args: data: Raw API response data Returns: List of reco
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/util.py:545
↓ 6 callers
Function
parse_registry_source
Select the registry source backend named by an ``MCP_JWT_ROLE_REGISTRY`` value. The value names exactly one backend by URI scheme (Requirement 3.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/mechanisms/role_resolver.py:398
↓ 6 callers
Function
parse_suricata_rule
Parse a Suricata rule string into structured format.
src/aws-network-mcp-server/awslabs/aws_network_mcp_server/utils/formatters.py:85
↓ 6 callers
Function
push_image
Push an image to a repository, replacing the tag with the image hash. Args: image: The image to push Returns: Result of the
src/finch-mcp-server/awslabs/finch_mcp_server/utils/push.py:93
↓ 6 callers
Function
query_database_resource
Execute a read-only query against a database using PyIceberg.
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/database.py:88
↓ 6 callers
Method
query_opencypher
Executes an openCypher query against the Neptune database. Args: query (str): The openCypher query string to execute
src/amazon-neptune-mcp-server/awslabs/amazon_neptune_mcp_server/graph_store/database.py:286
↓ 6 callers
Method
read_content
(self)
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/types.py:225
↓ 6 callers
Method
record_api_call
Record metrics for an API call.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/metrics_provider.py:123
↓ 6 callers
Function
redact_unless_sensitive_data_allowed
Applies the ALLOW_SENSITIVE_DATA policy to an ECS API response or fragment. Returns the data unchanged when sensitive data access is enabled
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:243
↓ 6 callers
Function
ref_not_found_msg
Format a user-friendly error for a missing element ref.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/error_handler.py:73
↓ 6 callers
Method
register
Register all health tools with the MCP server.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:2461
↓ 6 callers
Function
register_auth_provider
Register an authentication provider. Args: auth_type: The authentication type identifier provider_class: The provider class to re
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_factory.py:30
↓ 6 callers
Function
remove_null_values
Return a new dictionary with the key-value pair of any null value removed.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/common.py:20
↓ 6 callers
Function
render_template
Render a template with the given parameters. Args: request: Deployment request parameters Returns: str: Rendered template as
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/template/renderer.py:67
↓ 6 callers
Function
resolve_access_mode
Resolve the access mode from the environment, failing closed to read-only. Anything other than a supported mode falls back to `ACCESS_MODE_DEFAUL
src/redshift-mcp-server/awslabs/redshift_mcp_server/settings.py:111
↓ 6 callers
Function
resolve_run
Resolve a run into the context needed for metrics queries. Calls GetRun and paginates ListRunTasks with the caller's credentials. Args:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/run_context.py:145
↓ 6 callers
Function
reverse_geocode
Reverse geocode coordinates to an address using Amazon Location Service geo-places reverse_geocode API.
src/aws-location-mcp-server/awslabs/aws_location_server/server.py:345
↓ 6 callers
Method
run
Run server with appropriate transport.
src/memcached-mcp-server/awslabs/memcached_mcp_server/main.py:39
↓ 6 callers
Method
run_ddl
Run a DDL statement and wait for it to finish, so the next statement sees its effect. Args: query: DDL statement to execute
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/storage_lens_tools.py:704
↓ 6 callers
Function
sanitize_tool_name
Sanitize a Lambda function name to be used as a tool name.
src/lambda-tool-mcp-server/awslabs/lambda_tool_mcp_server/server.py:80
↓ 6 callers
Method
search_buckets
Search for genomics files across multiple S3 bucket paths with result caching. Args: bucket_paths: List of S3 bucket paths to sea
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:148
↓ 6 callers
Function
search_documentation
Search AWS documentation. Args: search_phrase: The search query. topic: The topic to search within. limit: Maximum number
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/client/aws_knowledge_client.py:35
↓ 6 callers
Method
search_relevant_content
Search for relevant content in a Q Business application. Args: application_id (str): The unique identifier of the application
src/amazon-qindex-mcp-server/awslabs/amazon_qindex_mcp_server/clients.py:249
↓ 6 callers
Method
search_sequence_stores_paginated
Search for genomics files in HealthOmics sequence stores with pagination. This method implements efficient pagination by: 1. Using na
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:121
↓ 6 callers
Method
set
Set a value in session data.
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/mcp_lambda_handler.py:70
↓ 6 callers
Method
setUp
Reset logging configuration before each test.
src/amazon-translate-mcp-server/tests/test_logging_config.py:191
↓ 6 callers
Method
set_code_review_id
Store code review ID for a workspace path.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:171
↓ 6 callers
Function
sp_purchase_analyzer
Tool that runs AWS Savings Plans Purchase Analyzer what-if analyses. Args: ctx: The MCP context object operation: The operation t
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/sp_purchase_analyzer_tools.py:96
↓ 6 callers
Function
sp_recommendation
Tool that retrieves AWS Savings Plans purchase recommendations. Args: ctx: The MCP context object operation: The operation to per
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/sp_recommendation_tools.py:99
↓ 6 callers
Function
start_threat_model_review
Start a threat model review — analyzes source code guided by design/requirement specs. Uploads the source directory and the provided spec documen
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/server.py:490
↓ 6 callers
Method
stop_translation_job
Stop a running translation job. Args: job_id: ID of the job to stop Returns: Updated job status after stoppi
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:381
↓ 6 callers
Function
stop_vm
Stop a running Finch VM. This function runs 'finch vm stop' to shut down a running VM. If force is True, it adds the '--force' flag to forcef
src/finch-mcp-server/awslabs/finch_mcp_server/utils/vm.py:163
↓ 6 callers
Method
strftime
(self, fmt)
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:331
↓ 6 callers
Function
teardown
Delete every resource in ``inventory`` through ``deleter`` and report the outcome. Teardown iterates the inventory in recorded order and attempts
src/aws-healthomics-mcp-server/integration/deploy/common.py:418
↓ 6 callers
Function
test_function
()
src/aws-appsync-mcp-server/tests/test_write_operation.py:32
↓ 6 callers
Function
test_migration
Test migration to an Amazon ElastiCache replication group. This tool tests migration from a Redis instance to an ElastiCache replication group.
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/rg/test_migration.py:116
↓ 6 callers
Method
to_error_response
Convert exception to error response with retry_after.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/models.py:571
↓ 6 callers
Method
to_identifier
Return the CodeLocation lookup identifier payload.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/location.py:133
↓ 6 callers
Function
to_parse_placeholders
Rewrite ``:name`` to ``$1`` so the SQL can be parsed for classification. ``$1`` occupies a value position, so it never changes the statement type
src/postgres-mcp-server/awslabs/postgres_mcp_server/named_params.py:51
↓ 6 callers
Method
tool
Fixture for creating a GetImportedModel instance.
src/aws-bedrock-custom-model-import-mcp-server/tests/tools/test_get_imported_model.py:51
↓ 6 callers
Method
update
Update an existing entity with optimistic locking (prevents lost updates) Note: Uses PutItem with exclude_none=True to support sparse GSIs. T
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/deals/base_repository.py:168
↓ 6 callers
Method
update
Update an existing entity with optimistic locking (prevents lost updates) Note: Uses PutItem with exclude_none=True to support sparse GSIs. T
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/package_delivery/base_repository.py:168
↓ 6 callers
Method
update_agent_runtime
Update an AgentCore Runtime, creating a new immutable version. The DEFAULT endpoint automatically points to the new version. Custom e
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/runtime/lifecycle.py:263
↓ 6 callers
Method
update_partition
Update an existing partition in the AWS Glue Data Catalog. Updates the properties of the specified partition if it exists and is managed
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/core/glue_data_catalog/data_catalog_handler.py:1511
↓ 6 callers
Method
update_schedule_state
Enable or disable an EventBridge Scheduler schedule. Args: ctx: MCP context object. schedule_name: The schedule name.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_scheduling/tools.py:668
↓ 6 callers
Function
upload_to_s3
Upload directory contents to S3 bucket using boto3. Args: source_path: Path to the directory to upload bucket_name: Name of the S
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/utils/frontend_uploader.py:71
↓ 6 callers
Method
upload_to_s3
Upload Python code content directly to an S3 bucket using putObject. This tool uploads Python code content directly to an S3 bucket, commonly
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/commons/common_resource_handler.py:851
↓ 6 callers
Method
validate
Validate AWS credentials. Args: region: AWS region to use profile: AWS profile to use (optional) Returns:
src/prometheus-mcp-server/awslabs/prometheus_mcp_server/server.py:94
↓ 6 callers
Function
validate_batch_size
Validate batch operation size. Args: size: Batch size to validate max_size: Maximum allowed batch size Returns: Vali
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/security_validators.py:436
↓ 6 callers
Function
validate_client_token
Validate client token constraints. Args: token: The client token to validate field_name: Name of the field for error messages
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:551
↓ 6 callers
Function
validate_container_registry_params
Validate container registry parameters. When a container_registry_map is provided, upstreamRepositoryPrefix and ecrAccountId are not required
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:402
↓ 6 callers
Function
validate_enum_field
Validate that a field value matches an enum.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/schema_definitions.py:338
↓ 6 callers
Function
validate_fhir_resource_id
Validate a FHIR resource id per FHIR R4 ([A-Za-z0-9.-]{1,64}).
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:152
↓ 6 callers
Function
validate_function_name
Validate that the function name is valid and can be called.
src/lambda-tool-mcp-server/awslabs/lambda_tool_mcp_server/server.py:68
← previous
next →
1,901–2,000 of 35,417, ranked by callers