MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

↓ 1 callersFunction_handle_existing_template
Handle an existing template generation process - check status or retrieve template. Args: cfn_client: Boto3 CloudFormation client
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/iac_generator.py:133
↓ 1 callersMethod_handle_export_job
(self, args: Dict[str, Any])
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/server.py:242
↓ 1 callersMethod_handle_import_job
(self, args: Dict[str, Any])
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/server.py:228
↓ 1 callersFunction_handle_service_command
( service_command: ServiceCommand, global_args: argparse.Namespace, remaining: list[str], defa
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:410
↓ 1 callersFunction_handle_streaming_output
(response: dict[str, Any], output_file: OutputFile)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/interpretation.py:99
↓ 1 callersMethod_handle_update
(self, args: Dict[str, Any])
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/server.py:169
↓ 1 callersMethod_handle_validation_error
Handle validation error.
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/api_key_auth.py:84
↓ 1 callersFunction_harness_session
Build a boto3 session using the harness/server's default credential chain.
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:410
↓ 1 callersFunction_has_inline_comment
Check if any line has a -- comment after non-whitespace content. Standalone comment lines (where -- is the first non-whitespace) are allowed.
src/mssql-mcp-server/awslabs/mssql_mcp_server/mutable_sql_detector.py:227
↓ 1 callersMethod_hash_api_key
Create a hash of the API key for caching. Args: api_key: API key Returns: str: Hash of the API key
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/api_key_auth.py:107
↓ 1 callersMethod_hash_credentials
Create a hash of the credentials for caching. Args: username: Username password: Password Returns:
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/basic_auth.py:92
↓ 1 callersFunction_headers
Return the scope's headers as a lowercased-name -> value (decoded) dict.
src/aws-healthomics-mcp-server/integration/harness_tests/test_entrypoint_header_shim.py:54
↓ 1 callersFunction_home_dirs
Collects every directory that may be the current user's home. ``os.path.expanduser`` trusts ``$HOME``, so a process started with ``$HOME``
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/path_validation.py:40
↓ 1 callersFunction_html_to_text
Convert HTML to plain text using stdlib only. Args: raw_html: Raw HTML content to convert Returns: Plain text with HTML tags
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/utils/doc_fetcher.py:95
↓ 1 callersFunction_hybrid
( client: GlideClientType, index_name: str, query_text: str, vector_field: str, filt: str
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/search_query.py:265
↓ 1 callersMethod_identify_missing_parameters
(self, operation_args: Namespace)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:251
↓ 1 callersFunction_imports_integration
Return True if the parsed module imports the ``integration`` package. Detects ``import integration``, ``import integration.something``, and `
src/aws-healthomics-mcp-server/integration/harness_tests/test_structural_isolation.py:54
↓ 1 callersMethod_initialize_auth
Initialize authentication data after validation.
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/bearer_auth.py:73
↓ 1 callersMethod_initialize_connection
(self)
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/engines/pyiceberg.py:155
↓ 1 callersMethod_initialize_lambda_client
Initialize AWS Lambda client with proper error handling. Returns: Configured boto3 Lambda client Raises: Run
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/esm/esm_recommend.py:222
↓ 1 callersMethod_initialize_lambda_client
Initialize AWS Lambda client with proper error handling. Returns: Configured boto3 Lambda client Raises: Run
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/poller/esm_recommend.py:72
↓ 1 callersMethod_inject_k8s_aws_id_header
Inject the Kubernetes AWS ID header into the request.
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_client_cache.py:113
↓ 1 callersFunction_install_header_shim
Patch the server's ``IdentityMiddleware`` so it is wrapped by the header shim. The server builds its network app as ``IdentityMiddleware(base_app
src/aws-healthomics-mcp-server/integration/deploy/image/entrypoint.py:159
↓ 1 callersFunction_instruction
( is_complete: bool, tool_name: str, param_name: str, token: Optional[str], returned_count
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/pagination.py:113
↓ 1 callersFunction_ir_metadata
(program: InterpretedProgram | None)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/service.py:239
↓ 1 callersFunction_is_admin_enabled
Check if admin mode is enabled via environment variable.
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/valkey_admin.py:63
↓ 1 callersFunction_is_database_readonly_rejection
True when the *database* refused the statement for read-only reasons.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:2822
↓ 1 callersFunction_is_escape_string_open
r"""Return True if the single quote at ``quote_idx`` opens a PostgreSQL E'...' string. In an escape string (``E'...'`` / ``e'...'``) a backslash
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/mutable_sql_detector.py:413
↓ 1 callersFunction_is_implicit_procedure_call
Detect if comment-stripped SQL starts with an implicit stored procedure call. In SQL Server, a stored procedure can be called without the EXEC ke
src/mssql-mcp-server/awslabs/mssql_mcp_server/mutable_sql_detector.py:197
↓ 1 callersFunction_is_invisible_smuggling_char
Return True if the code point is an invisible character used for smuggling.
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/sanitizer.py:52
↓ 1 callersFunction_is_pgwire_method
True for the direct Postgres (psycopg) methods that do a TLS handshake.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:196
↓ 1 callersFunction_is_private_ip
Check if IP address is private/internal using ipaddress module.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/operations/create_datasource.py:30
↓ 1 callersFunction_is_remote_path
Check if path is remote (S3, HTTP, etc.).
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/file_system_controls.py:240
↓ 1 callersFunction_is_safe_transaction_setting
Return whether SET TRANSACTION only tightens read behavior or isolation.
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/sql_guard.py:394
↓ 1 callersFunction_is_search_configuration_mismatch
Whether the error indicates the wrong search configuration shape was sent. The API rejects a mismatch with a ValidationException naming the confi
src/bedrock-kb-retrieval-mcp-server/awslabs/bedrock_kb_retrieval_mcp_server/knowledgebases/retrieval.py:55
↓ 1 callersFunction_is_under_integration_tests
Return True iff ``item`` was collected from under ``integration/tests/``. Guards the collection hook so it never skips the harness's offline
src/aws-healthomics-mcp-server/integration/conftest.py:58
↓ 1 callersFunction_is_valid_bundle
Return True if ``path`` holds a plausible CA bundle (enough PEM certs). A cheap structural check -- not full X.509 validation -- whose job is to
src/postgres-mcp-server/hatch_build.py:182
↓ 1 callersFunction_is_valid_host
Return whether a string is a valid IPv4/IPv6 address or hostname.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:194
↓ 1 callersFunction_jwt_context_for
Build a ``source='jwt'`` CredentialContext with a distinct identity_key. Every secret-bearing field embeds the identity so that any cross-tenant
src/aws-healthomics-mcp-server/tests/test_tenant_isolation_property.py:75
↓ 1 callersFunction_key
(r)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:469
↓ 1 callersFunction_keyword_to_pattern
(k: str)
src/oracle-mcp-server/awslabs/oracle_mcp_server/mutable_sql_detector.py:62
↓ 1 callersFunction_keyword_to_pattern
(k: str)
src/mssql-mcp-server/awslabs/mssql_mcp_server/mutable_sql_detector.py:68
↓ 1 callersFunction_known_secrets
Collect the non-blank known secret values from ``env``, grouped by material type. Blank or absent secrets are ignored so an empty registration ne
src/aws-healthomics-mcp-server/integration/tests/test_credential_safety.py:58
↓ 1 callersFunction_list_entity_events
Use ListEntityEvents API for comprehensive change history.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/change_tools.py:234
↓ 1 callersMethod_list_insights
List EKS insights for a cluster with optional category filtering.
src/eks-mcp-server/awslabs/eks_mcp_server/insights_handler.py:245
↓ 1 callersFunction_list_service_states
Use ListServiceStates API for latest service states.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/change_tools.py:297
↓ 1 callersMethod_load_and_index_metadata
Load metric metadata from JSON file and create an indexed structure. Returns: Dict indexed by MetricMetadataIndexKey objects.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:73
↓ 1 callersMethod_load_customizations
Load customizations from separate file.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/security/policy.py:89
↓ 1 callersMethod_load_language_generator
Load language-specific sample generator.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/sample_generators.py:33
↓ 1 callersMethod_load_language_mappings
Dynamically load and validate language-specific mappings.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/type_mappings.py:44
↓ 1 callersMethod_load_metrics_guidance
Load metrics guidance from JSON file. Returns: Dict containing metrics guidance data
src/eks-mcp-server/awslabs/eks_mcp_server/cloudwatch_metrics_guidance_handler.py:58
↓ 1 callersMethod_load_policy
Load security policy from user directory.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/security/policy.py:56
↓ 1 callersFunction_load_pytest_config
Return the ``[tool.pytest.ini_options]`` table from ``pyproject.toml``. Prefers the stdlib ``tomllib`` (Python 3.11+), falls back to the third-pa
src/aws-healthomics-mcp-server/integration/harness_tests/test_default_selection_smoke.py:69
↓ 1 callersFunction_log_group_arn
Compose a CloudWatch Logs log group ARN from its name.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:208
↓ 1 callersFunction_log_group_for
Return the per-service log group name ``/aws/service-events/{service_name}``.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:71
↓ 1 callersMethod_log_validation_error
Log validation error messages.
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/bearer_auth.py:64
↓ 1 callersMethod_log_validation_error
Log validation error messages.
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/basic_auth.py:79
↓ 1 callersFunction_main
(argv: list)
src/mysql-mcp-server/hatch_build.py:156
↓ 1 callersFunction_main
(argv: list)
src/postgres-mcp-server/hatch_build.py:366
↓ 1 callersFunction_make_build_session
Return a ``CredentialContext.build_session`` replacement keyed by identity. The session built for a given context returns an STS client whose
src/aws-healthomics-mcp-server/tests/test_tenant_isolation_property.py:90
↓ 1 callersMethod_make_conn_with_pool
Create a connection with a mocked pool.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:222
↓ 1 callersFunction_make_context
Build a distinct CredentialContext keyed by the mechanism name.
src/aws-healthomics-mcp-server/tests/test_mechanism_precedence.py:39
↓ 1 callersFunction_make_fake_dynamodb_client
Build an offline fake DynamoDB client recording every call. The fake supports exactly the surface ``provision_role_registry`` uses -- ``creat
src/aws-healthomics-mcp-server/integration/harness_tests/test_registry.py:38
↓ 1 callersFunction_make_jwt
Build an unsigned compact JWT carrying the given claims (no signature).
src/aws-healthomics-mcp-server/tests/test_jwt_backward_compat_property.py:58
↓ 1 callersFunction_make_jwt
Build an unsigned compact JWT carrying the given claims (no signature).
src/aws-healthomics-mcp-server/tests/test_no_secret_leakage_property.py:87
↓ 1 callersFunction_make_mock_cw_logs_patches
Patch dict for cw_logs (CloudWatch Logs) query helpers with empty data.
src/cloudwatch-applicationsignals-mcp-server/tests/test_tool_eval.py:186
↓ 1 callersFunction_make_mock_function_metrics_patches
Patch dict for function_metrics (CloudWatch Metrics V2 / PromQL) with empty data.
src/cloudwatch-applicationsignals-mcp-server/tests/test_tool_eval.py:178
↓ 1 callersFunction_make_request
()
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/http_client.py:204
↓ 1 callersFunction_make_request_simple
()
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/http_client.py:213
↓ 1 callersFunction_make_send_collector
Return (send, messages) where send appends ASGI messages to messages.
src/aws-healthomics-mcp-server/tests/test_jwt_exchange_failure.py:154
↓ 1 callersFunction_make_stage
Build a stage that creates one resource per tag, then optionally raises. Each ``ctx.create`` call forwards its tag to the fake creator, which ech
src/aws-healthomics-mcp-server/integration/harness_tests/test_provision_failure_property.py:81
↓ 1 callersFunction_make_throwaway_ca
Generate an unrelated self-signed CA PEM for the wrong-CA TLS test. Returns the path to a temp PEM, or None if ``openssl`` is unavailable. The
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:3117
↓ 1 callersMethod_match_subdocument
Match a document against a subdocument query.
src/documentdb-mcp-server/tests/conftest.py:134
↓ 1 callersFunction_max_time_interval_days
Widest ``TimeInterval`` span, in whole days, accepted for a given start. The Invoicing service rejects a longer range with "TimePeriod cannot las
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/invoicing_operations.py:46
↓ 1 callersFunction_merge_comparison_rows
Merge two windows' error rows by (operation, exception) into comparison rows. Each row carries prior/recent counts, delta, percent change, and a
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:462
↓ 1 callersFunction_merge_page_into_result
( result: dict[str, Any], page: dict[str, Any], page_iterator: PageIterator, )
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/pagination.py:25
↓ 1 callersFunction_missing_external_id_sources
An enabled record with a valid ``role_arn`` but an invalid ``external_id``.
src/aws-healthomics-mcp-server/tests/test_registry_fail_closed_property.py:154
↓ 1 callersFunction_missing_role_arn_sources
An enabled record whose ``role_arn`` is absent or not a non-empty string.
src/aws-healthomics-mcp-server/tests/test_registry_fail_closed_property.py:139
↓ 1 callersFunction_nearest_heading
Find the heading a table sits under, skipping callout titles.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:122
↓ 1 callersFunction_normalize
Normalizes a path for comparison against the blocklist. Args: path: The path to normalize Returns: str: The path in a f
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/path_validation.py:94
↓ 1 callersFunction_normalize_credit_data
Normalize a raw CreditData item for agent consumption. Converts the epoch timestamp fields (``startDate``, ``endDate`` and ``exhaustDate``) i
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:72
↓ 1 callersFunction_normalize_idle_filters
Fold `ResourceType` and `Finding` filter values onto the canonical idle enum spelling. Unrecognized values are passed through unchanged: the inst
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_tools.py:845
↓ 1 callersFunction_normalize_invoice_summary
Normalize a raw InvoiceSummary for agent consumption. Converts the epoch timestamp fields (``IssuedDate`` and ``DueDate``) into ISO 8601 UTC
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/invoicing_operations.py:130
↓ 1 callersFunction_normalize_path
Reduce a URL path to the page it addresses, so cosmetic rewrites compare equal.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_utils.py:75
↓ 1 callersFunction_normalize_program
(str)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/models.py:210
↓ 1 callersFunction_observe_identity
Invoke ``WhoAmI`` (with transient-failure retries) and return the observed arn. The call is wrapped in :func:`with_retries` so a temporarily unav
src/aws-healthomics-mcp-server/integration/tests/test_cross_tenant_isolation.py:130
↓ 1 callersFunction_offline_test_files
Return every ``*.py`` file under the top-level ``tests/`` directory. Excludes ``__pycache__`` directories. The list is sorted for deterministic
src/aws-healthomics-mcp-server/integration/harness_tests/test_structural_isolation.py:78
↓ 1 callersFunction_on_error_in_argparse
(message: str)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:200
↓ 1 callersFunction_onsite_redirect_routes
Routes where the docs host 301s to another same-host page that returns real content.
src/aws-documentation-mcp-server/tests/test_server_utils.py:487
↓ 1 callersFunction_operation_keyword
Map a single AST node to a deny-list keyword, or None. Detection is structural (node type, or for generic commands the command name), so a de
src/redshift-mcp-server/awslabs/redshift_mcp_server/sql_guard.py:68
↓ 1 callersMethod_order_by_precedence
Return the mechanisms sorted by documented precedence (stable). Known mechanisms are ordered by their index in :data:`~awslabs.aws_he
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/middleware.py:143
↓ 1 callersFunction_page_identity
Reduce a URL to host and path, so scheme, query, fragment and path spelling do not differ.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_utils.py:84
↓ 1 callersFunction_paginate_get_credit_allocation_history
Page the allocation ledger with the SDK paginator, keeping completeness flags. The SDK declares ``partialResults`` and ``failedMonths`` as non-ag
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:313
↓ 1 callersMethod_paginate_get_metric_data
Follow ``NextToken`` through a CloudWatch ``GetMetricData`` call, merging results. CloudWatch returns a ``NextToken`` when a single call exce
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:1224
↓ 1 callersFunction_pagination_block
( is_complete: bool, returned_count: int, tool_name: str, param_name: str, token: Optional
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/pagination.py:148
↓ 1 callersFunction_parse
Parse SQL with the Redshift dialect, failing closed on any error. Args: sql: The raw SQL submitted by the caller. Returns: P
src/redshift-mcp-server/awslabs/redshift_mcp_server/sql_guard.py:46
↓ 1 callersFunction_parse_access_key_id
Extract the access key id from a SigV4 ``Authorization`` header value. The SigV4 header has the shape:: AWS4-HMAC-SHA256 Credential=<AKI
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/mechanisms/sigv4.py:97
↓ 1 callersMethod_parse_attribute_definitions
Parse AttributeDefinitions and return a map of attribute names to types. Args: attr_definitions: List of attribute definition dic
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:249
↓ 1 callersFunction_parse_customization_parameters
Parse parameters for a custom command using its argument table.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:544
↓ 1 callersFunction_parse_cwli_fields
Parse a CWLI query string and return {field_name: usage_type}.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/query_parser.py:288
← previousnext →4,601–4,700 of 32,024, ranked by callers