MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 9 callersMethodvalidate_aws_parameters
Validate AWS parameters for policy generation.
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/templates/iam_policies.py:230
↓ 9 callersFunctionvalidate_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 callersFunctionvalidate_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:722
↓ 9 callersFunctionvalidate_python_identifier
Validate a name destined for a generated-code identifier position. Args: name: The candidate name to validate. path: Field path f
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/identifier_validator.py:163
↓ 9 callersFunctionvalidate_query_is_readonly_select
Validate that a user-supplied query is a read-only SELECT or WITH...SELECT. Returns None if valid, or an error message string if invalid.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/storage_lens_tools.py:52
↓ 9 callersFunctionvalidate_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 callersMethod__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 callersFunction_account_groups
Return ``count`` AccountId summary groups of one recommendation each.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:426
↓ 8 callersFunction_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 callersMethod_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 callersFunction_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 callersMethod_apply_filter
Apply DocumentDB query filter to documents.
src/documentdb-mcp-server/tests/conftest.py:94
↓ 8 callersFunction_assert_ours
Refuse a resource carrying the configured name that this harness did not create. Args: kind: What it is, for the message. name: I
src/redshift-mcp-server/e2e_tests/deploy.py:159
↓ 8 callersFunction_bearer_scope
Build an ASGI scope with an Authorization: Bearer header.
src/aws-healthomics-mcp-server/tests/test_inbound_jwt_exchange.py:62
↓ 8 callersMethod_body
The structured content of a client result, which must be present.
src/billing-cost-management-mcp-server/tests/test_error_signaling_middleware.py:254
↓ 8 callersFunction_build_request_params
Build the request for a get_*_recommendations call, validating locally first. The token and page size are left out: the pagination helper adds th
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_tools.py:811
↓ 8 callersMethod_build_search_request
Build search request with minimal processing.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:281
↓ 8 callersFunction_ce_model
()
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1590
↓ 8 callersFunction_client_error
(code)
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:48
↓ 8 callersFunction_client_for
Patch httpx.AsyncClient so a fetch returns the response, or raises.
src/aws-documentation-mcp-server/tests/test_tool_errors.py:68
↓ 8 callersMethod_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 callersMethod_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 callersFunction_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 callersMethod_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 callersFunction_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 callersFunction_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 callersFunction_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 callersFunction_entry
One UserAuthConfigInfo entry.
src/postgres-mcp-server/tests/test_cp_api_connection.py:2087
↓ 8 callersFunction_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 callersMethod_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 callersFunction_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 callersMethod_failed
Grade a log of these lines and read the verdict as the harness does.
src/redshift-mcp-server/tests/test_e2e_verdict.py:212
↓ 8 callersFunction_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 callersFunction_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:447
↓ 8 callersFunction_future_period_fields
Return the projection flag and note for a configuration list asked for a future month.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:154
↓ 8 callersMethod_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 callersMethod_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 callersMethod_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:685
↓ 8 callersMethod_get_fhir_endpoint
Get the FHIR endpoint URL for a datastore.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:277
↓ 8 callersMethod_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 callersFunction_grouped_page
One page of a grouped RI response: a single period entry holding some groups. As in the API, a grouped page has no top-level Total; the period en
src/billing-cost-management-mcp-server/tests/tools/test_ri_performance_tools.py:830
↓ 8 callersMethod_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 callersMethod_hint
(self, exc, sslmode='verify-full')
src/postgres-mcp-server/tests/test_psycopg_connector.py:1361
↓ 8 callersMethod_list
Run list_workload_estimates against a client mock with preferences configured.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2672
↓ 8 callersMethod_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 callersFunction_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 callersFunction_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 callersFunction_resolve_int_env
Read an integer setting from the environment, bounded. Falls back on the default for anything unusable rather than failing to start, since a
src/redshift-mcp-server/awslabs/redshift_mcp_server/settings.py:32
↓ 8 callersMethod_schema
( self, *, entity_type='USER', pk_template='USER#{user_id}', table_nam
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_identifier_validator.py:390
↓ 8 callersFunction_section
The paragraph that starts with heading, whitespace collapsed.
src/billing-cost-management-mcp-server/tests/tools/test_ri_performance_tools.py:1243
↓ 8 callersMethod_sig
(self, **kwargs)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:80
↓ 8 callersMethod_to_positional
Convert the structured parameter list to a positional tuple. Db2 uses ``?`` positional bind markers, so parameters are bound in the o
src/db2-mcp-server/awslabs/db2_mcp_server/connection/ibm_db_connection.py:316
↓ 8 callersFunction_tool_failed
Log a failed tool call and raise what the caller needs to see. The SDK withholds the text of anything that is not a `ToolError`, so an AWS error
src/redshift-mcp-server/awslabs/redshift_mcp_server/server.py:372
↓ 8 callersMethod_validate
(self, schema)
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_identifier_validator.py:429
↓ 8 callersFunction_validate_endpoint
(endpoint: str | None)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:839
↓ 8 callersFunction_validation_error
Return an error response for a local parameter-validation failure. Sets the same top-level `error_type`, `operation`, and `service` fields that
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_tools.py:361
↓ 8 callersMethodadd_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 callersMethodadd_errors
Add multiple errors to the validation result.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/validation_utils.py:48
↓ 8 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersFunctionagentcore_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 callersMethodaggregate_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 callersFunctionanalyze_har_file
Analyze HAR files from canary runs.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_utils.py:186
↓ 8 callersMethodapply_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 callersMethodbrowser_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 callersMethodbrowser_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 callersMethodbuild_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 callersMethodbuild_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 callersMethodbuild_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 callersFunctioncalculate_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 callersMethodcalculate_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 callersFunctioncall_transform_api_streaming
Call a streaming FES operation and return the reassembled bytes. Mirrors :func:`call_transform_api` auth resolution (SigV4, cookie, or bearer)
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/transform_api_client.py:458
↓ 8 callersFunctioncapture_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 callersFunctioncheck_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 callersMethodcheck_destructive_deployment_change
Check if a deployment type change is destructive. Args: project_name: Name of the project new_type: New deployment ty
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/deploy_webapp.py:296
↓ 8 callersFunctioncheck_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 callersFunctioncheck_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 callersFunctioncheck_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 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/ecommerce/base_repository.py:111
↓ 8 callersFunctioncreate_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:792
↓ 8 callersFunctioncreate_test_request
Create a test request with default values.
src/elasticache-mcp-server/tests/tools/rg/test_create.py:28
↓ 8 callersFunctiondatetime_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
↓ 8 callersMethoddelete
Generic delete operation
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/elearning/base_repository.py:212
↓ 8 callersFunctiondelete_resource_impl
Delete an AWS resource implementation.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/tools/resource_operations.py:215
↓ 8 callersMethoddescribe
Return a one-line human description of the code target.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/location.py:89
↓ 8 callersFunctiondescribe_budget_actions
Retrieves budget enforcement actions, routing by ``budget_name``. When ``budget_name`` is provided, calls the per-budget DescribeBudgetActionsFor
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/budget_tools.py:504
↓ 8 callersMethoddescribe_route_tables
(self)
src/elasticache-mcp-server/tests/tools/rg/test_connect.py:317
↓ 8 callersFunctiondescribe_serverless_caches
Describe Amazon ElastiCache serverless caches in your AWS account. This tool retrieves detailed information about serverless caches including:
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/serverless/describe.py:26
↓ 8 callersMethoddescribe_vpcs
(self)
src/elasticache-mcp-server/tests/tools/rg/test_connect.py:320
↓ 8 callersFunctiondownload_dynamodb_local_jar
Download DynamoDB Local JAR and return JAR path and lib path. Returns: tuple[str, str]: (jar_path, lib_path) where: - jar_pat
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:704
↓ 8 callersFunctionencode_regional_next_token
Encode per-region pagination state as one opaque token.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/regional_fanout.py:196
↓ 8 callersFunctionenforce_redirect_allowlist
Build an httpx response event hook that rejects redirects to off-allowlist hosts. Without this, ``follow_redirects=True`` follows a 3xx from an a
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/util.py:230
↓ 8 callersMethoderror
Record the error detail instead of discarding it.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:369
↓ 8 callersMethodexecute_query
(self, sql, parameters=None, max_rows=0)
src/oracle-mcp-server/tests/test_coverage.py:720
↓ 8 callersFunctionextract_error_details
Extract error details from an HTTP response. Args: response: The HTTP response Returns: A dictionary of error details
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/error_handler.py:124
↓ 8 callersMethodfilter_cloudtrail_events
Filter CloudTrail events based on CFN Console logic. Filters for: 1. Events from CloudFormation service (sourceIPAddress) 2.
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/tools/cloudformation_deployment_troubleshooter.py:53
↓ 8 callersFunctionfinch_push_image
Push a container image to a repository using finch, replacing the tag with the image hash. If the image URL is an ECR repository, it verifies tha
src/finch-mcp-server/awslabs/finch_mcp_server/server.py:362
↓ 8 callersFunctionfind_load_balancers
Find load balancers associated with an ECS service. Parameters ---------- cluster_name : str Name of the ECS Cluster. se
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/utils.py:132
↓ 8 callersFunctionfind_services
Find ECS services in a specific cluster. Parameters ---------- cluster_name : str Name of the ECS Cluster to find services i
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/utils.py:85
← previousnext →1,201–1,300 of 35,417, ranked by callers