MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 1 callersFunctionregister_troubleshooting_prompts
Register multiple prompt patterns that all return the same tool. Args: mcp: FastMCP instance prompt_groups: Dict mapping des
src/ecs-mcp-server/awslabs/ecs_mcp_server/modules/troubleshooting.py:30
↓ 1 callersMethodregister_user
Create user and email lookup atomically Args: user: User entity to process email_lookup: EmailLookup entity to proces
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_registration/transaction_service.py:42
↓ 1 callersFunctionregistry_policy_scenario_strategy
Generate a registry policy scenario for validation testing. Returns a dict with: - has_policy: Whether a registry policy exists - has_hea
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:5853
↓ 1 callersFunctionreleases
Return this package's releases, oldest first.
src/aws-healthomics-mcp-server/scripts/changelog_release.py:78
↓ 1 callersFunctionremove_color
Remove a color from the color palette.
samples/mcp-integration-with-nova-canvas/user_interfaces/image_generator_st.py:54
↓ 1 callersMethodremove_connection
Remove a connection by object identity, regardless of its map key. Prefer this over ``remove()`` when evicting a connection you already
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:112
↓ 1 callersFunctionremove_instance_from_image_set
Remove a specific instance from an image set using DICOM hierarchy operations.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/server.py:698
↓ 1 callersFunctionremove_session_client
Remove a session client after the session is stopped. Args: session_id: The session ID to remove.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/code_interpreter/client.py:125
↓ 1 callersMethodrename_columns
(self, names)
src/s3-tables-mcp-server/tests/test_file_processor_utils.py:320
↓ 1 callersFunctionrename_field_kwargs
Rewrite camelCase *keyword arguments* to SDK models: `CallToolResult(isError=True)`. Returns (new_text, rewrites, skipped_field_names). Why
scripts/migrate-mcp-v2.py:319
↓ 1 callersFunctionrender
Build the agent config. Args: config: The harness config. sts: An STS client, used to assume the denied-batch role. Returns:
src/redshift-mcp-server/e2e_tests/agent.py:176
↓ 1 callersFunctionrender_client_error
Render a tool-tailored failure block for a botocore ``ClientError``. Tools share the same skeleton — ``Failed to {action}``, an ``Error:`` line,
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/error_translation.py:64
↓ 1 callersFunctionrender_consolidated_error_or_pending_status_output
Render a consolidated status response for ERROR or PENDING outcomes.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/status_rendering.py:224
↓ 1 callersFunctionrender_consolidated_ready_status_output
Render a consolidated status response when READY is the best confirmed state.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/status_rendering.py:179
↓ 1 callersFunctionrender_create_success_message
Render the success message for a created instrumentation configuration.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/crud_rendering.py:68
↓ 1 callersFunctionrender_get_instrumentation_configuration_status_output
Render the explicit status-history response.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/status_rendering.py:23
↓ 1 callersFunctionrender_get_instrumentation_output
Render the output for a single get-instrumentation result.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/crud_rendering.py:260
↓ 1 callersFunctionrender_get_sample_snapshot_for_breakpoint_output
Render the sample-snapshot response as JSON text.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/snapshot_rendering.py:119
↓ 1 callersFunctionrender_guide
Build the guide scenario's agent config: the default server alone, and no builtins. Args: config: The harness config. Returns:
src/redshift-mcp-server/e2e_tests/agent.py:252
↓ 1 callersFunctionrender_list_instrumentations_output
Render the output for a list-instrumentations result.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/crud_rendering.py:169
↓ 1 callersFunctionrender_search_snapshots_for_status_event_output
Render the snapshot-search response as JSON text.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/snapshot_rendering.py:25
↓ 1 callersFunctionrender_status_assessment
Dispatch a ``Verdict`` to the appropriate consolidated-status renderer. Each existing renderer keeps its own prose contract; this function only
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/status_rendering.py:303
↓ 1 callersMethodreplace_one
Mock replace_one operation that applies filters. Args: filter: Query filter to find the document to replace replaceme
src/documentdb-mcp-server/tests/conftest.py:399
↓ 1 callersFunctionreport
Print a human-readable table of the planned or applied changes.
scripts/migrate-mcp-v2.py:853
↓ 1 callersFunctionrepository_template_scenario_strategy
Generate a repository template scenario for validation testing. Returns a dict with: - template_exists: Whether a template exists - has_p
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:5926
↓ 1 callersFunctionrequest_consent
Request consent of the user using elicitation.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/service.py:52
↓ 1 callersFunctionreset_to_real_secret
()
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:1892
↓ 1 callersMethodresolve
Resolve the :class:`RoleTarget` for the given decoded token claims. Args: claims: The decoded (already signature-verified upstrea
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/mechanisms/role_resolver.py:130
↓ 1 callersFunctionresolve_and_validate_path
Resolve and validate file path within base directory.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/db_analyzer/analyzer_utils.py:30
↓ 1 callersFunctionresolve_cluster
Look up an Aurora cluster and return its describe_db_clusters entry.
src/postgres-mcp-server/tests/e2e/proxy_e2e_test.py:397
↓ 1 callersMethodresolve_method_mock_config
Resolve a single method mock configuration. Takes a dict with 'request' and 'response' keys. If 'response' is a file path, loads the
src/cloudwatch-applicationsignals-mcp-server/evals/core/mcp_dependency_mocking_handler.py:95
↓ 1 callersMethodresolve_method_mock_configs
Resolve a list of method mock configurations. Note: Empty service configs like {'boto3': {}} are valid for preventing real API calls
src/cloudwatch-applicationsignals-mcp-server/evals/core/mcp_dependency_mocking_handler.py:133
↓ 1 callersMethodresolve_mock_config
Resolve all relative fixture paths in a mock configuration to absolute paths. Args: mock_config: Mock configuration dictionary (m
src/cloudwatch-applicationsignals-mcp-server/evals/core/mock_config_path_normalizer.py:58
↓ 1 callersFunctionresolve_run_plan
Validate requested endpoint/auth types against the capability matrix. Returns ``(endpoint_kinds, plan_by_kind, serverless_pgwire)`` where ``p
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:546
↓ 1 callersFunctionresolve_support_case
Resolve a support case. ## Usage - You must provide a valid case ID - The case must be in an open state to be resolved ## Example
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/server.py:593
↓ 1 callersMethodresolver_with_no_record
(self, caller_claim: str = 'sub')
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:98
↓ 1 callersMethodresolver_with_read_failure
(self, caller_claim: str = 'sub')
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:101
↓ 1 callersFunctionresource_label
Return the PromQL label for an OTLP resource attribute key.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/schema.py:63
↓ 1 callersFunctionrun
()
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3100
↓ 1 callersFunctionrun
Submit one statement and settle it, raising unless it finished.
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:1401
↓ 1 callersFunctionrun
(ctx: StageContext)
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:249
↓ 1 callersMethodrun_all
Run all tasks and return results.
src/cloudwatch-applicationsignals-mcp-server/evals/core/eval_runner.py:42
↓ 1 callersFunctionrun_conversation
Run the agent loop for task completion. Args: llm_provider: LLMProvider instance for agent interactions session: MCP client sessi
src/cloudwatch-applicationsignals-mcp-server/evals/core/conversation_runner.py:165
↓ 1 callersFunctionrun_endpoint_validation_suite
Test the endpoint-validation security check in internal_connect_to_database. Positive case: caller-supplied db_endpoint matches the cluster's wri
src/mysql-mcp-server/scripts/e2e_integration_check.py:88
↓ 1 callersFunctionrun_endpoint_validation_suite
Test the endpoint-validation security check in internal_create_connection. The connection method used for the positive case is picked to match th
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:1639
↓ 1 callersMethodrun_examples
Run CRUD examples for all entities
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/deals/usage_examples.py:70
↓ 1 callersMethodrun_examples
Run CRUD examples for all entities
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/package_delivery/usage_examples.py:68
↓ 1 callersMethodrun_examples
Run CRUD examples for all entities
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/gaming_leaderboard/usage_examples.py:54
↓ 1 callersMethodrun_examples
Run CRUD examples for all entities
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/ecommerce/usage_examples.py:90
↓ 1 callersMethodrun_examples
Run CRUD examples for all entities
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/elearning/usage_examples.py:79
↓ 1 callersMethodrun_examples
Run CRUD examples for all entities
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/food_delivery/usage_examples.py:53
↓ 1 callersMethodrun_examples
Run CRUD examples for all entities
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_registration/usage_examples.py:56
↓ 1 callersMethodrun_examples
Run CRUD examples for all entities
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_analytics/usage_examples.py:27
↓ 1 callersMethodrun_examples
Run CRUD examples for all entities
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/saas/usage_examples.py:106
↓ 1 callersMethodrun_examples
Run CRUD examples for all entities
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/social_media/usage_examples.py:57
↓ 1 callersFunctionrun_gremlin_query
Executes the provided Tinkerpop Gremlin against the graph.
src/amazon-neptune-mcp-server/awslabs/amazon_neptune_mcp_server/server.py:108
↓ 1 callersFunctionrun_privilege_enforcement_suite
Verify the least-privilege guardrail (``server.privilege_check_policy``). Exercises both a superuser and (when provisioned) a least-privilege rol
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:3387
↓ 1 callersFunctionrun_query_enforcement_suite
Verify run_query's allow/block decisions under both readonly settings. The MCP server's ``--allow_write_query`` flag maps directly to the ``s
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:2699
↓ 1 callersFunctionrun_query_suite
Test basic query execution against the cluster after validation passes. This confirms that the endpoint validation doesn't break legitimate c
src/mysql-mcp-server/scripts/e2e_integration_check.py:251
↓ 1 callersFunctionrun_secret_arn_validation_suite
Test Secrets-Manager-ARN resolution against a real Aurora cluster. Resolution priority is: configured_secret_arns[target] > configured_default_se
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:1770
↓ 1 callersFunctionrun_server
Import and run the MCP server module. Args: server_path: Path to server.py file server_cwd: Working directory for the server (opt
src/cloudwatch-applicationsignals-mcp-server/evals/core/eval_mcp_server_wrapper.py:82
↓ 1 callersFunctionrun_service_trace_audit
Run a trace-only Application Signals audit for one service (or all via wildcard). This is the importable seam used by the service_events ``get_in
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:945
↓ 1 callersFunctionrun_snapshot_tests
Run the snapshot tests.
src/dynamodb-mcp-server/tests/repo_generation_tool/scripts/manage_snapshots.py:280
↓ 1 callersFunctionrun_startup_secret_arn_validation_suite
Test that main()'s startup probe fails fast on an unreadable ARN. Drives server.main() twice via monkeypatched sys.argv: 1. Unreadable ARN
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:2238
↓ 1 callersMethodrun_task
Run a single task. Connects to MCP server, executes agent loop, validates results, and cleans up.
src/cloudwatch-applicationsignals-mcp-server/evals/core/eval_runner.py:62
↓ 1 callersFunctionrun_test_suite
Run the full MCP tool test suite against one cluster.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:1412
↓ 1 callersMethodrun_tests
Run the complete test pipeline.
testing/mcp_test_runner.py:55
↓ 1 callersFunctionrun_tls_enforcement_suite
Validate TLS enforcement on the psycopg (PG Wire) path against a real cluster. Mirrors ``run_query_enforcement_suite``: toggles ``server.configur
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:3170
↓ 1 callersFunctionsafe_write
Write ``text`` to ``path`` only after the scanner proves it clean. The text is scanned with ``scanner`` before any bytes touch disk. If any regis
src/aws-healthomics-mcp-server/integration/harness/credential_scan.py:116
↓ 1 callersFunctionsanitize_session_name
Return ``value`` sanitized into a valid STS ``RoleSessionName``. This mirrors ``jwt_exchange._sanitize_session_name`` exactly: characters outside
src/aws-healthomics-mcp-server/integration/deploy/iam.py:78
↓ 1 callersFunctionsanitize_string
Sanitize a string by escaping HTML entities and limiting length. Args: text: The string to sanitize max_length: Maximum allowed l
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:420
↓ 1 callersFunctionsanitized_exceptions
Decorator that catches and sanitizes all OSErrors.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/errors.py:720
↓ 1 callersMethodsave
Atomically write the inventory to ``path`` as JSON. The content is written to a temporary file in the same directory and then moved i
src/aws-healthomics-mcp-server/integration/harness/inventory.py:160
↓ 1 callersFunctionsave_metrics
Save metrics data to the JSON file. Args: metrics_data: Metrics data to save
src/eks-mcp-server/awslabs/eks_mcp_server/scripts/update_eks_cloudwatch_metrics_guidance.py:227
↓ 1 callersMethodscan_available_experienced_drivers
Scan for available drivers with minimum deliveries and rating Args: available_flag: Available flag min_deliveries: Mi
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/food_delivery/repositories.py:707
↓ 1 callersMethodscan_drivers_by_skill
Scan drivers filtering by a skill tag and name prefix Args: skill_tag: Skill tag name_prefix: Name prefix
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/food_delivery/repositories.py:660
↓ 1 callersMethodscan_high_rated_active_restaurants
Scan for active restaurants with rating above threshold Args: min_rating: Min rating active_status: Active status
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/food_delivery/repositories.py:586
↓ 1 callersMethodscan_restaurants_by_cuisine
Scan restaurants filtering by cuisine type containing a keyword Args: cuisine_keyword: Cuisine keyword limit: Maximum
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/food_delivery/repositories.py:543
↓ 1 callersFunctionscope_reserved_instances_details
Keep only the RI rows for the recommendation's account, instance type and Region.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/recommendation_details_tools.py:296
↓ 1 callersFunctionscope_savings_plans_details
Keep only the Savings Plans rows for a Linked recommendation's account.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/recommendation_details_tools.py:363
↓ 1 callersFunctionscore_fields
Score candidate fields. Returns sorted list of (name, score, breakdown, fu).
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/scoring.py:184
↓ 1 callersFunctionscore_fields_lightweight
Lightweight scoring without existence/cardinality (for account-level scan).
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/scoring.py:250
↓ 1 callersFunctionsdk_type_names
Return (directly imported `mcp.types` names, aliases the module is bound to). Two forms in this repo: `from mcp.types import CallToolResult, Tool
scripts/migrate-mcp-v2.py:299
↓ 1 callersFunctionsearch_by_series_uid
Search for image sets by series instance UID.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/server.py:547
↓ 1 callersFunctionsearch_by_study_uid
Search for image sets by study instance UID.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/server.py:535
↓ 1 callersFunctionsearch_cdk_documentation
Searches AWS CDK documentation knowledge bases and returns relevant excerpts. ## Usage This tool searches across multiple CDK documentation
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/server.py:297
↓ 1 callersFunctionsearch_cloudformation_documentation
Searches AWS CloudFormation documentation knowledge bases and returns relevant excerpts. ## Usage This tool searches AWS CloudFormation docu
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/server.py:361
↓ 1 callersFunctionsearch_image_sets
Search for image sets in a data store.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/server.py:279
↓ 1 callersFunctionsearch_nearby
Search for places near a location using Amazon Location Service geo-places search_nearby API. If no results, expand the radius up to max_radius. Outpu
src/aws-location-mcp-server/awslabs/aws_location_server/server.py:435
↓ 1 callersMethodsearch_warehouses_by_name
Search warehouses by name prefix within a city Projection: KEYS_ONLY Returns dict with keys: city, name, warehouse_id, sort_key
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/package_delivery/repositories.py:477
↓ 1 callersFunctionsend
(message)
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:92
↓ 1 callersMethodseries
List label sets of series matching the given selectors in the window. Used to discover which vended metrics actually have data for a run
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/client.py:249
↓ 1 callersMethodseries
(values, task='t1')
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:204
↓ 1 callersFunctionserver_lifespan
Server lifespan context manager for initialization and cleanup. Provides safe access to async server methods during startup for operatio
src/ecs-mcp-server/awslabs/ecs_mcp_server/main.py:67
↓ 1 callersMethodset
Set a value in the cache.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/cache_provider.py:55
↓ 1 callersMethodsetUp
Initialize clean logging state.
src/ecs-mcp-server/tests/unit/test_main.py:115
↓ 1 callersMethodset_log_level
Set logging level environment variable.
src/ecs-mcp-server/tests/unit/test_main.py:103
↓ 1 callersMethodset_readonly
Set the read-only mode.
src/iam-mcp-server/awslabs/iam_mcp_server/context.py:58
↓ 1 callersMethodset_region
Set the AWS region.
src/iam-mcp-server/awslabs/iam_mcp_server/context.py:53
↓ 1 callersMethodset_require_confirmation
Set whether write operations require confirmation.
src/iam-mcp-server/awslabs/iam_mcp_server/context.py:68
← previousnext →6,501–6,600 of 35,417, ranked by callers