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
↓ 9 callers
Function
get_usage_forecast
Get usage forecast. Args: ctx: MCP context ce_client: AWS Cost Explorer client metric: Usage metric to forecast s
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_explorer_operations.py:446
↓ 9 callers
Function
handler
Create a JobHandler with a mock MCP server.
src/aws-transform-mcp-server/tests/test_job.py:27
↓ 9 callers
Method
has_multi_partition_keys
Return True if GSI has multiple partition key attributes.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:81
↓ 9 callers
Method
initialize_pool
Initialize the Oracle connection pool.
src/oracle-mcp-server/awslabs/oracle_mcp_server/connection/oracledb_pool_connection.py:107
↓ 9 callers
Function
internal_delete_cluster
Delete an existing Amazon RDS (Aurora) cluster. Args: region: AWS region where the cluster is located cluster_id: The DB cluster
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/cp_api_connection.py:775
↓ 9 callers
Function
interpret_command
Interpret the given CLI command and return an interpretation response.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/service.py:189
↓ 9 callers
Function
invoke_lambda_function_impl
Tool that invokes an AWS Lambda function with a JSON payload.
src/lambda-tool-mcp-server/awslabs/lambda_tool_mcp_server/server.py:107
↓ 9 callers
Method
is_configured
Check if the authentication provider is properly configured.
src/openapi-mcp-server/tests/auth/test_auth_factory.py:50
↓ 9 callers
Method
is_read_only_query
Check if SQL is a read-only query. This method determines if a query is safe to execute in read-only mode. It uses a whitelist approa
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/sql_analyzer.py:184
↓ 9 callers
Function
list_billing_groups
List billing groups from AWS Billing Conductor. Args: ctx: The MCP context object. billing_period: Optional billing period in YYY
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:46
↓ 9 callers
Function
list_canaries
List all CloudWatch Synthetics canaries in the account. Use this tool to discover canaries before analyzing them with analyze_canary_failures().
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/server.py:1625
↓ 9 callers
Function
list_grouping_attribute_definitions
GROUPING CONFIGURATION TOOL - List all custom grouping attribute definitions. Use this tool when users ask: - "What grouping attributes are c
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/group_tools.py:1193
↓ 9 callers
Function
list_invoice_units
List AWS invoice unit definitions for the caller's organization. Retrieves the invoice units (groups of accounts that receive a separate invo
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/invoice_units_operations.py:50
↓ 9 callers
Method
list_prompts
List all available prompts.
testing/mcp_test_client.py:127
↓ 9 callers
Function
list_slos
List all Service Level Objectives (SLOs) in Application Signals. Use this tool to: - Get a complete list of all SLOs in your account - Di
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/slo_tools.py:278
↓ 9 callers
Function
list_workflows
List available HealthOmics workflows. Args: ctx: MCP context for error reporting max_results: Maximum number of results to return
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_management.py:53
↓ 9 callers
Function
main
Run the Finch MCP server. Args: enable_aws_resource_write (bool, optional): Whether to enable AWS resource creation/modification. Default
src/finch-mcp-server/awslabs/finch_mcp_server/server.py:498
↓ 9 callers
Method
match_file_path
Match patterns against file path components. Args: file_path: Full file path to match against patterns: List of searc
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/pattern_matcher.py:82
↓ 9 callers
Method
message
Join a substitution note and any reasons into one sentence run.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_utils.py:107
↓ 9 callers
Method
of
Build from a completed response, stripping query parameters from both URLs.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_utils.py:103
↓ 9 callers
Function
parse_execute_response
Convert RDS Data API execute_statement response to list of rows.
src/postgres-mcp-server/awslabs/postgres_mcp_server/server.py:145
↓ 9 callers
Function
parse_id_list
Parse an ID list from a JSON string, a plain string, or a native list. MCP clients may send list parameters as a JSON string, a single scalar val
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:130
↓ 9 callers
Method
put_role_policy
(self, *, RoleName, PolicyName, PolicyDocument)
src/aws-healthomics-mcp-server/integration/harness_tests/test_iam_provisioning.py:66
↓ 9 callers
Function
query_service_metrics
Get CloudWatch metrics for a specific Application Signals service. Use this tool to: - Analyze service performance (latency, throughput)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_tools.py:168
↓ 9 callers
Method
remove
Remove a database connection from the map.
src/oracle-mcp-server/awslabs/oracle_mcp_server/connection/db_connection_map.py:99
↓ 9 callers
Method
retry
Execute function with retry logic. Args: func: Function to execute *args: Positional arguments for function
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/retry_handler.py:152
↓ 9 callers
Method
sanitize
Sanitizes a response to remove sensitive information. Args: response: The response to sanitize tool_name: Na
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:325
↓ 9 callers
Method
scrub_dict
Scrub sensitive data from a dictionary. Args: data: The dictionary to scrub deep_copy: Whether to create a deep copy
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/utils/data_scrubber.py:130
↓ 9 callers
Method
search_paginated
Coordinate paginated searches across multiple storage systems with ranking-aware pagination. This method implements: 1. Multi-storage
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:233
↓ 9 callers
Method
start_threat_model_review
Run a threat model review — analyzes source code guided by design/requirement specs. Uploads the current repo (overwriting prior uploads) and
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:387
↓ 9 callers
Function
summarize_series
Compute summary statistics for a series. Counter series are cumulative monotonic sums (raw totals since container/mount start), so the meanin
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/client.py:91
↓ 9 callers
Function
to_psycopg_placeholders
Rewrite ``:name`` to psycopg's ``%(name)s`` binding syntax. Args: sql: The statement text as supplied by the caller. Returns:
src/postgres-mcp-server/awslabs/postgres_mcp_server/named_params.py:69
↓ 9 callers
Function
to_snake_case
Convert CamelCase to snake_case. Also handles hyphens by replacing them with underscores. Examples: - 'CamelCase' -> 'camel_case'
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/utils.py:23
↓ 9 callers
Method
upload_to_s3
Upload a file to S3, rejecting the write if the bucket is owned by another account.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:412
↓ 9 callers
Function
validate_adhoc_s3_buckets
Validate adhoc S3 bucket paths and check access permissions. This function validates bucket path formats and tests access permissions for adh
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:416
↓ 9 callers
Function
validate_and_normalize_s3_path
Validate and normalize an S3 path. Args: s3_path: S3 path to validate Returns: Normalized S3 path with trailing slash R
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/s3_utils.py:99
↓ 9 callers
Method
validate_aws_parameters
Validate AWS parameters for policy generation.
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/templates/iam_policies.py:230
↓ 9 callers
Function
validate_control_characters
Validate that string doesn't contain control characters. Args: value: The string to validate field_name: Name of the field for er
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:127
↓ 9 callers
Function
validate_path_to_main
Validate that path_to_main is a safe relative path within the ZIP file. Args: ctx: MCP context for error reporting path_to_main:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:656
↓ 9 callers
Method
validate_schema_file
Load and validate schema file. Args: schema_path: Path to schema.json file Returns: ValidationResult with er
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/schema_validator.py:82
↓ 9 callers
Function
validate_spec_path
Validate a file path is safe to read as an OpenAPI spec. Resolves symlinks and traversal sequences, then checks the canonical path against al
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/url_validator.py:98
↓ 8 callers
Method
__init__
Initialize the batch job error. Args: message: Error message job_id: Batch job identifier details: Additi
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/models.py:534
↓ 8 callers
Function
_add_ecs_guidance_to_knowledge_tools
Add ECS documentation guidance to allowlisted knowledge tools.
src/ecs-mcp-server/awslabs/ecs_mcp_server/modules/aws_knowledge_proxy.py:111
↓ 8 callers
Method
_analyze_job_errors
Analyze failed batch translation job by checking S3 details folder for error information. Args: job_id: The failed job ID
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/workflow_orchestrator.py:124
↓ 8 callers
Function
_append_cloudwatch_metrics
Append CloudWatch metrics for EC2 instances running SAP. Includes both AWS/EC2 metrics (CPU, status checks) and CWAgent metrics (memory, disk
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:1984
↓ 8 callers
Method
_apply_filter
Apply DocumentDB query filter to documents.
src/documentdb-mcp-server/tests/conftest.py:94
↓ 8 callers
Function
_bearer_scope
Build an ASGI scope with an Authorization: Bearer header.
src/aws-healthomics-mcp-server/tests/test_inbound_jwt_exchange.py:62
↓ 8 callers
Function
_build_config
Build GLIDE client configuration from VALKEY_CFG.
src/valkey-mcp-server/awslabs/valkey_mcp_server/common/connection.py:42
↓ 8 callers
Method
_build_search_request
Build search request with minimal processing.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:281
↓ 8 callers
Method
_convert_parameters
Transform structured parameter format to a dict of name->value.
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/asyncmy_pool_connection.py:312
↓ 8 callers
Method
_convert_reference_to_genomics_file
Convert a HealthOmics reference to a GenomicsFile if it matches search criteria. Args: reference: Reference dictionary from list_
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:1323
↓ 8 callers
Function
_decode_docs
Decode GLIDE ft.search results into list of dicts. GLIDE returns: [count, {b'key': {b'field': b'value', ...}, ...}]
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/search_query.py:39
↓ 8 callers
Method
_deploy_stack
Deploy a CloudFormation stack from the specified template file.
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_stack_handler.py:419
↓ 8 callers
Function
_encode_pagination_token
Pack ``(page_value, count)`` into a single opaque pagination token. The token is urlsafe-base64-encoded JSON. Urlsafe base64 only uses charac
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:91
↓ 8 callers
Function
_ensure_client_ua
Inject MCP clientInfo into the SecurityAgentClient user-agent on first use. Called at the start of each tool invocation. Since the module-level _
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/server.py:147
↓ 8 callers
Function
_ensure_s3_bucket
Lazily create and register the per-account S3 bucket for the given kind. kind 'scans' -> security-agent-scans-... (full/diff scans); 'threat-
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/server.py:185
↓ 8 callers
Function
_extract_task_metrics_from_manifest
Extract key metrics from a task manifest object based on the actual structure. Args: task_data: Task manifest data dictionary cos
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_analysis.py:1249
↓ 8 callers
Method
_extract_token_expiry
Extract expiry timestamp from token. Args: token: JWT token Returns: int: Expiry timestamp
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/cognito_auth.py:616
↓ 8 callers
Function
_factory
Return a sts_client_factory that yields the given stub client.
src/aws-healthomics-mcp-server/tests/test_inbound_jwt_exchange.py:91
↓ 8 callers
Function
_fake_check
Build a ``check_status`` callable backed by an in-memory script.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_status_assessment.py:37
↓ 8 callers
Function
_format_billing_view_segment
Format a billing view segment element from the ListBillingViewSegments API response. Args: segment: A BillingViewSegmentsListElement obje
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bvs_operations.py:423
↓ 8 callers
Method
_get_credentials_from_secret
Get database credentials from AWS Secrets Manager.
src/oracle-mcp-server/awslabs/oracle_mcp_server/connection/oracledb_pool_connection.py:271
↓ 8 callers
Method
_get_credentials_from_secret
Get database credentials from AWS Secrets Manager.
src/mssql-mcp-server/awslabs/mssql_mcp_server/connection/pymssql_pool_connection.py:312
↓ 8 callers
Method
_get_credentials_from_secret
Get database credentials from AWS Secrets Manager. Instance-method wrapper around the module-level :func:`get_credentials_from_secret
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/psycopg_pool_connection.py:679
↓ 8 callers
Method
_get_fhir_endpoint
Get the FHIR endpoint URL for a datastore.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:277
↓ 8 callers
Method
_get_tags_for_objects_batch
Retrieve tags for multiple objects efficiently using batching and caching. Args: bucket_name: Name of the S3 bucket o
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:814
↓ 8 callers
Method
_handle_client_error
Handle AWS client errors and convert to appropriate exceptions. Args: client_error: ClientError to handle operation:
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/translation_service.py:567
↓ 8 callers
Method
_hint
(self, exc, sslmode='verify-full')
src/postgres-mcp-server/tests/test_psycopg_connector.py:1359
↓ 8 callers
Method
_list_references_with_filter
List references in a HealthOmics reference store with optional name filter. Args: reference_store_id: ID of the reference store
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:813
↓ 8 callers
Function
_make_jwt
Build an unsigned compact JWT carrying the given claims (no signature).
src/aws-healthomics-mcp-server/tests/test_inbound_jwt_exchange.py:45
↓ 8 callers
Function
_make_send_collector
Return (send, messages) where send appends ASGI messages to messages.
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:88
↓ 8 callers
Function
_reload_storage_lens_with_identity_decorator
Reload storage_lens_tools with FastMCP.tool patched to return the original function unchanged (identity decorator). This exposes a callable 'stor
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:352
↓ 8 callers
Method
_sig
(self, **kwargs)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:80
↓ 8 callers
Function
_validate_endpoint
(endpoint: str | None)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:839
↓ 8 callers
Method
add_attachments_to_set
Add one or more attachments to an attachment set. If an attachment set ID is not specified, a new attachment set is created. The atta
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/client.py:678
↓ 8 callers
Method
add_line
Add line element. Args: x1: Start X position y1: Start Y position x2: End X position y2: End
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/visualization/svg_builder.py:130
↓ 8 callers
Method
add_text
Add text element. Args: x: X position y: Y position text: Text content anchor: Text anchor (s
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/visualization/svg_builder.py:106
↓ 8 callers
Method
add_title
Add title text to SVG. Args: text: Title text x: X position (defaults to center) y: Y position
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/visualization/svg_builder.py:59
↓ 8 callers
Function
agentcore_server_env
Return the server-facing environment injected into the AgentCore container. This is a pure function of the registry URI and container port. The k
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:200
↓ 8 callers
Method
aggregate_tasks
Aggregate metrics by normalized task name using Polars. Groups tasks by their normalized base name and calculates aggregate metrics i
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/analysis/task_aggregator.py:79
↓ 8 callers
Function
analyze_har_file
Analyze HAR files from canary runs.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_utils.py:186
↓ 8 callers
Method
apply_from_yaml
Apply YAML objects to the cluster with support for custom resources and updates. This method improves upon the standard create_from_yaml by:
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_apis.py:310
↓ 8 callers
Method
browser_navigate
Navigate to a URL in the browser. Loads the specified URL and returns an accessibility tree snapshot of the loaded page, including pa
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/navigation.py:76
↓ 8 callers
Method
browser_type
Type text into an element identified by its accessibility ref. By default, clears the existing content before typing. Set clear_first
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/interaction.py:131
↓ 8 callers
Method
build_pk_for_lookup
Build partition key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/gaming_leaderboard/base_repository.py:72
↓ 8 callers
Method
build_pk_for_lookup
Build partition key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/food_delivery/base_repository.py:72
↓ 8 callers
Method
build_sk_for_lookup
Build sort key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/gaming_leaderboard/base_repository.py:80
↓ 8 callers
Function
calculate_route
Calculate a route and return summary info and turn-by-turn directions. Parameters: departure_position: [lon, lat] destination_pos
src/aws-location-mcp-server/awslabs/aws_location_server/server.py:689
↓ 8 callers
Method
calculate_task_cost
Calculate cost for a single task. Uses the formula: billable_hours * price_per_hour where billable_hours = max(60, running_seconds) /
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/analysis/cost_analyzer.py:46
↓ 8 callers
Function
capture_from_response
Parse a ``CaptureConfiguration`` union returned by the API into the ADT. Falls back to inferring a ``CodeCapture`` if a CodeCapture-shaped dict
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/capture.py:171
↓ 8 callers
Function
check_api_gateway
Check API Gateway for data-in-transit security best practices.
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/network_security.py:939
↓ 8 callers
Function
check_guard_duty
Check if Amazon GuardDuty is enabled in the specified region. Args: region: AWS region to check session: boto3 Session for AWS AP
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:253
↓ 8 callers
Function
check_registry_policy_healthomics_access
Check if the registry permissions policy grants HealthOmics the required permissions. Parses the registry permissions policy and checks if the He
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/ecr_utils.py:216
↓ 8 callers
Function
check_s3_buckets
Check S3 buckets for encryption and security best practices.
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/storage_security.py:292
↓ 8 callers
Method
create
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/ecommerce/base_repository.py:111
↓ 8 callers
Function
create_cluster
Create an RDS/Aurora cluster. Args: region: region cluster_identifier: cluster identifier database: database name, ignore
src/postgres-mcp-server/awslabs/postgres_mcp_server/server.py:683
↓ 8 callers
Method
create_role
(self, *, RoleName, AssumeRolePolicyDocument, Description='')
src/aws-healthomics-mcp-server/integration/harness_tests/test_iam_provisioning.py:57
↓ 8 callers
Method
create_task
Create a new task
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/saas/repositories.py:631
↓ 8 callers
Function
create_test_request
Create a test request with default values.
src/elasticache-mcp-server/tests/tools/rg/test_create.py:28
↓ 8 callers
Function
datetime_to_iso
Convert datetime to ISO format string. Args: dt: Datetime object or None Returns: ISO format string or None if input is None
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/datetime_utils.py:21
← previous
next →
1,001–1,100 of 32,024, ranked by callers