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
Method
__str__
Return a string representation of the error.
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/error_handler.py:47
Method
__str__
Get string representation of the error. Returns: str: Error message with type
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_errors.py:57
Method
__str__
Show it in the log as `<target>:<name>`.
src/redshift-mcp-server/awslabs/redshift_mcp_server/transactions.py:42
Method
__str__
Show it in errors and the log as `<identifier> (<type>)`. Not as `<type>:<identifier>`, which looks like an identifier to pass back.
src/redshift-mcp-server/awslabs/redshift_mcp_server/models.py:39
Method
__str__
Show it as `<cluster>:<database>`.
src/redshift-mcp-server/awslabs/redshift_mcp_server/models.py:53
Method
__str__
Return string representation of the task.
src/cloudwatch-applicationsignals-mcp-server/evals/core/task.py:191
Method
__str__
Format result as a human-readable string.
src/cloudwatch-applicationsignals-mcp-server/evals/core/task_result.py:123
Method
__str__
(self)
src/elasticache-mcp-server/tests/tools/serverless/test_modify.py:175
Method
__str__
(self)
src/elasticache-mcp-server/tests/tools/serverless/test_describe.py:152
Method
__str__
(self)
src/elasticache-mcp-server/tests/tools/serverless/test_create.py:201
Method
__str__
(self)
src/elasticache-mcp-server/tests/tools/rg/test_modify.py:398
Method
__str__
Return the validated SQL fragment.
src/aurora-dsql-mcp-server/kiro_power/steering/safe_query.py:82
Method
__str__
String representation returns the S3 URI.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/models/s3.py:290
Method
__str__
(self)
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:2497
Function
_allow_tmp_writes
Disable write-path confinement so integration tests can use tmp_path.
src/aws-transform-mcp-server/tests/test_tool_utils.py:44
Method
_apigateway
Return the API Gateway client, building it lazily on first use.
src/aws-healthomics-mcp-server/integration/deploy/apigateway.py:479
Function
_async_return
Create a coroutine function that returns the given value (for patching async functions).
src/mysql-mcp-server/tests/test_asyncmy_connector.py:23
Method
_audit
(service_name, hours)
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1395
Function
_authorize_provisioning
Set the opt-in signal so the CLI's fail-closed provisioning guard is satisfied. Every ``cli.main`` invocation below exercises the post-guard comm
src/aws-healthomics-mcp-server/integration/harness_tests/test_cli_e2e.py:33
Function
_await_call
Return a mock's most recent await, asserting one happened.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:88
Method
_boom
Boom.
src/security-agent-mcp-server/tests/test_state.py:290
Method
_boom
(service_name, hours)
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1419
Method
_build
(self, command_table, version_string, argument_table)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:315
Method
_c
()
src/db2-mcp-server/tests/test_db_connection_map.py:63
Method
_calculate_md_score
Calculate enhanced relevance score for Markdown content. Args: doc: Document to score token: Search token
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/utils/indexer.py:164
Function
_call
()
src/aws-healthomics-mcp-server/integration/tests/test_cross_tenant_isolation.py:144
Function
_call_get
(mock_context, ce_client, next_token)
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:799
Function
_call_list
(mock_context, ce_client, next_token)
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:814
Function
_call_tool_with_formatted_errors
(name, arguments)
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/server.py:139
Function
_canned_creator
Return a deterministic resource whose id echoes the ``tag`` the stage supplied.
src/aws-healthomics-mcp-server/integration/harness_tests/test_provision_teardown_unit.py:46
Function
_case_ids
()
src/cloudwatch-applicationsignals-mcp-server/tests/test_tool_eval.py:243
Method
_check_if_misspelled
(self, service, operation, supported_args, unknown_args)
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:233
Method
_check_value
Check if the value is valid for the given action.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:302
Function
_cleanup_cert_file
Remove the module-scoped temp certificate file at interpreter exit.
src/db2-mcp-server/tests/test_ibm_db_connection.py:44
Function
_clear_cache
()
src/bedrock-kb-retrieval-mcp-server/tests/test_managed_kb.py:57
Function
_clear_cache
Clear the knowledge base type cache around each test.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:79
Function
_clear_mcp_env
Ensure no MCP_* transport/network env vars leak into parsing.
src/aws-healthomics-mcp-server/tests/test_config.py:55
Function
_clear_mcp_env
Ensure no MCP_* transport/network env vars leak into parsing.
src/aws-healthomics-mcp-server/tests/test_transport.py:54
Function
_clear_mcp_env
Ensure no MCP_* env vars leak into parsing for any test in this module.
src/aws-healthomics-mcp-server/tests/test_config_jwt_role_resolution.py:62
Function
_clear_mcp_env
Ensure no MCP_* transport/network/multi-tenant env vars leak into parsing.
src/aws-healthomics-mcp-server/tests/test_config_multitenant.py:50
Function
_clear_mcp_env
Ensure no MCP_* transport/network env vars leak into parsing.
src/aws-healthomics-mcp-server/tests/test_config_multitenant_parsing.py:57
Function
_clear_module_caches
Clear all module-level lru_caches. Intended for test fixtures — the production caches are process-lifetime and never need to be cleared at ru
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:215
Function
_clear_partition_caches
Clear both the single-tenant lru cache and the per-context partition cache. Exposed as ``get_partition.cache_clear`` to preserve the public `
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:883
Function
_clear_proxy_lookup_cache
Reset the RDS Proxy lookup cache around every test. ``find_proxy_for_instance`` memoizes per (region, instance) with a short TTL, in module-l
src/postgres-mcp-server/tests/conftest.py:607
Function
_client_error
Build a botocore ClientError for the AssumeRole operation.
src/aws-healthomics-mcp-server/tests/test_jwt_exchange_failure.py:124
Method
_close_all
()
src/oracle-mcp-server/awslabs/oracle_mcp_server/connection/db_connection_map.py:223
Method
_close_all
()
src/mssql-mcp-server/awslabs/mssql_mcp_server/connection/db_connection_map.py:146
Method
_close_all
()
src/db2-mcp-server/awslabs/db2_mcp_server/connection/db_connection_map.py:271
Method
_close_one
(key: tuple, conn: AbstractDBConnection)
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:197
Method
_close_sync
(self)
src/db2-mcp-server/awslabs/db2_mcp_server/connection/ibm_db_connection.py:588
Function
_cn_imds_redirect_routes
docs.amazonaws.cn 302s to IMDS; IMDS would leak a marker if the redirect were followed.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:344
Function
_connect_without_options
(_conn_str, _user, _password, _options=None)
src/db2-mcp-server/tests/test_ibm_db_connection.py:1039
Function
_convert_document_sync
Synchronous document conversion for thread pool execution.
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:265
Function
_coro
(*args, **kwargs)
src/mysql-mcp-server/tests/test_asyncmy_connector.py:26
Function
_count_budget_notifications
Count the notifications across one page of per-budget entries.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/budget_tools.py:419
Function
_count_groups
Count the groups across a page's time-period entries.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/ri_performance_tools.py:297
Function
_create
(resource_type: str, /, **params: Any)
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:838
Function
_create_client
(command: str, args: List[str], env: Optional[Dict[str, str]] = None)
testing/pytest_utils.py:50
Function
_create_mock_client
( connection_string='mongodb://example.com:27017?retryWrites=false', raise_on_connect=None )
src/documentdb-mcp-server/tests/conftest.py:806
Method
_create_mock_client
Create a mocked boto3 client. Args: service_name: AWS service name (e.g., 'cloudwatch') **kwargs: Additional client p
src/cloudwatch-applicationsignals-mcp-server/evals/core/mcp_dependency_mocking_handler.py:241
Method
_create_mock_event
Create a mock event for testing.
src/eks-mcp-server/tests/test_k8s_apis.py:699
Function
_create_runner
(client: StdioMcpClient)
testing/pytest_utils.py:60
Function
_create_unit_pricing_table
Legacy function to maintain backward compatibility.
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/report_generator.py:289
Function
_deactivate_stubbers
Deactivate any Stubber attached to the shared client between tests. The dynamic-instrumentation tools call the parent package's *module-level*
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:62
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:689
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:53
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:79
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:656
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:986
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_tools.py:588
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_unified_sql_tools.py:105
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:60
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:394
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_cost_category_tools.py:60
Function
_decorator
(fn)
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:294
Method
_decorator
(func)
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:53
Function
_default_is_transient
Treat any ``Exception`` (including timeouts) as transient/retryable by default. ``BaseException`` subclasses that are not ``Exception`` (e.g. can
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:66
Function
_delete
(record: ResourceRecord, /)
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:883
Function
_discard_result
(future: 'asyncio.Future[Any]')
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:219
Method
_discover
Every open here resolves the one provisioned cluster, and none reaches the Data API.
src/redshift-mcp-server/tests/test_redshift.py:3166
Method
_done_cb
(t, k=key)
src/oracle-mcp-server/awslabs/oracle_mcp_server/connection/db_connection_map.py:213
Method
_done_cb
(t, k=key)
src/db2-mcp-server/awslabs/db2_mcp_server/connection/db_connection_map.py:173
Function
_escape_logs_insights_regex
Escape dynamic values for use inside a /.../ CloudWatch Logs Insights regex.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/snapshot_parsing.py:83
Function
_execute
(cluster_identifier, database_name, sql, enforce_read_only=True, **_)
src/redshift-mcp-server/tests/test_review_executor.py:135
Method
_execute_readonly_query
Execute a query under readonly transaction. Args: query: query to run parameters: parameters Returns:
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/rds_api_connection.py:85
Method
_execute_readonly_query
Execute a query under readonly transaction. Args: query: query to run parameters: parameters Returns:
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/rds_api_connection.py:85
Method
_execute_sync
Blocking query execution; runs inside a worker thread.
src/db2-mcp-server/awslabs/db2_mcp_server/connection/ibm_db_connection.py:427
Function
_execution_role_stage
(ctx: StageContext)
src/aws-healthomics-mcp-server/integration/deploy/agentcore.py:623
Function
_factory
(service_name, **kwargs)
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:69
Function
_factory
(service_name, **kwargs)
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:97
Function
_fail_if_called
()
src/postgres-mcp-server/tests/test_server.py:1140
Function
_fail_if_called
()
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:2311
Method
_fail_rename
Fail rename.
src/security-agent-mcp-server/tests/test_state.py:322
Function
_fake_batch
(**_kw)
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1176
Function
_fake_connect
(conn_str, _user, _password, options=None)
src/db2-mcp-server/tests/test_ibm_db_connection.py:286
Function
_fake_creator
Return a deterministic resource whose id is the tag supplied by the stage.
src/aws-healthomics-mcp-server/integration/harness_tests/test_provision_failure_property.py:99
Function
_fake_error_only_tool
(ctx: Any = None)
src/aws-healthomics-mcp-server/tests/test_pagination_hints.py:133
Function
_fake_list_ecr_repositories
( ctx: Any = None, next_token: Optional[str] = None, )
src/aws-healthomics-mcp-server/tests/test_pagination_hints.py:62
Function
_fake_list_with_no_list_field
Degenerate dict-idiom response with no list-valued field at all.
src/aws-healthomics-mcp-server/tests/test_pagination_hints.py:121
Function
_fake_list_workflows
( ctx: Any = None, max_results: int = 10, next_token: Optional[str] = None, aws_profile: Optio
src/aws-healthomics-mcp-server/tests/test_pagination_hints.py:41
← previous
next →
7,501–7,600 of 35,417, ranked by callers