MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions28,870 in github.com/awslabs/mcp

↓ 13 callersMethodexecute_query
Execute a test query.
src/mysql-mcp-server/tests/test_abstract_db_connection.py:31
↓ 13 callersFunctionextract_cell
Extracts the scalar or array value from a single cell.
src/mysql-mcp-server/awslabs/mysql_mcp_server/server.py:72
↓ 13 callersFunctionformat_workload_estimate_response
Formats a single workload estimate object from the get_workload_estimate API response. Args: estimate: Single workload estimate object fr
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bcm_pricing_calculator_tools.py:818
↓ 13 callersMethodget_auth_headers
Get authentication headers.
src/openapi-mcp-server/tests/auth/test_auth_factory.py:34
↓ 13 callersFunctionget_logs_client
Get an AWS CloudWatch Logs client. Args: region_name: Optional region override profile_name: Optional AWS profile override R
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:270
↓ 13 callersFunctionget_preferences
Check if BCM Pricing Calculator preferences are properly configured. Args: ctx: The MCP context object Returns: dict: Contai
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bcm_pricing_calculator_tools.py:255
↓ 13 callersFunctionget_response_data
Helper function to extract data from CallToolResult response.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_data_catalog_handler.py:26
↓ 13 callersMethodinitialize_pool
Initialize the connection pool.
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/asyncmy_pool_connection.py:144
↓ 13 callersMethodis_custom_tags_enabled
Check if custom tags are enabled. When CUSTOM_TAGS environment variable is set to 'True', the system will ignore adding new tags or v
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/aws_helper.py:85
↓ 13 callersMethodlist_translation_jobs
List translation jobs with filtering capabilities. Args: status_filter: Filter jobs by status (SUBMITTED, IN_PROGRESS, COMPLETED,
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:279
↓ 13 callersFunctionlist_workload_estimates
Lists all workload estimates for the account. Args: ctx: The MCP context object created_after: Filter estimates created after thi
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bcm_pricing_calculator_tools.py:306
↓ 13 callersFunctionload_persisted_config
Load config from disk.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/config_store.py:420
↓ 13 callersFunctionmake_stream_response
Build a mock invoke_code_interpreter EventStream response. Mirrors the real API shape: { "stream": [ { "result": { "content": [...], "structu
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/conftest.py:38
↓ 13 callersMethodmanage_aws_glue_crawler_management
Manage AWS Glue crawler schedules and monitor performance metrics. This tool provides operations for controlling crawler schedules and retrie
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/glue/crawler_handler.py:789
↓ 13 callersMethodmanage_collaborator
Add, update, or remove a workspace collaborator. Actions: - put: add a user OR change their role (upsert). Requires userId and role.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/collaborator.py:50
↓ 13 callersFunctionparse_auditors
Parse and validate auditors parameter.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:394
↓ 13 callersFunctionpreview_dataset
Show the S3 bucket structure for a public dataset (no AWS account required). Returns up to 10 objects from the dataset's S3 bucket (in S3's defau
src/roda-mcp-server/awslabs/roda_mcp_server/server.py:604
↓ 13 callersFunctionprogress_event
Map a CloudControl API response to a standard output format for the MCP.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/cloud_control_utils.py:106
↓ 13 callersMethodreadonly_mode
Check if the server is running in readonly mode. Returns: True if readonly mode is enabled, False otherwise
src/memcached-mcp-server/awslabs/memcached_mcp_server/context.py:33
↓ 13 callersMethodremove
Remove a database connection from the map.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:86
↓ 13 callersMethodresource
Decorator to register a function as a resource provider. The decorated function should return the resource content as a string.
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/mcp_lambda_handler.py:293
↓ 13 callersMethodset
Set a database connection in the map.
src/mssql-mcp-server/awslabs/mssql_mcp_server/connection/db_connection_map.py:59
↓ 13 callersMethodstart_scan
Package code, upload to S3, and start a security scan. Reuses an existing CodeReview for the same workspace path if one exists. Only
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:124
↓ 13 callersMethodtool
(self, name=None, annotations=None)
src/ecs-mcp-server/tests/unit/test_main.py:33
↓ 13 callersFunctionvalidate_app_name
Validates application name to ensure it complies with AWS ECS/ECR naming requirements. Requirements: - Length: 1-20 characters (to accom
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:49
↓ 13 callersFunctionvalidate_definition_sources
Validate that exactly one definition source is provided and process it. Accepts a ``definition_source`` parameter that can be a local ZIP file pa
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:167
↓ 13 callersFunctionvalidate_rabbitmq_name
Validate RabbitMQ queue/exchange names.
src/amazon-mq-mcp-server/awslabs/amazon_mq_mcp_server/rabbitmq/connection.py:42
↓ 13 callersFunctionvalidate_schema_file
Convenience function to validate a schema file. Args: schema_path: Path to schema.json file strict_mode: If True, treats warnings
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/schema_validator.py:646
↓ 13 callersFunctionvalidate_table_name
Validate a SQL Server table name reference.
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:683
↓ 13 callersFunctionvalkey_admin
Execute a destructive Valkey command. Admin tier — disabled by default. Requires both: 1. Server config: VALKEY_ADMIN_ENABLED=true 2. con
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/valkey_admin.py:71
↓ 12 callersMethod__init__
Initialize the timeout error. Args: message: Error message timeout_seconds: Timeout duration in seconds e
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/exceptions.py:376
↓ 12 callersFunction_create_mock_ecr_client_with_healthomics_access
Create a mock ECR client configured for HealthOmics access.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:95
↓ 12 callersMethod_get_eks_insights_impl
Internal implementation of get_eks_insights.
src/eks-mcp-server/awslabs/eks_mcp_server/insights_handler.py:125
↓ 12 callersFunction_handle_field_value
Convert FieldInfo objects to None, otherwise return the value as-is.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/server.py:70
↓ 12 callersFunction_parse
(result: dict)
src/aws-transform-mcp-server/tests/test_field_defaults.py:35
↓ 12 callersFunction_parse
Extract the parsed JSON payload from an MCP result envelope.
src/aws-transform-mcp-server/tests/test_job.py:42
↓ 12 callersFunction_parse_identifier_parts
Parse a possibly-qualified SQL Server table name into its identifier parts. Supports both double-quoted ("name") and bracket-quoted ([name]) iden
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:598
↓ 12 callersFunction_reload_coh_with_identity_decorator
Reload cost_optimization_hub_tools with FastMCP.tool patched to return the original function unchanged (identity decorator). This exposes a calla
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:272
↓ 12 callersMethod_run_in_executor
Run a synchronous function in an executor. Args: func: The function to run *args: Positional arguments to pass to the
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/client.py:117
↓ 12 callersMethod_score_runtime_version
Score 1.0 if version matches, 0.5 for wildcard '*', 0.0 otherwise. Supports suffix '+' for version-or-later matching (e.g. 'syn-nodej
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_recommendation_engine.py:206
↓ 12 callersFunction_setup_browser
Configure mock connection manager to return the mock browser.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_management.py:77
↓ 12 callersMethod_validate_search_request
Minimal validation - only catch obvious errors.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:330
↓ 12 callersMethodbuild_indexes
Build all indexes from dataset list.
src/roda-mcp-server/awslabs/roda_mcp_server/knowledge_base.py:37
↓ 12 callersMethodbuild_pk_for_lookup
Build partition key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/deals/base_repository.py:72
↓ 12 callersMethodbuild_pk_for_lookup
Build partition key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/package_delivery/base_repository.py:72
↓ 12 callersMethodcheckToolAccess
Checks if access to the tool is allowed based on allow-write and allow-sensitive-access flags.
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/common/base_tool.py:24
↓ 12 callersFunctioncheck_security_hub
Check if AWS Security Hub 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:141
↓ 12 callersMethodcleanup
Disconnect all sessions and stop Playwright. Idempotent — safe to call multiple times (e.g. from both a signal handler and the lifesp
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/connection_manager.py:236
↓ 12 callersMethodclose
Close all cached clients and clean up resources. This method should be called when the client manager is no longer needed to ensure p
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/aws_client.py:429
↓ 12 callersFunctionconfigure_logging
Configure logging based on environment variables and command line arguments. Args: server_name: Name to bind to the logger for identifica
src/finch-mcp-server/awslabs/finch_mcp_server/server.py:78
↓ 12 callersFunctionconvert_column_names_to_snake_case
Convert column names in PyArrow schema to snake_case. Args: schema: PyArrow schema with original column names Returns: PyArr
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/file_processor/utils.py:32
↓ 12 callersFunctioncreate_cache_cluster
Create an Amazon ElastiCache cache cluster.
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/cc/create.py:102
↓ 12 callersFunctioncreate_function_operation
Execute create_function operation.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/operations/create_function.py:22
↓ 12 callersFunctioncreate_graphql_api_operation
Execute create_graphql_api operation.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/operations/create_graphql_api.py:24
↓ 12 callersFunctioncreate_infrastructure
Creates complete ECS infrastructure using CloudFormation. This method combines the creation of ECR and ECS infrastructure. If force_deplo
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/infrastructure.py:106
↓ 12 callersMethodcreate_model_import_job
User wants to import a model into Amazon Bedrock. This prompt handles requests to import a custom model into Amazon Bedrock. It maps
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/prompts.py:40
↓ 12 callersFunctioncreate_role
Create a new IAM role. Args: role_name: The name of the new IAM role assume_role_policy_document: The trust policy document in JS
src/iam-mcp-server/awslabs/iam_mcp_server/server.py:544
↓ 12 callersFunctioncreate_timestamps_and_values
Create test data with specified pattern.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_utils.py:9
↓ 12 callersFunctiondiscover_clusters
Discover all Redshift clusters and serverless workgroups. Discovery is best-effort for each type: if either provisioned or serverless discove
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:449
↓ 12 callersMethodesm_guidance_tool
Create a mock FastMCP and initialize the tool with the mock.
src/aws-serverless-mcp-server/tests/test_esm_guidance.py:28
↓ 12 callersFunctionevaluate_pull_through_cache_healthomics_usability
Evaluate if a pull-through cache is usable by HealthOmics. Combines checks for registry permissions policy and repository creation template t
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/ecr_utils.py:376
↓ 12 callersFunctionexecute_audit_api
Execute the Application Signals audit API call with the given input object.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:32
↓ 12 callersMethodextract_parameters
r"""Extract parameter names from template using regex {(\\w+)}. Args: template: Template string with {parameter} placeholders
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/key_template_parser.py:43
↓ 12 callersMethodformat
r"""Format the prompt template with validation parameters. Args: rubric_items: Formatted rubric criteria (e.g., "1. Criterion 1\n
src/cloudwatch-applicationsignals-mcp-server/evals/core/validation_prompts.py:101
↓ 12 callersFunctionformat_pagination_info
Helper function to format pagination information for audit tools. Args: has_wildcards: Whether wildcards were used names_in_batch
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_presentation_utils.py:234
↓ 12 callersFunctiongenerate_script_content
Generate script content based on runtime and entry point. Args: runtime: Lambda runtime entry_point: Application entry point
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/utils/startup_script_generator.py:179
↓ 12 callersMethodget
Get a value from the cache.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/cache_provider.py:50
↓ 12 callersFunctionget_appsync_client
Get AWS AppSync client with proper configuration.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/helpers.py:25
↓ 12 callersMethodget_status
Check the status of all connections (Transform API cookie/SSO/AWS credentials and TCP).
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/configure.py:638
↓ 12 callersFunctionget_tgw_routes
Get routes from a specific Transit Gateway route table with optional filtering. Use this tool when: - Analyzing routing paths through a Trans
src/aws-network-mcp-server/awslabs/aws_network_mcp_server/tools/transit_gateway/get_transit_gateway_routes.py:21
↓ 12 callersMethodget_translation_job
Get detailed status information for a translation job. Args: job_id: ID of the translation job to query Returns:
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:204
↓ 12 callersFunctionhandle_aws_api_call
Execute AWS API calls with standardized error handling.
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/fetch_network_configuration.py:33
↓ 12 callersMethodimport_terminology
Import terminology from a file. Args: name: Terminology name (must be unique) file_path: Path to terminology file (CS
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/terminology_manager.py:293
↓ 12 callersFunctioninternal_get_cluster_properties
Retrieve RDS cluster properties from AWS. Args: cluster_identifier: RDS cluster identifier region: AWS region (e.g., 'us-east-1')
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/cp_api_connection.py:163
↓ 12 callersMethodlint_workflow
Lint a single workflow definition and return findings. Args: workflow_content: The workflow definition content filena
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_linting.py:44
↓ 12 callersFunctionlist_recommendation_summaries
List recommendation summaries from Cost Optimization Hub. Args: ctx: MCP context coh_client: Cost Optimization Hub client
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_helpers.py:341
↓ 12 callersFunctionmake_pool_conn
Create a PymssqlPoolConnection configured for testing.
src/mssql-mcp-server/tests/test_pymssql_pool_connection.py:23
↓ 12 callersMethodmanage_aws_athena_databases_and_tables
Manage AWS Athena databases and tables with read operations. This tool provides operations for retrieving information about databases and tab
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/athena/athena_data_catalog_handler.py:390
↓ 12 callersFunctionparse_response_data
Helper function to parse the data from CallToolResult content.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_workgroup_handler.py:26
↓ 12 callersFunctionregister_lambda_functions
Register Lambda functions as individual tools.
src/lambda-tool-mcp-server/awslabs/lambda_tool_mcp_server/server.py:278
↓ 12 callersMethodrun
Execute a command and return result.
src/cloudwatch-applicationsignals-mcp-server/evals/core/process_executor.py:36
↓ 12 callersFunctionsafe_capture
Capture a snapshot, returning a fallback message if capture fails. Use this on the happy path after a successful interaction so that a snapsh
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/error_handler.py:54
↓ 12 callersFunctionsanitize_tool_response
Sanitize tool response content before providing to LLM. Implements multiple layers of protection: 1. Filters unicode tag characters (obfuscat
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/sanitizer.py:16
↓ 12 callersMethodstart_import_job
Start a FHIR import job.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:857
↓ 12 callersFunctiontranslate_cli_to_ir
Translate the given CLI command to a Python program. The returned payload contains the final Python program if the translation was successful
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/driver.py:49
↓ 12 callersMethodtroubleshoot_stack_deployment
Collect CloudFormation failure events using describe_events API.
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/tools/cloudformation_deployment_troubleshooter.py:115
↓ 12 callersFunctiontruncate_large_tables
Detect large markdown tables and truncate them with a search_table hint. Args: markdown: Markdown content that may contain large tables
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/util.py:264
↓ 12 callersFunctionupdate_resource_impl
Update an AWS resource implementation.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/tools/resource_operations.py:144
↓ 12 callersMethodvalidate_and_resolve_path
Validate file path with security checks for path traversal. Args: file_path: Path to validate allow_absolute_paths: W
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/file_utils.py:57
↓ 12 callersFunctionvalidate_connection_arn
Validate that connection_arn follows the expected format. Args: ctx: MCP context for error reporting connection_arn: The connecti
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:592
↓ 12 callersFunctionvalidate_file_path
Validate that a file path is within the allowed working directory. Args: file_path: The file path to validate Returns: The v
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/file_system_controls.py:126
↓ 12 callersFunctionvalidate_graphql_schema
Validate GraphQL schema definition and return list of issues.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/validators.py:21
↓ 12 callersMethodvalidate_language_pair
Validate if a language pair is supported for translation. Args: source_language: Source language code target_language
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/language_operations.py:268
↓ 12 callersFunctionvalidate_openapi_spec
Validate an OpenAPI specification. Args: spec: The OpenAPI specification to validate Returns: bool: True if the specificatio
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi_validator.py:42
↓ 12 callersFunctionvalidate_pagination_token
Validate an opaque pagination token. The token is an opaque string emitted by a prior call to this client. It must be a short, well-formed op
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:71
↓ 12 callersFunctionvalidate_string_for_injection
Validate string for potential injection attacks or dangerous patterns. Args: text: The string to validate field_name: Name of the
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:331
↓ 12 callersMethodverify_resource_managed_by_mcp
Verify if a resource is managed by the MCP server based on its tags. Args: tags: List of tag dictionaries from AWS API
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/aws_helper.py:256
↓ 12 callersMethodwarning
Log a warning message to both MCP context and Loguru. Args: message: The warning message to log
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/logging_utils.py:147
↓ 12 callersMethodwrite_queries_to_file
Generate SQL file with Oracle-specific prerequisites and resilient ordering. Overrides base class to: - Inject prerequisite checks at
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/db_analyzer/oracle.py:287
↓ 11 callersMethod_analyze_with_metric_data
Helper method to analyze data using MetricData object.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metric_analyzer.py:52
← previousnext →501–600 of 28,870, ranked by callers