MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 1 callersFunction_resolve_output_dir
Resolve the output directory once and re-check it is inside the base directory. Returns: A ``(base_dir, resolved_output_dir)`` tuple of r
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:636
↓ 1 callersFunction_resolve_region
Resolve the AWS region used to sign ElastiCache IAM auth tokens. Uses VALKEY_REGION / AWS_REGION / AWS_DEFAULT_REGION (captured in VALKEY_CFG
src/valkey-mcp-server/awslabs/valkey_mcp_server/common/connection.py:44
↓ 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 callersFunction_resolve_region_for_arns
Return the region to query for the given ARNs. Compute Optimizer is regional, so every ARN must be in the queried region. When no region is g
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_tools.py:561
↓ 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:1204
↓ 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 callersFunction_resolve_secret_arn
Resolve the Secrets Manager ARN for a target, from OPERATOR configuration only. Precedence: an ARN the operator pinned to this ``instance_identif
src/db2-mcp-server/awslabs/db2_mcp_server/server.py:110
↓ 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_summaries_group_by
Validate list_recommendation_summaries group_by, accepting 'TagKey:<tag key>'. The API is case-sensitive. Fixed dimensions and the 'TagKey:' pref
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_tools.py:324
↓ 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 callersFunction_response_enums
Return {member name: enum values} for one API's response, or {} if it cannot be read.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_tools.py:226
↓ 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_revision
Describe the code under test precisely enough to find it again. The reports are excluded from the dirty check. They are this harness's output, no
src/redshift-mcp-server/e2e_tests/run.py:95
↓ 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 callersMethod_rollback_quietly
Best-effort rollback used to clean up after a mid-statement failure. Autocommit is off and the connection is cached and reused, so a statemen
src/db2-mcp-server/awslabs/db2_mcp_server/connection/ibm_db_connection.py:408
↓ 1 callersFunction_run
()
src/oracle-mcp-server/tests/test_db_connection_map.py:165
↓ 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. Each region pages independently, so `max_items` applies per region. The regional service tokens are
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_tools.py:914
↓ 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
↓ 1 callersMethod_run_prompt_test
Run a prompt get test.
testing/mcp_test_runner.py:315
↓ 1 callersMethod_run_protocol_tests
Run basic MCP protocol tests.
testing/mcp_test_runner.py:79
↓ 1 callersFunction_run_pytest
Run the selected integration tests in a subprocess with ``env_overrides`` applied. The Opt_In_Signal is enabled and the run config's ``AHO_ITEST_
src/aws-healthomics-mcp-server/integration/deploy/cli.py:240
↓ 1 callersMethod_run_resource_test
Run a resource read test.
testing/mcp_test_runner.py:284
↓ 1 callersFunction_run_scenario
Drive ``with_retries`` over ``outcomes`` with a fake clock and fake sleep. ``outcomes[i]`` is ``True`` when the i-th attempt succeeds and ``False
src/aws-healthomics-mcp-server/integration/harness_tests/test_retry_property.py:43
↓ 1 callersMethod_run_tool_test
Run a tool call test.
testing/mcp_test_runner.py:252
↓ 1 callersFunction_safe_model_validate
Validate optional metadata, dropping it (returning None) on any error. Metadata is best-effort enrichment: a malformed block from the search back
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_aws.py:61
↓ 1 callersMethod_sanitize_dict
Sanitizes a dictionary. Args: data: The dictionary to sanitize tool_name: Name of the tool generating the re
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:346
↓ 1 callersMethod_save_scans
(self, scans: dict)
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:136
↓ 1 callersFunction_scan_for_instruction_artifact
Paginated ListArtifacts scan for an instruction artifact. Returns (matching artifact or None, folders seen across all pages).
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/load_instructions.py:47
↓ 1 callersFunction_schema_enum
The enum of a parameter, through the anyOf an Optional type renders as.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:1269
↓ 1 callersFunction_schema_properties
(tools)
src/billing-cost-management-mcp-server/tests/test_server_instructions.py:117
↓ 1 callersFunction_selected_services
Return the distinct SERVICE values a filter expression selects, in order. Walks Dimensions and nested And / Or. Values under Not are not counted:
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/ri_performance_tools.py:275
↓ 1 callersFunction_semantic
( 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:187
↓ 1 callersFunction_serialize_item
Serialize a tenant record into DynamoDB low-level attribute values. ``TenantRecord.to_registry_item`` yields plain Python values (``{identity
src/aws-healthomics-mcp-server/integration/deploy/registry.py:104
↓ 1 callersFunction_serialize_item
Serialize a plain-Python record into DynamoDB attribute-value form.
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:52
↓ 1 callersFunction_series_output
Shape one PromQL series for tool output, resolving task identity.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:140
↓ 1 callersFunction_serve_asgi_app
Serve a wrapped ASGI application on the configured host/port. The MCP SDK's ``run_streamable_http_async`` / ``run_sse_async`` entry points bu
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/server.py:502
↓ 1 callersFunction_server_stage
Build the stage that stands up the loopback-bound server and its VPC link. The server is created bound to ``127.0.0.1`` with the injected environ
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:262
↓ 1 callersFunction_service_full_name
(service_model: ServiceModel)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:931
↓ 1 callersFunction_session_is_encrypted
True if the current backend's connection is SSL (pg_stat_ssl).
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:3283
↓ 1 callersFunction_significant_tokens
Return PostgreSQL tokens other than comments.
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/sql_guard.py:268
↓ 1 callersFunction_skip_reasons
Extract the ``reason`` of every ``skip`` marker applied to ``item``. ``pytest.mark.skip(reason=...)`` yields a ``MarkDecorator`` whose ``name`` i
src/aws-healthomics-mcp-server/integration/harness_tests/test_opt_in_gate.py:156
↓ 1 callersFunction_sleep_backoff
Exponential backoff between retries (no sleep after the final attempt).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/promql_client.py:184
↓ 1 callersFunction_source_read_failure_sources
A source that raises ``RegistrySourceError`` on lookup (read/query failure).
src/aws-healthomics-mcp-server/tests/test_registry_fail_closed_property.py:178
↓ 1 callersFunction_spend
Reshape a Spend object, or None when it is absent.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/budget_tools.py:1032
↓ 1 callersFunction_split_csv
Split a comma-separated CLI value into a list of trimmed, lowercased tokens.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:514
↓ 1 callersFunction_split_range_by_month
Split an over-long range into per-month sub-ranges the service accepts. Used to turn an over-long ``start_date``/``end_date`` range into the exac
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/invoicing_operations.py:145
↓ 1 callersFunction_split_summary
Separate the agent's summary from the rest of what it said. Found by searching rather than by matching a whole line, because the CLI streams one
src/redshift-mcp-server/e2e_tests/run.py:212
↓ 1 callersFunction_sql_only
Return the SQL from a corpus that may hold plain strings or (label, sql).
src/postgres-mcp-server/tests/test_policy_matrix.py:67
↓ 1 callersFunction_ssl_context_for_aws_endpoint
Build an SSL context that can validate truststore.pki.rds.amazonaws.com. Python's urllib uses the system trust store on Linux, which on some dev
src/mysql-mcp-server/hatch_build.py:59
↓ 1 callersFunction_ssl_context_for_aws_endpoint
Build an SSL context that can validate the AWS download endpoints. Prefer certifi's bundled CA store when available (the canonical public-int
src/postgres-mcp-server/hatch_build.py:132
↓ 1 callersFunction_start_and_poll
Start a single Insights query and poll until terminal state. Acquires the region semaphore for the full lifetime of the query (start → poll →
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/cwl_insights_batch.py:147
↓ 1 callersFunction_start_template_generation
Start a new template generation process. Args: cfn_client: Boto3 CloudFormation client template_name: Name for the generated temp
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/iac_generator.py:76
↓ 1 callersFunction_starts_before_default_history
True if any period start is older than the default 13-month history.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_comparison_tools.py:266
↓ 1 callersFunction_startup_validation_uses_serving_loop
Return whether startup validation must run on MCP's serving loop. Loop-affine connectors set ``requires_serving_loop`` on the class. The clas
src/postgres-mcp-server/awslabs/postgres_mcp_server/server.py:141
↓ 1 callersFunction_stored_columns
(session_db, table_name)
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils_bounded_handle.py:64
↓ 1 callersFunction_stored_value
(session_db, table_name, column)
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils_bounded_handle.py:72
↓ 1 callersFunction_strip_comments
Strip inline comments (CWLI #, SQL -- and /* */).
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/query_parser.py:168
↓ 1 callersFunction_strip_mysql_hash_comments
r"""Remove MySQL ``#`` line comments while preserving string literals. sqlparse only strips the space-prefixed ``# `` form, leaving the no-space
src/mysql-mcp-server/awslabs/mysql_mcp_server/mutable_sql_detector.py:305
↓ 1 callersMethod_stubbed_client
Build a real billing client with stubbed pages. Args: page_tokens: Continuation token for each page, None on the last. R
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:1019
↓ 1 callersFunction_summaries_group_limit_warning
Warn that a summaries result reached the service's group limit and may be cut.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_helpers.py:310
↓ 1 callersFunction_summary
(maximum=None, average=None, total_delta=None, average_rate=None, count=10)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:64
↓ 1 callersFunction_summary_dict
(summary: SeriesSummary)
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_metrics.py:131
↓ 1 callersFunction_summary_for
( summaries: Dict[str, Dict[str, SeriesSummary]], metric: str, task_id: str )
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/analysis.py:117
↓ 1 callersMethod_summary_record
Build a minimal endpoint_summary OTLP record.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:550
↓ 1 callersMethod_summary_status
Send a message to the assistant and return its status summary with recent worklogs.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/job_status.py:143
↓ 1 callersMethod_switch_sigv4_region
Handle region selection for SigV4 callers.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/configure.py:561
↓ 1 callersFunction_table_is_parquet
True for a Parquet table, False for CSV, None when ``table_format`` is neither. ``table_format`` is the table's lowercase input format, else its
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/storage_lens_tools.py:381
↓ 1 callersFunction_tag_filter_hint
Return a hint for a Tags filter that Cost Explorer accepts but that cannot match. getCostAndUsage, getCostAndUsageWithResources, getDimensionValu
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_explorer_tools.py:570
↓ 1 callersFunction_tag_keys_error
A validation error for the tag_keys parameter, returned before any API call.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_allocation_tags_tools.py:91
↓ 1 callersFunction_tag_leaf_hints
Return the hints for one Tags leaf whose key or values cannot match.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_explorer_tools.py:529
↓ 1 callersFunction_tags_leaves
Return every Tags leaf in a filter expression, walking And, Or and Not.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_explorer_tools.py:515
↓ 1 callersFunction_target_matches_instance
Return True when a target is a healthy RDS instance target for this instance. ``Type`` matters: it excludes TRACKED_CLUSTER and RDS_SERVERLESS_EN
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/cp_api_connection.py:201
↓ 1 callersFunction_teardown
Apply the configured teardown, reporting rather than raising if it fails. Called from a `finally`, so raising here would replace whatever went wr
src/redshift-mcp-server/e2e_tests/run.py:445
↓ 1 callersFunction_tenant_records
Build the Tenant_A / Tenant_B records used to drive provisioning.
src/aws-healthomics-mcp-server/integration/harness_tests/test_registry.py:51
↓ 1 callersFunction_tenant_specs_from_env
Return tenant specs parsed from :data:`TENANTS_ENV`, or an empty list if unset.
src/aws-healthomics-mcp-server/integration/deploy/cli.py:132
↓ 1 callersFunction_terms
Yield the terms a WHERE or HAVING joins with AND and OR, looking through NOT.
src/redshift-mcp-server/tests/test_review_executor.py:47
↓ 1 callersMethod_test_additional_access_patterns
Test additional access patterns beyond basic CRUD
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/deals/usage_examples.py:818
↓ 1 callersMethod_test_additional_access_patterns
Test additional access patterns beyond basic CRUD
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/package_delivery/usage_examples.py:857
↓ 1 callersMethod_test_additional_access_patterns
Test additional access patterns beyond basic CRUD
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/gaming_leaderboard/usage_examples.py:589
↓ 1 callersMethod_test_additional_access_patterns
Test additional access patterns beyond basic CRUD
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/ecommerce/usage_examples.py:1119
↓ 1 callersMethod_test_additional_access_patterns
Test additional access patterns beyond basic CRUD
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/elearning/usage_examples.py:1128
↓ 1 callersMethod_test_additional_access_patterns
Test additional access patterns beyond basic CRUD
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/food_delivery/usage_examples.py:596
↓ 1 callersMethod_test_additional_access_patterns
Test additional access patterns beyond basic CRUD
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_registration/usage_examples.py:299
↓ 1 callersMethod_test_additional_access_patterns
Test additional access patterns beyond basic CRUD
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_analytics/usage_examples.py:175
↓ 1 callersMethod_test_additional_access_patterns
Test additional access patterns beyond basic CRUD
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/saas/usage_examples.py:1480
↓ 1 callersMethod_test_additional_access_patterns
Test additional access patterns beyond basic CRUD
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/social_media/usage_examples.py:669
↓ 1 callersMethod_test_client_connectivity
Test client connectivity with a simple operation. Args: service_name: Name of the AWS service client: AWS service cli
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/aws_client.py:248
← previousnext →5,401–5,500 of 35,417, ranked by callers