Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
35,417 in github.com/awslabs/mcp
⨍
Functions
35,417
◇
Types & classes
5,673
↳
Endpoints
3,994
↓ 1 callers
Method
end_task
Mark task end time.
src/cloudwatch-applicationsignals-mcp-server/evals/core/metrics_tracker.py:40
↓ 1 callers
Method
enroll_user_in_course
Enroll user in a course
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/elearning/repositories.py:254
↓ 1 callers
Function
ensure_cluster
Bring the cluster to `available`, creating or resuming it as needed. Two nodes, not one: a single-node cluster differs in slice layout and concur
src/redshift-mcp-server/e2e_tests/deploy.py:401
↓ 1 callers
Function
ensure_denied_batch_role
Create the role the harness assumes to run the server without the batch action. Trusts the account, so any principal in it that may call AssumeRo
src/redshift-mcp-server/e2e_tests/deploy.py:252
↓ 1 callers
Function
ensure_s3_read_role
Create the role Redshift assumes to read the sample-data bucket. Args: iam: An IAM client. name: Role name from the config.
src/redshift-mcp-server/e2e_tests/deploy.py:233
↓ 1 callers
Function
ensure_string
Ensure value is a string, not a FieldInfo object.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/utils/validation.py:62
↓ 1 callers
Function
ensure_workgroup
Bring one namespace and its workgroup up, creating whichever is missing. The sample-data role is attached at namespace creation, which is why Ser
src/redshift-mcp-server/e2e_tests/deploy.py:618
↓ 1 callers
Function
enterprise_support
FastMCP wrapper for Enterprise Support operations. Thin wrapper so the routing logic in ``_enterprise_support`` can be unit tested directly (
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/enterprise_support_tools.py:180
↓ 1 callers
Function
equals
Test if two values are equal.
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/template/renderer.py:56
↓ 1 callers
Function
error_result
(message: str)
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/tools/cloudformation_compliance_checker.py:153
↓ 1 callers
Method
esm_deployment_precheck_tool
Validate deployment readiness and confirm user intent before ESM deployment. This tool performs pre-deployment validation by: 1. Anal
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/esm/esm_guidance.py:904
↓ 1 callers
Method
esm_generate_update_template_tool
Generate SAM template and deployment scripts for ESM configuration updates. Creates a complete infrastructure-as-code solution for updating E
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/esm/esm_recommend.py:680
↓ 1 callers
Method
esm_get_config_tradeoff_tool
Analyze ESM configuration tradeoffs for specific optimization targets. Provides comprehensive analysis of how different ESM configuration par
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/esm/esm_recommend.py:326
↓ 1 callers
Method
esm_msk_security_group_tool
Generate SAM template with security group rules for MSK ESM connectivity. Creates CloudFormation resources for security group ingress and egr
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/esm/esm_guidance.py:808
↓ 1 callers
Method
esm_networking_guidance_tool
Provides comprehensive networking guidance for VPC-based Event Source Mappings. This tool answers networking questions about ESM connectivity
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/esm/esm_guidance.py:964
↓ 1 callers
Method
esm_sqs_concurrency_guidance_tool
Provides SQS-specific concurrency and scaling guidance for Lambda ESM. Analyzes SQS queue characteristics and provides recommendations for:
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/esm/esm_guidance.py:385
↓ 1 callers
Method
esm_validate_configs_tool
Validate ESM configurations against AWS limits and event source restrictions. Performs comprehensive validation including: 1. Event s
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/esm/esm_recommend.py:579
↓ 1 callers
Method
execute_managed_mode
Execute MySQL analysis in managed mode. Supports two connection methods: - RDS Data API: Uses cluster_arn for serverless Aurora conne
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/db_analyzer/mysql.py:375
↓ 1 callers
Function
execute_query
Executes a read-only (SELECT) query against the database.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/server.py:126
↓ 1 callers
Method
execute_query
Execute a SQL query. Args: sql: The SQL query to execute parameters: Optional parameters for the query ma
src/oracle-mcp-server/awslabs/oracle_mcp_server/connection/abstract_db_connection.py:42
↓ 1 callers
Method
execute_query
(self, sql, parameters=None)
src/mysql-mcp-server/tests/test_abstract_db_connection.py:109
↓ 1 callers
Method
execute_query
Execute a SQL query using async connection.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/psycopg_pool_connection.py:581
↓ 1 callers
Method
execute_query
Record the SQL and return the preset response or raise the preset error.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:82
↓ 1 callers
Function
execute_tool
Execute a tool call (MCP tool or file operation). Args: tool_name: Name of the tool to execute tool_input: Input parameters for t
src/cloudwatch-applicationsignals-mcp-server/evals/core/conversation_runner.py:68
↓ 1 callers
Function
execution_role_permission_policy
Return the permission policy for the AgentCore execution role. Grants exactly what the deployed server needs to run the multi-tenant demonstratio
src/aws-healthomics-mcp-server/integration/deploy/iam.py:244
↓ 1 callers
Function
execution_role_trust_policy
Return the trust policy for the AgentCore execution role. Trusts the ``bedrock-agentcore`` service principal so AgentCore Runtime can assume the
src/aws-healthomics-mcp-server/integration/deploy/iam.py:223
↓ 1 callers
Function
exists
Test if a value exists (not None and not empty string).
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/template/renderer.py:60
↓ 1 callers
Function
expand_user_home_directory
Expand paths beginning with '~' or '~user'.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/helpers.py:75
↓ 1 callers
Function
extract_costs
Recursively extract costs from nested dictionaries.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:439
↓ 1 callers
Function
extract_dependencies
Extract dependency names from pyproject.toml file.
scripts/verify_package_name.py:61
↓ 1 callers
Function
extract_dynamic_hitl_fields
Walk a DynamicHITLRenderEngine JSON DOM tree and collect all fieldId values.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:741
↓ 1 callers
Function
extract_field_defaults
Extract default values from Field annotations in an MCP tool function. Args: tool_func: The MCP tool function to analyze Returns:
src/aws-healthomics-mcp-server/tests/test_helpers.py:65
↓ 1 callers
Method
extract_filename_components
Extract useful components from a file path for matching. Args: file_path: Full file path Returns: Dictionary
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/pattern_matcher.py:172
↓ 1 callers
Function
extract_items
Extract items into a list of strings.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:534
↓ 1 callers
Function
extract_package_from_base64_config
Extract package names from Base64 encoded or URL-encoded JSON config.
scripts/verify_package_name.py:82
↓ 1 callers
Function
extract_package_name
Extract the package name from pyproject.toml file.
scripts/verify_package_name.py:45
↓ 1 callers
Function
extract_package_name
Extract the package name from pyproject.toml file.
scripts/verify_tool_names.py:64
↓ 1 callers
Function
extract_paths
(obj, prefix='')
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/analytic_tools.py:215
↓ 1 callers
Function
extract_result_data
Extract structured data from CallToolResult content. The new CallToolResult format stores structured data as JSON in the second TextContent i
src/aws-dataprocessing-mcp-server/tests/test_utils.py:57
↓ 1 callers
Function
extract_text
(number)
src/document-loader-mcp-server/tests/test_timeout_cancellation.py:308
↓ 1 callers
Function
factory
(region=None)
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:1795
↓ 1 callers
Function
failure_warning
Build the warning for a result cut short by a failed page.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:592
↓ 1 callers
Function
fetch_documentation_page
Fetch the AWS documentation page containing the metrics table. Returns: str: HTML content of the documentation page
src/eks-mcp-server/awslabs/eks_mcp_server/scripts/update_eks_cloudwatch_metrics_guidance.py:46
↓ 1 callers
Function
fetch_html
Fetch a page as HTML, failing when the server sends anything else.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_utils.py:215
↓ 1 callers
Function
fetch_metric_stats
Fetch CloudWatch metric statistics. Args: cloudwatch_client: Boto3 CloudWatch client namespace: CloudWatch namespace metr
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/utils.py:224
↓ 1 callers
Method
fetchall
Fetch all rows. Returns: list: List of rows
src/postgres-mcp-server/tests/conftest.py:422
↓ 1 callers
Method
fetchmany
Return at most size mock rows.
src/oracle-mcp-server/tests/conftest.py:68
↓ 1 callers
Function
field_policy
Decide which renamed fields are safe to rewrite across one server. This is a per-server decision, not per-file: a model can be declared in one mo
scripts/migrate-mcp-v2.py:580
↓ 1 callers
Function
find_all_tools_in_package
Find all tool definitions in a package directory. Returns: List of tuples: (tool_name, file_path, line_number)
scripts/verify_tool_names.py:196
↓ 1 callers
Function
find_package_references_in_readme
Find all package name references in the README file with line numbers.
scripts/verify_package_name.py:133
↓ 1 callers
Function
find_paths
(obj, paths=None)
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/tools/cloudformation_compliance_checker.py:110
↓ 1 callers
Function
find_servers
Return sorted names of servers under `src/` that need any part of the migration. A server qualifies if it imports the v1 module, reads a renamed
scripts/migrate-mcp-v2.py:505
↓ 1 callers
Function
find_tool_decorators
Find all tool definitions in a Python file and extract tool names. Supports all tool registration patterns: - Pattern 1: @mcp.tool(name='tool
scripts/verify_tool_names.py:106
↓ 1 callers
Function
first_release
Return the earliest release containing `commit`, or None if unreleased.
src/aws-healthomics-mcp-server/scripts/changelog_release.py:107
↓ 1 callers
Function
flatten_dict
(d, parent_key='', sep='_')
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:1276
↓ 1 callers
Method
follow_user
Follow a user
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/social_media/repositories.py:153
↓ 1 callers
Function
format_action_definition
Formats an action Definition — one of IAM / SCP / SSM sub-definitions.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/budget_tools.py:968
↓ 1 callers
Function
format_auto_adjust
Formats AutoAdjustData, returning only the fields the API set.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/budget_tools.py:920
↓ 1 callers
Method
format_details
Unsupported — a hash has no fields; describe() gives a one-liner.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/location.py:194
↓ 1 callers
Function
format_entity_imports
Format entity imports for repositories file.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/utils.py:341
↓ 1 callers
Function
format_error_message
Format an error message for user display. Args: error_code: The error code error_message: The error message operation: Th
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/errors.py:106
↓ 1 callers
Function
format_list_as_bullets
Format a list or string as bullet points.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:608
↓ 1 callers
Method
format_message
Format the error message for this parameter validation error.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/errors.py:496
↓ 1 callers
Function
format_planned_budget_limits
Formats PlannedBudgetLimits (epoch-second keys) as a list ordered by period start. A key that is not epoch seconds is kept as given, so no planne
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/budget_tools.py:898
↓ 1 callers
Method
format_validation_result
Format validation result as human-readable string.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/usage_data_validator.py:266
↓ 1 callers
Method
format_value
Format a value according to the field type for Python code generation.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/languages/python/usage_data_formatter.py:31
↓ 1 callers
Method
from_env
Create an AppConfig instance from environment variables.
src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/config.py:69
↓ 1 callers
Method
from_environment
Create a GenomicsSearchOrchestrator using configuration from environment variables. Args: region_name: Optional region override
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:128
↓ 1 callers
Method
from_error
Create an error result instance. Args: task_id: ID of the task error: Error message Returns: Tas
src/cloudwatch-applicationsignals-mcp-server/evals/core/task_result.py:81
↓ 1 callers
Method
from_execution
Create result from completed task execution. Use this for tasks that executed successfully (no exceptions), regardless of whether val
src/cloudwatch-applicationsignals-mcp-server/evals/core/task_result.py:45
↓ 1 callers
Method
from_operation
Create OutputFile from operation model for streaming operations.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/common/command.py:31
↓ 1 callers
Method
from_registry_value
Build a resolver from an ``MCP_JWT_ROLE_REGISTRY`` value. Selects the source backend named by ``registry_value`` via :func:`parse_reg
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/mechanisms/role_resolver.py:481
↓ 1 callers
Function
gen
(shape, path, depth=0)
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2415
↓ 1 callers
Function
generate_assessment
Generate human-readable assessment text from collected data. Parameters ---------- cluster_name : str The name of the ECS cl
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/get_ecs_troubleshooting_guidance.py:371
↓ 1 callers
Function
generate_code
Generate code using the CLI.
src/dynamodb-mcp-server/tests/repo_generation_tool/scripts/manage_snapshots.py:72
↓ 1 callers
Method
generate_embedding
Generate embedding using OpenAI.
src/valkey-mcp-server/awslabs/valkey_mcp_server/embeddings/providers.py:273
↓ 1 callers
Function
generate_image
Send a request to the FastAPI server to generate an image.
samples/mcp-integration-with-nova-canvas/user_interfaces/image_generator_st.py:65
↓ 1 callers
Function
generate_image
Generate an image using the Nova Canvas MCP server. Args: request: The image generation request parameters Returns: A dictio
samples/mcp-integration-with-nova-canvas/clients/client_server.py:178
↓ 1 callers
Function
generate_test_instruction
Generate test instruction for the access pattern.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/utils.py:328
↓ 1 callers
Method
generate_usage_examples
Generate usage examples code - to be implemented by subclasses.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/base_generator.py:61
↓ 1 callers
Function
getCategoryIcon
(category: string)
docusaurus/src/components/ServerCards/index.tsx:39
↓ 1 callers
Function
getWorkflowIcon
(workflowId)
docusaurus/src/components/ServerCards/index.tsx:84
↓ 1 callers
Function
get_account_plan_state
Retrieves the account's Free Tier plan from GetAccountPlanState. Args: ctx: The MCP context freetier_client: Free Tier API client
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/free_tier_usage_tools.py:209
↓ 1 callers
Method
get_active_customer_deliveries
Get non-cancelled deliveries for a customer with minimum total Args: customer_id: Customer id excluded_status: Exclud
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/food_delivery/repositories.py:36
↓ 1 callers
Method
get_active_users
Get users by status Projection: ALL All entity attributes are available. Args: status: Status limit:
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/user_analytics/repositories.py:35
↓ 1 callers
Function
get_all_enum_classes
Get mapping of enum names to enum classes for validation.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/schema_definitions.py:265
↓ 1 callers
Function
get_all_lambda_functions
Retrieve all available Lambda functions using pagination.
src/lambda-tool-mcp-server/awslabs/lambda_tool_mcp_server/server.py:267
↓ 1 callers
Method
get_api_stats
Get statistics for API calls.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/metrics_provider.py:196
↓ 1 callers
Method
get_api_stats
Get statistics for API calls. Note: This is a limited implementation since Prometheus doesn't provide a way to query metrics directly
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/metrics_provider.py:385
↓ 1 callers
Method
get_array_type
Python-specific array type formatting
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/languages/python/type_mappings.py:69
↓ 1 callers
Method
get_association_score_bonus
Calculate a score bonus based on the number and type of associated files. Args: file_group: The file group to score Retu
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/file_association_engine.py:379
↓ 1 callers
Method
get_auth_cookies
Get authentication cookies for HTTP requests. Returns: Dict[str, str]: Authentication cookies
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/base_auth.py:172
↓ 1 callers
Method
get_auth_cookies
Get authentication cookies for HTTP requests. Returns: Dict[str, str]: Empty dict as no authentication is provided
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_provider.py:125
↓ 1 callers
Method
get_auth_cookies
(self)
src/openapi-mcp-server/tests/auth/test_auth_protocol_boost.py:31
↓ 1 callers
Method
get_auth_cookies
(self)
src/openapi-mcp-server/tests/auth/test_auth_protocol_additional.py:27
↓ 1 callers
Method
get_auth_cookies
Get authentication cookies for HTTP requests.
src/openapi-mcp-server/tests/auth/test_auth_protocol_extended.py:51
↓ 1 callers
Method
get_auth_cookies
Get authentication cookies for HTTP requests.
src/openapi-mcp-server/tests/auth/test_auth_protocol.py:49
↓ 1 callers
Method
get_auth_headers
Get authentication headers for HTTP requests. Returns: Dict[str, str]: Authentication headers
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/base_auth.py:152
↓ 1 callers
Method
get_auth_headers
Get authentication headers for HTTP requests. Returns: Dict[str, str]: Empty dict as no authentication is provided
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_provider.py:107
↓ 1 callers
Method
get_auth_headers
(self)
src/openapi-mcp-server/tests/auth/test_auth_protocol_boost.py:25
← previous
next →
5,901–6,000 of 35,417, ranked by callers