MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

↓ 1 callersMethod_parse_gsi
Parse a GlobalSecondaryIndex definition. Args: gsi_data: Dictionary containing GSI definition attr_types: Map of attr
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:535
↓ 1 callersMethod_parse_gsi_key_schema
Parse GSI KeySchema and return partition and sort keys. GSI KeySchema supports multiple HASH and RANGE entries (up to 4 each). Args:
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:419
↓ 1 callersMethod_parse_gsi_projection
Parse GSI Projection configuration. Args: projection: Projection dictionary (may be empty) context: Context string fo
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:479
↓ 1 callersFunction_parse_host_port
Parse ``target`` into a ``(host, port)`` pair. Accepts either a URL (``scheme://host:port/...``) or a bare ``host:port`` pair. When no explic
src/aws-healthomics-mcp-server/integration/tests/test_direct_access_refused.py:69
↓ 1 callersFunction_parse_identifier_parts
Parse a possibly-qualified PostgreSQL table name into its identifier parts. Uses a character-by-character parser rather than regex because quoted
src/postgres-mcp-server/awslabs/postgres_mcp_server/server.py:1213
↓ 1 callersMethod_parse_input_config
Parse input configuration from job details.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:592
↓ 1 callersFunction_parse_jwt_session_duration
Convert a raw JWT session-duration value to a validated integer of seconds. An absent or whitespace-only value yields :data:`consts.DEFAULT_J
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:257
↓ 1 callersMethod_parse_key_schema
Parse KeySchema and return partition and sort keys. Args: key_schema: List of key schema element dictionaries attr_ty
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:283
↓ 1 callersFunction_parse_listing_line
Extract a file name from one line of textual listing output. Handles both bare names ('a.csv') and long-format `ls -l` rows ('-rw-r--r-- 1 ro
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/code_interpreter/files.py:131
↓ 1 callersMethod_parse_llm_response
Parse LLM response into structured criteria results. Expected format: "1. [PASS] Reasoning" or "1. [FAIL] Reasoning"
src/cloudwatch-applicationsignals-mcp-server/evals/core/validator.py:185
↓ 1 callersMethod_parse_matrix
Parse a range-query (matrix) result into TimeSeries.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/client.py:271
↓ 1 callersMethod_parse_metric_data_response
Parse CloudWatch GetMetricData response into MetricData.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:1151
↓ 1 callersMethod_parse_metric_dimensions
Parse metric dimensions from the alarm data. Args: alarm_data: Raw alarm recommendation data Returns: AlarmR
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/tools.py:1132
↓ 1 callersFunction_parse_multi_row_thead
Parse a multi-row thead into a flat list of column headers. Handles rowspan (cells that span from an earlier row into the last row) and colsp
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/table_utils.py:256
↓ 1 callersFunction_parse_outcome_counts
Return a mapping of pytest outcome name -> count parsed from a run's output. Scans the combined pytest output for the summary tokens (``N passed`
src/aws-healthomics-mcp-server/integration/harness_tests/test_default_selection_smoke.py:106
↓ 1 callersMethod_parse_output_config
Parse output configuration from job details.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:607
↓ 1 callersFunction_parse_port
Convert a raw port value to an integer in ``1..65535``, applying the default. An absent or whitespace-only value yields the default port. Otherwi
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:226
↓ 1 callersFunction_parse_ppl_fields
Parse a PPL query string and return {field_name: usage_type}.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/query_parser.py:258
↓ 1 callersFunction_parse_snapshot_fields
Extract key debugging fields from a raw CloudWatch Logs snapshot result. Handles the OTLP log record format where: - Metadata is in top-level
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/snapshot_parsing.py:101
↓ 1 callersFunction_parse_spec_bytes
Parse fetched spec bytes into a dict. Any external ``$ref`` is refused before prance sees the spec (see ``_reject_external_refs``), then pran
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi.py:307
↓ 1 callersFunction_parse_sql_fields
Parse a SQL query string and return {field_name: usage_type}.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/query_parser.py:224
↓ 1 callersMethod_parse_table
Parse a single table definition from JSON. Args: table_data: Dictionary containing table definition table_index: Inde
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:368
↓ 1 callersFunction_parse_time
Parse an ISO-8601 timestamp argument (None passes through).
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:108
↓ 1 callersMethod_parse_ttl_specification
Parse TimeToLiveSpecification and return TTL attribute name if enabled. Args: ttl_data: TimeToLiveSpecification dictionary
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/models.py:338
↓ 1 callersMethod_parse_vector
Parse an instant-query (vector) result into single-sample TimeSeries.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/client.py:283
↓ 1 callersFunction_percentile
Nearest-rank percentile of a non-empty list.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:720
↓ 1 callersFunction_percentile_ms_from_duration
Approximate a percentile (ms) from the sparse ``duration`` histogram (microseconds). The ``duration`` block holds parallel ``Values`` (bucket mid
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:288
↓ 1 callersFunction_phase2_plan
Functional-suite cells derived from the resolved run plan. ``args.plan_by_kind`` (built in ``main()`` from --endpoint-types / --auth-
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:3662
↓ 1 callersMethod_poll_until_ready
Poll GetJob until status exits ASSESSING/STARTING/CREATED.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/job.py:131
↓ 1 callersFunction_precedence_index
Return the documented precedence index, lowest priority for unknown names.
src/aws-healthomics-mcp-server/tests/test_mechanism_precedence.py:93
↓ 1 callersMethod_prepare_list_jobs_kwargs
Prepare kwargs for listing model import jobs. Args: request: Optional request parameters Returns: Dict[str,
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/services/model_import_service.py:201
↓ 1 callersMethod_prepare_list_models_kwargs
Prepare kwargs for listing imported models. Args: request: Optional request parameters Returns: Dict[str, An
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/services/imported_model_service.py:74
↓ 1 callersFunction_preview_captured_value
Return a compact preview for one snapshot CapturedValue.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/snapshot_parsing.py:21
↓ 1 callersFunction_previous_month
Return the previous calendar month in ``YYYY-MM``, rolling back the year. Derived here rather than imported so the boundary is checked against an
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_operations.py:208
↓ 1 callersFunction_principal_matches_healthomics
Check if a principal matches the HealthOmics principal.
src/aws-healthomics-mcp-server/tests/test_ecr_utils.py:526
↓ 1 callersMethod_print_summary
Print generation summary with flexible file listing.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/output/output_manager.py:119
↓ 1 callersMethod_process_group_stage
Process $group stage in aggregation.
src/documentdb-mcp-server/tests/conftest.py:494
↓ 1 callersMethod_process_project_stage
Process $project stage in aggregation.
src/documentdb-mcp-server/tests/conftest.py:559
↓ 1 callersMethod_process_sort_stage
Process $sort stage in aggregation.
src/documentdb-mcp-server/tests/conftest.py:573
↓ 1 callersFunction_provision_apigateway
Provision the ApiGateway deployment from operator-supplied tenant specs.
src/aws-healthomics-mcp-server/integration/deploy/cli.py:195
↓ 1 callersFunction_quote
Quote a label name or value for a PromQL selector.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/schema.py:511
↓ 1 callersFunction_raise_if_error_event
Convert a modelled error event into an exception.
src/bedrock-kb-retrieval-mcp-server/awslabs/bedrock_kb_retrieval_mcp_server/knowledgebases/agentic.py:122
↓ 1 callersFunction_read_docx_helper
Helper function to test Word document reading functionality using the actual server logic.
src/document-loader-mcp-server/tests/test_document_parsing.py:97
↓ 1 callersFunction_read_pptx_helper
Helper function to test PowerPoint presentation reading functionality using the actual server logic.
src/document-loader-mcp-server/tests/test_document_parsing.py:109
↓ 1 callersFunction_read_sub
Return a user's ``sub`` attribute via ``AdminGetUser``.
src/aws-healthomics-mcp-server/integration/deploy/cognito.py:155
↓ 1 callersFunction_read_xlsx_helper
Helper function to test Excel spreadsheet reading functionality using the actual server logic.
src/document-loader-mcp-server/tests/test_document_parsing.py:103
↓ 1 callersFunction_reconnect
Drop the cached connection and reconnect under the current TLS globals.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:3256
↓ 1 callersFunction_record
(result: TestResult)
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:3676
↓ 1 callersFunction_redact
Return ``detail`` if clean, otherwise a redacted message naming only the material type. Failure detail is built from exception text, which could
src/aws-healthomics-mcp-server/integration/deploy/common.py:197
↓ 1 callersFunction_redact_in_place
Redacts the typed sensitive fields anywhere inside an ECS API structure, in place.
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:206
↓ 1 callersMethod_register_builtin_handlers
Register built-in mock handlers.
src/cloudwatch-applicationsignals-mcp-server/evals/core/mcp_dependency_mocking_handler.py:279
↓ 1 callersFunction_register_tool
Register *fn* as an MCP tool named *name*, applying pagination hints. Every tool passes through :func:`paginating`, which only mutates the re
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/server.py:287
↓ 1 callersFunction_registered_nonblank_values
Independently compute the non-blank registered secret values the scanner honors. Mirrors the scanner's own rule: empty or blank registered values
src/aws-healthomics-mcp-server/integration/harness_tests/test_artifact_writer_property.py:55
↓ 1 callersFunction_registered_pairs
Independently compute the (type, value) pairs the scanner should honor. Mirrors the scanner's own rule: empty or blank registered values are drop
src/aws-healthomics-mcp-server/integration/harness_tests/test_credential_scan_property.py:52
↓ 1 callersFunction_registry_stage
Build the stage that creates the DynamoDB role registry and writes tenants. The registry table is created and the Tenant_A / Tenant_B records are
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:234
↓ 1 callersMethod_reject
Send a minimal HTTP 401 response without dispatching to the wrapped app. Does not leak credential details in the response body. No tool runs
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/middleware.py:225
↓ 1 callersFunction_reject_get_credits_pre_lookback_window
Reject a window that ends before the earliest date GetCredits accepts. Such a window has no overlap with the supported lookback, so clamping the
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:456
↓ 1 callersFunction_reject_month_before_earliest
Reject a billing month older than the earliest month with data. Zero-padded ``YYYY-MM`` strings compare correctly as strings, so no date arit
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/enterprise_support_operations.py:146
↓ 1 callersFunction_reject_month_not_yet_closed
Reject a billing month whose billing period has not closed yet. These APIs only serve a billing month once its billing period has closed, so
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/enterprise_support_operations.py:173
↓ 1 callersFunction_rejected
(rows)
src/postgres-mcp-server/tests/test_run_query_policy_wiring.py:315
↓ 1 callersFunction_relative_delta
(a: Optional[float], b: Optional[float])
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:482
↓ 1 callersFunction_render
(fn: str, indent: str, is_last: bool, depth: int, visited: set)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/formatting.py:72
↓ 1 callersFunction_render_create_capture_limits
( max_hits: Optional[int], max_string_length: Optional[int], max_collection_width: Optional[int],
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/crud_rendering.py:24
↓ 1 callersFunction_render_status_identifier_help
()
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/status_tools.py:64
↓ 1 callersFunction_replace_or_append_report
Replace existing cost report section or append if not found. Looks for content between REPORT_START_MARKER and REPORT_END_MARKER. If found, r
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/calculator_runner.py:52
↓ 1 callersFunction_repo_root
Return the repository root (this file is at ``integration/deploy/cli.py``).
src/aws-healthomics-mcp-server/integration/deploy/cli.py:81
↓ 1 callersFunction_report_task_results
Report results for a single task. Args: task: Task instance result: TaskResult from EvalRunner verbose: If True, include
src/cloudwatch-applicationsignals-mcp-server/evals/__main__.py:106
↓ 1 callersFunction_resolve
Resolve a configuration value with CLI-over-environment precedence. A command-line value wins when it is supplied and not empty/whitespace-only;
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:99
↓ 1 callersFunction_resolve_account_and_partition
Resolve the deployment account id and partition, calling STS lazily only if needed. When ``account_id`` is supplied (as unit tests do) no AWS cal
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:469
↓ 1 callersFunction_resolve_blocked_dirs
Builds the list of directories that user-supplied paths may never touch. Each entry is resolved with ``os.path.realpath`` so that platforms
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/path_validation.py:66
↓ 1 callersMethod_resolve_fixture_paths
Recursively resolve fixture file paths to absolute paths.
src/cloudwatch-applicationsignals-mcp-server/evals/core/mock_config_path_normalizer.py:99
↓ 1 callersFunction_resolve_get_credit_allocation_history_window
Clamp the requested range and describe both windows, logging any change. Args: ctx: The MCP context object. start_epoch: Requeste
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:644
↓ 1 callersFunction_resolve_get_credits_window
Clamp the requested range and describe both windows, logging any change. Args: ctx: The MCP context object. start_epoch: Requeste
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/credits_operations.py:522
↓ 1 callersFunction_resolve_log_groups
Resolve which log group(s) to query. When ``service_name`` is provided, query that service's group directly. Otherwise, enumerate all ``/aws/
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/cw_logs.py:108
↓ 1 callersMethod_resolve_message
Walk the exception's MRO to find the most specific safe message.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/errors.py:712
↓ 1 callersFunction_resolve_monitoring_host
Resolve the partition-correct CloudWatch (monitoring) hostname for a region. Uses botocore's endpoint resolver so every partition gets its real D
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/promql_client.py:72
↓ 1 callersFunction_resolve_region
Resolve AWS region with priority: AWS_REGION > AWS_DEFAULT_REGION > profile/config > us-east-1. We check the env vars explicitly (rather than rel
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/aws_clients.py:24
↓ 1 callersMethod_resolve_request_response_pair
Resolve a request/response pair, converting relative response path to absolute. Args: pair: Dict with 'request' and 'response' ke
src/cloudwatch-applicationsignals-mcp-server/evals/core/mock_config_path_normalizer.py:117
↓ 1 callersFunction_resolve_requested_regions
Normalize the requested `regions` list, or return a validation response. Duplicates collapse while preserving order. An empty or omitted list mea
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_tools.py:794
↓ 1 callersFunction_resolve_role_resolution_sources
Select the single active JWT role-resolution source, rejecting conflicts. The two sources ``MCP_JWT_ROLE_ARN`` (static resolver) and ``MCP_JW
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/config.py:300
↓ 1 callersMethod_resolve_selector
Resolve a CSS selector to a backend DOM node ID. Args: cdp: Active CDP session. selector: CSS selector to find in the
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/snapshot_manager.py:190
↓ 1 callersFunction_resolve_tcp_config
Resolve TCP endpoint and credentials from environment and boto3. Region resolution: discovered profile region → AWS_REGION env → profile region →
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tcp_client.py:58
↓ 1 callersFunction_resolve_write_base
Resolve the allowed base directory for write operations. All writes must resolve under this base, which prevents an LLM-controlled savePath f
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/file_validation.py:66
↓ 1 callersFunction_response_and_ctx_errors
Return visible + ctx-only errors (Data API redacts its return value).
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:2826
↓ 1 callersMethod_restore_environment_state
Restore environment variables to original state.
src/ecs-mcp-server/tests/unit/test_main.py:89
↓ 1 callersFunction_result_item
Flatten one result item into something compact and JSON-safe.
src/bedrock-kb-retrieval-mcp-server/awslabs/bedrock_kb_retrieval_mcp_server/knowledgebases/agentic.py:73
↓ 1 callersMethod_retrieve_k8s_aws_id
Retrieve the Kubernetes AWS ID from parameters.
src/eks-mcp-server/awslabs/eks_mcp_server/k8s_client_cache.py:108
↓ 1 callersFunction_role_needs
(need_iam_role, need_pw_role) for a kind, from its resolved plan.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:3811
↓ 1 callersFunction_root_identifier_keyword
Map a whole-statement bare identifier to a deny-list keyword, or None. sqlglot parses `START`/`ABORT` (and their WORK/TRANSACTION variants) as ba
src/redshift-mcp-server/awslabs/redshift_mcp_server/sql_guard.py:115
↓ 1 callersFunction_run
()
src/oracle-mcp-server/tests/test_db_connection_map.py:154
↓ 1 callersFunction_run
()
src/mssql-mcp-server/tests/test_db_connection_map.py:131
↓ 1 callersFunction_run
()
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/openapi.py:171
↓ 1 callersFunction_run
(q)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:701
↓ 1 callersFunction_run
(enable_iam_auth)
src/postgres-mcp-server/tests/test_server.py:1617
↓ 1 callersFunction_run_chunk
Execute one chunk with retry and adaptive re-chunking. Returns annotated result rows.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/cwl_insights_batch.py:263
↓ 1 callersMethod_run_custom_tests
Run custom tests defined in the configuration.
testing/mcp_test_runner.py:229
↓ 1 callersFunction_run_custom_validations
( service: str, operation: str, parameters: dict[str, Any], global_args: argparse.Namespace )
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:718
↓ 1 callersFunction_run_multi_region_list
Run and merge a regional list operation.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_tools.py:588
↓ 1 callersFunction_run_multi_tenant
Start the server in request-scoped multi-tenant mode (Phase 2). Installs the :class:`RequestScopedCredentialResolver` as the active resolver so
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/server.py:532
↓ 1 callersFunction_run_prev
(q)
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:722
← previousnext →4,701–4,800 of 32,024, ranked by callers