MCP ScannerCustom audit
All servers

aliyun/alibabacloud-observability-mcp-server

aliyun/alibabacloud-observability-mcp-server

Packagegithub.com/alibabacloud-observability-mcp-server-go
PublisherAlibaba Cloud Official
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 173Forks 43Last push 2026-08-12
Python 59.5%Go 40.5%by source files the scanner reads
Code safetypartly tracedExposure6.5Prompts10.0Supply chain1.8Secrets10.0Transparency10.0
Analysis confidence88%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure6.5/10Fair

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain1.8/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 60 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 21 of 52 tools, prompts and resources could not be followed through the code
  • 20 tools, prompts and resources registered only in the repository's tests are not counted on this page

Top risks in plain words

  • CRITICAL17 production dependencies have known vulnerabilities (worst: critical).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Update its vulnerable packages

    Use aiohttp 3.14.4 or later, anyio 4.14.2 or later, certifi 2026.10.18 or later, cryptography 50.0.0 or later and 13 more.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 32 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
list_domains, list_workspace, sls_execute_spl, umodel_get_entities, umodel_get_events, umodel_get_golden_metrics and 11 more
17 of 32
Read environment variablesoften where API keys are kept
cms_natural_language_query, list_domains, list_workspace, sls_execute_spl, umodel_get_entities, umodel_get_events and 12 more
18 of 32

No tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Reads private data17 tools
Takes text from outside0 tools
Can send data out0 tools

Not all three are present in the tools the scanner traced.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (32: 32 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

cms_execute_promqltool 执行PromQL指标查询。
执行PromQL指标查询。

            ## 功能概述

            该工具用于在指定的SLS项目和指标库上执行PromQL查询语句,并返回时序指标数据。主要用于查询和分析时序指标数据。

            ## 使用场景

            - 当需要查询时序指标数据时
            - 当需要分析系统性能指标时
            - 当需要监控业务指标趋势时
            - 当需要进行指标聚合计算时

            ## 查询语法

            查询必须使用有效的PromQL语法。PromQL是专门用于时序数据查询的表达式语言。

            ## 时间范围

            查询必须指定时间范围:
            - from_time: 开始时间,支持Unix时间戳(秒/毫秒)或相对时间表达式(如 'now-1h')
            - to_time: 结束时间,支持Unix时间戳(秒/毫秒)或相对时间表达式(如 'now')

            ## 查询示例

            - "查询CPU使用率指标"
            - "获取内存使用率的时序数据"

            ## 注意事项

            - 确保指定的metric store存在且包含所需的指标数据
            - PromQL语法与SQL语法不同,请使用正确的PromQL表达式
            - 时间范围不宜过大,以免查询超时

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                project: SLS项目名称
                metricStore: SLS指标库名称
                query: PromQL查询语句
                from_time: 查询开始时间,支持时间戳或相对时间
                to_time: 查询结束时间,支持时间戳或相对时间
                regionId: 阿里云区域ID

            Returns:
                PromQL查询执行结果,包含时序指标数据
cms_natural_language_querytool 使用自然语言查询可观测数据。Env vars
使用自然语言查询可观测数据。

            ## 功能概述

            用户可以使用自然语言描述想要查询的数据,系统会自动理解意图并返回相应的数据结果。

            ## 使用场景

            - 当需要快速查询可观测数据但不熟悉具体 API 时
            - 当需要进行复杂的数据分析但不想编写复杂查询语句时
            - 当需要获取服务性能概览、错误分析、慢请求统计等信息时

            ## 支持的查询类型

            - 指标查询:如"查询服务A的CPU使用率"、"获取内存使用最高的Pod"
            - 日志查询:如"统计错误日志数量"、"查找包含Exception的日志"
            - 链路查询:如"查询延迟超过1秒的请求"、"获取服务调用拓扑"
            - 聚合统计:如"按服务分组统计请求数量"、"计算平均响应时间"

            ## 返回数据结构

            返回的数据包含:
            - data: 查询结果数据,包含 query_results(实体列表、指标数据等)
            - message: AI 生成的解释说明文本
            - trace_id: 追踪ID,用于问题排查
            - error: 是否发生错误(true/false)
            - time_range: 查询的时间范围

            ## 查询示例

            - "查询请求量最高的10个服务"
            - "哪些服务的错误率超过1%"
            - "查询响应时间超过1秒的服务"
            - "统计各服务的请求数量"

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                query: 自然语言查询文本,描述想要查询的数据

            Returns:
                包含查询结果的字典:
                - data: 查询结果数据
                - message: 解释说明
                - trace_id: 追踪ID
                - error: 是否发生错误
                - time_range: 查询时间范围
cms_text_to_promqltool 将自然语言转换为PromQL查询语句。
将自然语言转换为PromQL查询语句。

            ## 功能概述

            该工具可以将自然语言描述转换为有效的PromQL查询语句,便于用户使用自然语言表达查询需求。

            ## 使用场景

            - 当用户不熟悉PromQL查询语法时
            - 当需要快速构建复杂查询时
            - 当需要从自然语言描述中提取查询意图时

            ## 使用限制

            - 仅支持生成PromQL查询
            - 生成的是查询语句,而非查询结果


            ## 最佳实践

            - 提供清晰简洁的自然语言描述
            - 不要在描述中包含项目或时序库名称
            - 首次生成的查询可能不完全符合要求,可能需要多次尝试

            ## 查询示例

            - "帮我生成 XXX 的PromQL查询语句"
            - "查询每个namespace下的Pod数量"

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                text: 用于生成查询的自然语言文本
                project: SLS项目名称
                metricStore: SLS时序库名称
                regionId: 阿里云区域ID

            Returns:
                生成的PromQL查询语句
handlertool
No description.
introductiontool 获取阿里云可观测性MCP Server的介绍和使用说明
获取阿里云可观测性MCP Server的介绍和使用说明
            ## 功能概述
            返回阿里云可观测性 MCP Server 的服务概述、核心能力和使用限制说明。
            帮助用户快速了解服务能做什么,以及使用各层工具的前提条件。
            Observable MCP Server 是阿里云可观测官方推出的 MCP (Model Context Protocol) 服务,
            提供统一的 AI 可观测数据访问能力。
            ## 使用场景
            - 首次接入时了解服务能力和限制
            - 了解不同工具层的使用前提

            ## 注意事项
            - 此工具不需要任何参数,可直接调用
            - 返回信息包含各层工具的使用前提条件
list_domainstool 列出所有可用的实体域FilesEnv vars
列出所有可用的实体域

            ## 功能概述
            获取系统中所有可用的实体域(domain)列表。实体域是实体的最高级分类,
            如 APM、容器、云产品等。这是发现系统支持实体类型的第一步。

            ## 使用场景
            - 了解系统支持的所有实体域
            - 为后续查询选择正确的domain参数
            - 构建动态的域选择界面

            ## 返回数据
            每个域包含:
            - __domain__: 域名称(如 apm, k8s, cloud)
            - cnt: 该域下的实体总数量

            Args:
                ctx: MCP上下文
                workspace: CMS工作空间名称
                regionId: 阿里云区域ID

            Returns:
                包含实体域列表的响应对象
list_workspacetool 列出可用的CMS工作空间FilesEnv vars
列出可用的CMS工作空间

            ## 功能概述
            获取指定区域内可用的Cloud Monitor Service (CMS)工作空间列表。
            工作空间是CMS中用于组织和管理监控数据的逻辑容器。

            ## 参数说明
            - regionId: 阿里云区域标识符,如 "cn-hangzhou", "cn-beijing" 等

            ## 返回结果
            返回包含工作空间信息的字典,包括:
            - workspaces: 工作空间列表,每个工作空间包含名称、ID、描述等信息
            - total_count: 工作空间总数
            - region: 查询的区域ID

            ## 使用场景
            - 在使用PaaS层API之前,需要先获取可用的工作空间
            - 为DoAI层查询提供工作空间选择
            - 管理和监控多个工作空间的资源使用情况

            ## 注意事项
            - 不同区域的工作空间是独立的
            - 工作空间的可见性取决于当前用户的权限
            - 这是一个基础工具,为其他PaaS和DoAI工具提供工作空间选择
sls_execute_spltool 执行原SPL查询语句。FilesEnv vars
执行原SPL查询语句。

            ## 功能概述

            该工具允许直接执行原生SPL(Search Processing Language)查询语句,
            为高级用户提供最大的灵活性和功能。支持复杂的数据操作和分析。

            ## 使用场景

            - 复杂的数据分析和统计计算,超出标准API的覆盖范围
            - 自定义的数据聚合和转换操作
            - 跨多个实体集合的联合查询和关联分析
            - 高级的数据挖掘和机器学习分析
            - 业务方法验证和原型开发

            ## 注意事项

            - 需要对SPL语法有一定的了解
            - 请确保查询语句的正确性,错误的查询可能导致无结果或错误
            - 复杂查询可能消耗较多的计算资源和时间

            ## 示例用法

            ```
            # 执行简单的SPL查询
            sls_execute_spl(
                query=".entity_set with(domain='apm', name='apm.service') | entity-call get_entities() | head 10"
            )

            # 执行复杂的聚合查询
            sls_execute_spl(
                query=".entity_set with(domain='apm', name='apm.service') | entity-call get_metrics('system', 'cpu', 'usage') | stats avg(value) by entity_id"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                query: 原生SPL查询语句
                workspace: CMS工作空间名称
                from_time: 查询开始时间
                to_time: 查询结束时间
                regionId: 阿里云区域ID

            Returns:
                SPL查询执行结果的响应对象
sls_execute_sqltool 执行SLS日志查询。
执行SLS日志查询。

            ## 功能概述

            该工具用于在指定的SLS项目和日志库上执行查询语句,并返回查询结果。查询将在指定的时间范围内执行。如果上下文没有提到具体的 SQL 语句,必须优先使用 iaas_sls_text_to_sql 工具生成查询语句,无论问题有多简单

            ## 使用场景

            - 当需要根据特定条件查询日志数据时
            - 当需要分析特定时间范围内的日志信息时
            - 当需要检索日志中的特定事件或错误时
            - 当需要统计日志数据的聚合信息时

            ## 查询语法

            查询必须使用SLS有效的查询语法,而非自然语言。如果不了解日志库的结构,可以先使用iaas_sls_list_logstores工具获取索引信息。

            ## 时间范围

            查询必须指定时间范围:如果查询是由 iaas_sls_text_to_sql 工具生成的,应使用 iaas_sls_text_to_sql 响应中的时间戳
            - from_time: 开始时间,支持Unix时间戳(秒/毫秒)或相对时间表达式(如 'now-1h')
            - to_time: 结束时间,支持Unix时间戳(秒/毫秒)或相对时间表达式(如 'now')

            ## 查询示例

            - "帮我查询下 XXX 的日志信息"
            - "查找最近一小时内的错误日志"

            ## 错误处理
            - Column xxx can not be resolved 如果是 iaas_sls_text_to_sql 工具生成的查询语句,可能存在查询列未开启统计,可以提示用户增加相对应的信息,或者调用 iaas_sls_list_logstores 工具获取索引信息之后,要用户选择正确的字段或者提示用户对列开启统计。当确定列开启统计之后,可以再次调用 iaas_sls_text_to_sql 工具生成查询语句

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                project: SLS项目名称
                logStore: SLS日志库名称
                query: SLS查询语句
                from_time: 查询开始时间,支持时间戳或相对时间
                to_time: 查询结束时间,支持时间戳或相对时间
                limit: 返回结果的最大数量,范围1-100,默认10
                offset: 查询开始行,用于分页查询,默认0。仅在query为纯查询语句时有效
                reverse: 是否按日志时间戳降序返回,默认False。仅在query为纯查询语句时有效
                regionId: 阿里云区域ID

            Returns:
                查询结果列表,每个元素为一条日志记录
sls_get_context_logstool 查询指定日志前后的上下文日志。
查询指定日志前后的上下文日志。

            ## 功能概述

            该工具用于根据“起始日志”的 pack_id 与 pack_meta,查询该日志前(上文)后(下文)的若干条上下文日志。

            说明:上下文查询的时间范围固定为起始日志的前后一天(由SLS服务端限制)。

            ## 如何获取 pack_id 与 pack_meta(推荐方式)

            先使用本项目的 `sls_execute_sql` 获取目标日志,并在查询语句末尾追加 `|with_pack_meta`,
            使查询结果携带内部字段:
            - `__pack_id__`:对应本工具的 pack_id
            - `__pack_meta__`:对应本工具的 pack_meta

            然后选定你要作为起始点的那条日志,将上述两个字段值传入本工具即可。

            ## 参数说明

            - back_lines / forward_lines:范围 0~100,且两者至少一个大于 0。

            ## 返回结果

            返回结构与SLS OpenAPI一致(包含 total_lines/back_lines/forward_lines/progress/logs 等),
            其中 logs 内每条日志会包含:
            - `__index_number__`:相对起始日志的位置(负数为上文,0 为起始日志,正数为下文)
            - `__tag__:__pack_id__` 与 `__pack_meta__`:可作为下一次上下文查询的定位信息
sls_list_logstorestool 列出SLS项目中的日志库。
列出SLS项目中的日志库。

            ## 功能概述

            该工具可以列出指定SLS项目中的所有日志库,如果不选,则默认为日志库类型
            支持通过日志库名称进行模糊搜索。如果不提供日志库名称,则返回项目中的所有日志库。

            ## 使用场景

            - 当需要查找特定项目下是否存在某个日志库时
            - 当需要获取项目中所有可用的日志库列表时
            - 当需要根据日志库名称的部分内容查找相关日志库时
            - 如果从上下文未指定 project参数,除非用户说了遍历,则可使用 iaas_sls_list_projects 工具获取项目列表

            ## 是否指标库

            如果需要查找指标或者时序相关的库,请将isMetricStore参数设置为True

            ## 查询示例

            - "我想查询有没有 XXX 的日志库"
            - "某个 project 有哪些 logstore"

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                project: SLS项目名称,必须精确匹配
                logStore: 日志库名称,支持模糊搜索
                limit: 返回结果的最大数量,范围1-100,默认10
                isMetricStore: 是否指标库,可选值为True或False,默认为False
                regionId: 阿里云区域ID

            Returns:
                日志库名称的字符串列表
sls_list_projectstool 列出阿里云日志服务中的所有项目。
列出阿里云日志服务中的所有项目。

            ## 功能概述

            该工具可以列出指定区域中的所有SLS项目,支持通过项目名进行模糊搜索。如果不提供项目名称,则返回该区域的所有项目。

            ## 使用场景

            - 当需要查找特定项目是否存在时
            - 当需要获取某个区域下所有可用的SLS项目列表时
            - 当需要根据项目名称的部分内容查找相关项目时

            ## 返回数据结构

            返回的项目信息包含:
            - project_name: 项目名称
            - description: 项目描述
            - region_id: 项目所在区域

            ## 查询示例

            - "有没有叫 XXX 的 project"
            - "列出所有SLS项目"

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                projectName: 项目名称查询字符串,支持模糊搜索
                limit: 返回结果的最大数量,范围1-100,默认50
                regionId: 阿里云区域ID,region id format like "xx-xxx",like "cn-hangzhou"

            Returns:
                包含项目信息的字典列表,每个字典包含project_name、description和region_id
sls_log_comparetool 查看阿里云日志服务中某个日志库的日志数据在两个时间范围内的对比结果。
查看阿里云日志服务中某个日志库的日志数据在两个时间范围内的对比结果。

            ## 功能概述

            该工具可以两个时间范围内的日志数据分布的区别,用于快速分析日志数据的变化情况。

            ## 使用场景

            - 当需要分析两个时间范围内的日志数据分布的区别时

            ## 查询实例

            - "昨天的日志和今天的相比有什么区别"
            - "服务发布前后日志有什么变化"

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                project: SLS项目名称,必须精确匹配
                logStore: SLS日志库名称,必须精确匹配
                test_from_time: 实验组数据的开始时间
                test_to_time: 实验组数据的结束时间
                control_from_time: 对照组数据的开始时间
                control_to_time: 对照组数据的结束时间
                regionId: 阿里云区域ID
                logField: 日志字段名称
                filter_query: 过滤查询语句
                groupField: 分组字段名称

            Returns:
                日志数据对比结果
sls_log_exploretool 查看阿里云日志服务中某个日志库的日志数据聚合分析结果,提供日志数据概览信息。
查看阿里云日志服务中某个日志库的日志数据聚合分析结果,提供日志数据概览信息。

            ## 功能概述

            该工具可以给出指定日志库中日志数据的概览信息。给出日志数据中典型的日志模板,以及各个日志模板对应日志数量分布。

            ## 使用场景

            - 当需要查看日志库中日志的概览信息和数据分布时

            ## 查询实例

            - "查询某个 project 的某个 logstore 中的日志数据分布"
            - "某个 project 的某个 logstore 中不同风险等级的日志有哪些"

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                project: SLS项目名称,必须精确匹配
                logStore: SLS日志库名称,必须精确匹配
                from_time: 查询开始时间
                to_time: 查询结束时间
                regionId: 阿里云区域ID
                logField: 日志字段名称
                filter_query: 过滤查询语句
                groupField: 分组字段名称

            Returns:
                日志数据概览信息
sls_soptool SLS SOP (Standard Operating Procedure) assistant.
SLS SOP (Standard Operating Procedure) assistant.

            ## 功能概述

            该工具是一个智能助手,用于回答关于 SLS (Simple Log Service) 使用方法、功能介绍、操作步骤 (SOP) 等方面的问题。

            ## 使用场景

            - 当用户不知道如何使用某个功能时(如:如何创建数据加工任务)
            - 当用户需要了解 SLS 的概念或术语时
            - 当用户遇到操作问题需要指引时

            ## 示例用法

            - "如何创建新的数据加工"
            - "什么是 Project"
            - "怎么配置告警"

            Args:
                ctx: MCP上下文
                text: 用户的问题
                regionId: 阿里云区域ID
                project: SLS项目名称(可选)
                logStore: SLS日志库名称(可选)

            Returns:
                助手的回答内容
sls_text_to_spltool 将自然语言转换为SLS SPL查询语句。
将自然语言转换为SLS SPL查询语句。

            ## 功能概述

            该工具可以将自然语言描述转换为有效的SLS SPL查询语句。
            注意:SPL (Search Processing Language) 是SLS的一种管道式查询语句,主要用于数据加工、过滤、提取等场景,与标准SQL不同。

            ## 使用场景

            - 当用户需要对日志数据进行结构化提取时
            - 当需要从非结构化文本中解析字段时

            ## 注意事项

            - 本工具会基于提供的 data_sample 直接执行生成的 SPL 并返回结果(preview_data),通常无需额外再次调用执行工具。
            - 返回结果中包含生成的 query 和基于样例数据的执行结果 data。

            ## 示例用法

            ### 1. 基础字段提取
            **Query**: "从日志中提取 IP 地址和状态码"
            **Data Sample**:
            ```json
            [
              {"content": "2023-10-01 10:00:00 192.168.1.1 GET /index.html 200"},
              {"content": "2023-10-01 10:00:01 10.0.0.1 POST /api/login 403"}
            ]
            ```

            ### 2. 复杂正则解析
            **Query**: "解析日志中的时间、级别、线程号和消息内容"
            **Data Sample**:
            ```json
            [
              {"raw": "[2023-10-01 10:00:00] [INFO] [Thread-1] System started"},
              {"raw": "[2023-10-01 10:00:05] [ERROR] [Thread-main] Connection failed"}
            ]
            ```

            ### 3. JSON字段处理
            **Query**: "提取 details 字段中的 error_code"
            **Data Sample**:
            ```json
            [
              {"time": "1696154400", "details": "{\\"error_code\\": 500, \\"msg\\": \\"Internal Error\\"}"},
              {"time": "1696154401", "details": "{\\"error_code\\": 200, \\"msg\\": \\"OK\\"}"}
            ]
            ```

            Args:
                ctx: MCP上下文
                text: 自然语言描述
                project: SLS项目名称
                logStore: SLS日志库名称
                data_sample: 样例日志数据
                regionId: 阿里云区域ID

            Returns:
                包含生成的SPL查询语句(query)、样例数据执行结果(data)及完整响应信息
sls_text_to_sqltool 将自然语言转换为SLS查询语句。当用户有明确的 logstore 查询需求,必须优先使用该工具来生成查询语句
将自然语言转换为SLS查询语句。当用户有明确的 logstore 查询需求,必须优先使用该工具来生成查询语句

            ## 功能概述

            该工具使用CMS数字员工Chat API(SSE流式)进行text-to-SQL转换,
            与SLS控制台的Chat API行为一致。提供更智能的上下文感知和错误处理。
            用户有任何 SLS 日志查询需求时,都需要优先使用该工具。

            ## API 特性

            - 使用 CMS SDK 的 CreateThread + CreateChatWithSSE API
            - 支持会话上下文,可进行多轮对话
            - 自动处理字段未索引的情况(自动添加 scan mode)
            - 更智能的错误处理和重试机制

            ## 使用场景

            - 当用户不熟悉SLS查询语法时
            - 当需要快速构建复杂查询时
            - 当需要从自然语言描述中提取查询意图时
            - 当需要更智能的SQL生成时
            - 当需要多轮对话优化查询时

            ## 使用限制

            - 仅支持生成SLS查询,不支持其他数据库的SQL如MySQL、PostgreSQL等
            - 生成的是查询语句,而非查询结果,需要配合execute_sql工具使用
            - 需要对应的 logstore 已经设定了索引信息

            ## 最佳实践

            - 提供清晰简洁的自然语言描述
            - 不要在描述中包含项目或日志库名称
            - 首次生成的查询可能不完全符合要求,可能需要多次尝试

            ## 查询示例

            - "帮我生成下 XXX 的日志查询语句"
            - "查找最近一小时内的错误日志"
            - "统计不同类型的 admin_emails 数量"

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                text: 用于生成查询的自然语言文本
                project: SLS项目名称
                logStore: SLS日志库名称
                regionId: 阿里云区域ID

            Returns:
                生成的SLS查询语句和相关信息,包含 data 和 requestId 字段
sls_text_to_sql_oldtool [Deprecated] 将自然语言转换为SLS查询语句(旧版API)。
[Deprecated] 将自然语言转换为SLS查询语句(旧版API)。

            ⚠️ 该工具已废弃,请优先使用 sls_text_to_sql 工具。

            ## 废弃说明

            此工具使用旧版 SLS CallAiTools API,功能有限且不再维护。
            新版 sls_text_to_sql 工具使用 CMS Chat API,提供更智能的 SQL 生成能力,
            包括更好的上下文理解、更准确的查询生成和更详细的解释说明。

            ## 功能概述

            该工具使用旧版SLS CallAiTools API将自然语言描述转换为有效的SLS查询语句。

            ## 使用场景

            - 仅当新版 sls_text_to_sql 工具不可用时作为备选方案

            ## 使用限制

            - 仅支持生成SLS查询,不支持其他数据库的SQL如MySQL、PostgreSQL等
            - 生成的是查询语句,而非查询结果,需要配合execute_sql工具使用
            - 需要对应的 logstore 已经设定了索引信息

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                text: 用于生成查询的自然语言文本
                project: SLS项目名称
                logStore: SLS日志库名称
                regionId: 阿里云区域ID

            Returns:
                生成的SLS查询语句和相关信息
umodel_get_entitiestool 获取实体信息的PaaS API工具。FilesEnv vars
获取实体信息的PaaS API工具。

            ## 功能概述

            该工具用于检索实体信息,支持分页查询、精确ID查询和过滤条件查询。
            如需要模糊搜索请使用 `umodel_search_entities` 工具。

            ## 功能特点

            - **数量控制**: 默认返回20个实体,支持通过limit参数控制返回数量
            - **精确查询**: 支持根据实体ID列表进行精确查询
            - **过滤查询**: 支持使用 entity_filter 表达式进行条件过滤
            - **职责清晰**: 专注于基础实体信息获取,不包含复杂搜索逻辑

            ## 使用场景

            - **分页浏览**: 分页获取实体列表,适用于大量实体的展示场景
            - **精确查询**: 根据已知的实体ID列表批量获取实体详细信息
            - **条件过滤**: 使用 entity_filter 按属性过滤实体
            - **基础数据**: 为其他分析工具提供基础实体数据

            ## 参数说明

            - domain: 实体集合的域,如 'apm'、'infrastructure' 等
            - entity_set_name: 实体集合名称,如 'apm.service'、'host.instance' 等
            - entity_ids: 可选的逗号分隔实体ID字符串,用于精确查询指定实体
            - entity_filter: 可选的过滤表达式,如 'name=payment and status!=inactive'
            - time_range: 时间范围表达式,支持多种格式,默认 last_1h
            - limit: 返回多少个实体,默认20个,最大1000个

            **注意**: entity_ids 和 entity_filter 至少需要提供一个

            ## 工具分工

            - `umodel_get_entities`: 基础实体信息获取(本工具)
            - `umodel_search_entities`: 基于关键词的模糊搜索
            - `umodel_get_neighbor_entities`: 获取实体的邻居关系

            ## 数量控制说明

            使用 `|limit {count}` 格式控制返回数量:
            - 返回前10个实体:limit=10 → `|limit 10`
            - 返回前50个实体:limit=50 → `|limit 50`
            - 返回前100个实体:limit=100 → `|limit 100`

            ## 示例用法

            ```
            # 根据实体ID批量查询
            umodel_get_entities(
                domain="apm",
                entity_set_name="apm.service",
                entity_ids="service-1,service-2,service-3"
            )

            # 使用过滤条件查询
            umodel_get_entities(
                domain="apm",
                entity_set_name="apm.service",
                entity_filter="name=payment"
            )

            # 组合使用 entity_ids 和 entity_filter
            umodel_get_entities(
                domain="apm",
                entity_set_name="apm.service",
                entity_ids="service-1,service-2",
                entity_filter="status!=inactive"
            )

            # 使用时间范围参数
            umodel_get_entities(
                domain="apm",
                entity_set_name="apm.service",
                entity_ids="service-1",
                time_range="last_3h"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                domain: 实体集合域名
                entity_set_name: 实体集合名称
                entity_ids: 可选的逗号分隔实体ID列表
                entity_filter: 可选的过滤表达式
                time_range: 时间范围表达式,默认 last_1h
                limit: 返回实体数量
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含 error, data, message, query, time_range 字段
umodel_get_eventstool 获取指定实体集的事件数据。事件是离散记录,如部署、告警、配置更改等。用于关联分析系统行为。FilesEnv vars
获取指定实体集的事件数据。事件是离散记录,如部署、告警、配置更改等。用于关联分析系统行为。

            事件数据用于记录系统中的离散事件,包括:
            - 部署事件(Deployment): 应用发布、配置变更
            - 告警事件(Alert): 监控告警触发、恢复
            - 系统事件(System): 重启、扩缩容等

            ## 参数获取: 1)搜索实体集→ 2)列出EventSet→ 3)获取实体ID(可选) → 4)执行查询
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - event_set_domain,event_set_name: `umodel_list_data_set(data_set_types="event_set")`或默认"default"/"default.event.common"
            - entity_ids: `umodel_get_entities()` (可选)

            ## 示例用法

            ```python
            # 获取服务的事件数据
            umodel_get_events(
                domain="apm", entity_set_name="apm.service",
                event_set_domain="default", event_set_name="default.event.common",
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 获取特定实体的事件数据
            umodel_get_events(
                domain="apm", entity_set_name="apm.service",
                event_set_domain="default", event_set_name="default.event.common",
                entity_ids="service-1,service-2",
                workspace="my-workspace",
                time_range="now-30m~now"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                event_set_domain: 事件集域名
                event_set_name: 事件集名称
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,可选
                limit: 返回的最大事件记录数量,默认100
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(事件列表)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_get_golden_metricstool 获取实体的黄金指标(关键性能指标)数据,支持时序对比。包括延迟、吞吐量、错误率、饱和度等核心指标。FilesEnv vars
获取实体的黄金指标(关键性能指标)数据,支持时序对比。包括延迟、吞吐量、错误率、饱和度等核心指标。

            黄金指标是快速评估实体健康状况的关键工具,通常包括:
            - 延迟(Latency): 请求响应时间
            - 吞吐量(Throughput): 请求处理速率
            - 错误率(Error Rate): 失败请求比例
            - 饱和度(Saturation): 资源使用程度

            ## 参数获取: 1)搜索实体集→ 2)获取实体ID(可选) → 3)执行查询
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - entity_ids: `umodel_get_entities()` (可选)

            ## 示例用法

            ```python
            # 获取服务的黄金指标(范围查询,聚合结果)
            umodel_get_golden_metrics(
                domain="apm", entity_set_name="apm.service",
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 获取特定实体的黄金指标(即时查询,不聚合)
            umodel_get_golden_metrics(
                domain="apm", entity_set_name="apm.service",
                entity_ids="service-1,service-2",
                query_type="instant", aggregate=False,
                workspace="my-workspace",
                time_range="last_15m"
            )

            # 黄金指标对比 - 对比当前1小时与1天前的黄金指标
            umodel_get_golden_metrics(
                domain="apm", entity_set_name="apm.service",
                entity_ids="service-1",
                workspace="my-workspace",
                time_range="last_1h", offset="1d"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,可选
                query_type: 查询类型,range或instant,默认range
                aggregate: 是否聚合结果,默认true
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                offset: 对比偏移量,如'1h','1d','1w',启用后返回对比分析结果
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(启用对比时包含 compare_enabled, current_time_range, compare_time_range, offset, total_series, results)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_get_logstool 获取实体相关的日志数据,支持原始日志查询和日志聚类分析。用于故障诊断、性能分析、审计等场景。FilesEnv vars
获取实体相关的日志数据,支持原始日志查询和日志聚类分析。用于故障诊断、性能分析、审计等场景。

            日志聚类功能可以自动识别日志模式,将相似日志归类,帮助快速发现问题模式和异常。
            推荐在日志量大时使用聚类模式,可以显著减少需要分析的日志条目数量。

            ## 参数获取: 1)搜索实体集→ 2)列出LogSet→ 3)获取实体ID(可选) → 4)执行查询
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - log_set_domain,log_set_name: `umodel_list_data_set(data_set_types="log_set")`返回domain/name
            - entity_ids: `umodel_get_entities()` (可选,但强烈推荐)

            ## 日志聚类说明
            当提供 `to_cluster_content_field` 参数时,启用日志聚类分析:
            - 系统会自动识别日志模式,将相似日志归类
            - 返回每个模式的统计信息:模式ID、模式模板、事件数量、时间范围、样本数据
            - 可选提供 `to_cluster_aggregate_field` 进一步按字段分组

            ## 示例用法

            ```python
            # 基础查询 - 获取原始日志
            umodel_get_logs(
                domain="apm", entity_set_name="apm.service",
                log_set_domain="apm", log_set_name="apm.log.apm.service",
                entity_ids="service-1",
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 日志聚类 - 按 content 字段聚类分析
            umodel_get_logs(
                domain="apm", entity_set_name="apm.service",
                log_set_domain="apm", log_set_name="apm.log.apm.service",
                entity_ids="service-1",
                to_cluster_content_field="content",
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 日志聚类 + 按级别分组 - 按 content 聚类并按 level 分组统计
            umodel_get_logs(
                domain="apm", entity_set_name="apm.service",
                log_set_domain="apm", log_set_name="apm.log.apm.service",
                entity_ids="service-1",
                to_cluster_content_field="content",
                to_cluster_aggregate_field="level",
                workspace="my-workspace",
                time_range="last_3h"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                log_set_domain: 日志集域名
                log_set_name: 日志集名称
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,可选但强烈推荐
                to_cluster_content_field: 日志聚类字段,提供时启用聚类分析
                to_cluster_aggregate_field: 聚类聚合字段,用于进一步分组统计
                limit: 返回的最大日志记录数量,默认100
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(原始日志或聚类结果)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息

                聚类模式返回的 data 字段包含:
                - pattern_id: 模式ID
                - pattern: 模式模板(变量用占位符表示)
                - var_summary: 变量摘要统计
                - earliest_ts: 最早出现时间
                - latest_ts: 最晚出现时间
                - event_num: 事件数量
                - data_sample: 样本数据
umodel_get_metricstool 获取实体的时序指标数据,支持range/instant查询、聚合计算、高级分析模式和时序对比。FilesEnv vars
获取实体的时序指标数据,支持range/instant查询、聚合计算、高级分析模式和时序对比。

            ## 参数获取: 1)搜索实体集→ 2)列出MetricSet→ 3)获取实体ID(可选) → 4)执行查询
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - metric_domain_name,metric: `umodel_list_data_set(data_set_types="metric_set")`返回name/fields
            - entity_ids: `umodel_get_entities()` (可选)

            ## 分析模式说明
            - **basic**: 返回原始时序数据
            - **cluster**: 时序聚类,输出字段: __cluster_index__, __entities__, __sample_ts__, __sample_value__, __sample_value_max/min/avg__
            - **forecast**: 时序预测,输出字段: __forecast_ts__, __forecast_value__, __forecast_lower/upper_value__, __labels__, __name__, __entity_id__
            - **anomaly_detection**: 异常检测,输出字段: __entity_id__, __anomaly_list_, __anomaly_msg__, __value_min/max/avg__

            ## 示例用法

            ```python
            # 基础查询 - 获取服务的CPU使用率时序数据
            umodel_get_metrics(
                domain="apm", entity_set_name="apm.service",
                metric_domain_name="apm.metric.apm.operation", metric="cpu_usage",
                entity_ids="service-1,service-2", analysis_mode="basic",
                time_range="last_1h"
            )

            # 时序对比 - 对比当前1小时与1天前的指标数据
            umodel_get_metrics(
                domain="apm", entity_set_name="apm.service",
                metric_domain_name="apm.metric.apm.service", metric="request_count",
                entity_ids="service-1", analysis_mode="basic",
                time_range="last_1h", offset="1d"
            )

            # 时序聚类 - 对多个服务的延迟指标进行聚类分析
            umodel_get_metrics(
                domain="apm", entity_set_name="apm.service",
                metric_domain_name="apm.metric.apm.service", metric="avg_request_latency_seconds",
                entity_ids="svc1,svc2,svc3", analysis_mode="cluster",
                time_range="now-30m~now"
            )

            # 时序预测 - 预测未来1小时的指标趋势
            umodel_get_metrics(
                domain="apm", entity_set_name="apm.service",
                metric_domain_name="apm.metric.apm.service", metric="request_count",
                entity_ids="service-1", analysis_mode="forecast", forecast_duration="1h",
                time_range="last_3d"
            )

            # 异常检测 - 检测指标中的异常点
            umodel_get_metrics(
                domain="apm", entity_set_name="apm.service",
                metric_domain_name="apm.metric.apm.service", metric="error_rate",
                entity_ids="service-1", analysis_mode="anomaly_detection",
                time_range="last_1d"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                metric_domain_name: 指标域名称,类似于apm.metric.jvm这样的格式
                metric: 指标名称
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,可选
                query_type: 查询类型,range或instant
                aggregate: 是否聚合结果(cluster/forecast/anomaly_detection模式强制为false)
                analysis_mode: 分析模式,可选basic/cluster/forecast/anomaly_detection
                forecast_duration: 预测时长,仅forecast模式有效
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                offset: 对比偏移量,如'1h','1d','1w',启用后返回对比分析结果
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(启用对比时包含 compare_enabled, current_time_range, compare_time_range, offset, total_series, results)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_get_neighbor_entitiestool Retrieves entities directly related to source entities in topology.FilesEnv vars
Retrieves entities directly related to source entities in topology.

            Single-level traversal. Use for exploring immediate connections.
            "out": downstream, "in": upstream, "both": bidirectional.

            ## Parameters

            - workspace: CMS workspace identifier
            - src_entity_domain: Source Domain (e.g., "apm", "k8s")
            - src_name: Source EntitySet name (e.g., "apm.service", "k8s.pod")
            - src_entity_ids: Comma-separated source entity IDs
            - dest_entity_domain: Optional target Domain filter
            - dest_name: Optional target EntitySet filter
            - relation_type: Optional relation type filter
            - direction: "out" (downstream), "in" (upstream), "both" (default)
            - time_range: Time range expression, default last_1h
            - limit: Max results, default 10

            ## Example Usage

            ```python
            # Get downstream neighbors
            umodel_get_neighbor_entities(
                workspace="apm",
                src_entity_domain="apm",
                src_name="apm.service",
                src_entity_ids="payment-service-001",
                direction="out"
            )

            # Get upstream neighbors filtered by target type
            umodel_get_neighbor_entities(
                workspace="apm",
                src_entity_domain="apm",
                src_name="apm.service",
                src_entity_ids="payment-service-001",
                dest_entity_domain="k8s",
                dest_name="k8s.pod",
                direction="in"
            )

            # Get neighbors with specific relation type
            umodel_get_neighbor_entities(
                workspace="apm",
                src_entity_domain="apm",
                src_name="apm.service",
                src_entity_ids="svc-1,svc-2",
                relation_type="calls",
                direction="both"
            )
            ```

            Returns:
                Standard response with error, data, message, query, time_range fields
umodel_get_profilestool 获取指定实体集的性能剖析数据。包括CPU使用、内存分配、方法调用堆栈等,用于性能瓶颈分析。FilesEnv vars
获取指定实体集的性能剖析数据。包括CPU使用、内存分配、方法调用堆栈等,用于性能瓶颈分析。

            性能剖析数据用于深入分析应用程序的性能瓶颈,包括:
            - CPU 使用情况:识别 CPU 密集型代码路径
            - 内存分配:发现内存泄漏和高内存消耗点
            - 方法调用堆栈:分析调用链和热点函数

            ## 参数获取: 1)搜索实体集→ 2)列出ProfileSet→ 3)获取实体ID(必须) → 4)执行查询
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - profile_set_domain,profile_set_name: `umodel_list_data_set(data_set_types="profile_set")`返回domain/name
            - entity_ids: `umodel_get_entities()` (必填,数据量大需指定精确实体)

            ## 示例用法

            ```python
            # 获取服务的性能剖析数据
            umodel_get_profiles(
                domain="apm", entity_set_name="apm.service",
                profile_set_domain="default", profile_set_name="default.profile.common",
                entity_ids="service-1,service-2",
                workspace="my-workspace",
                time_range="last_5m"
            )

            # 获取最近15分钟的性能剖析数据
            umodel_get_profiles(
                domain="apm", entity_set_name="apm.service",
                profile_set_domain="default", profile_set_name="default.profile.common",
                entity_ids="service-1",
                workspace="my-workspace",
                time_range="now-15m~now"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                profile_set_domain: ProfileSet域名
                profile_set_name: ProfileSet名称
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,必填
                limit: 返回的最大性能剖析记录数量,默认100
                time_range: 时间范围表达式,支持多种格式,默认last_5m
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(性能剖析数据列表)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_get_relation_metricstool 获取实体间关系级别的指标数据,如服务调用延迟、吞吐量等。用于分析微服务依赖关系。FilesEnv vars
获取实体间关系级别的指标数据,如服务调用延迟、吞吐量等。用于分析微服务依赖关系。

            关系指标用于分析服务间的调用关系,包括:
            - 调用延迟(Latency): 服务间调用的响应时间
            - 调用次数(Request Count): 服务间调用的请求数量
            - 错误率(Error Rate): 服务间调用的失败比例

            ## 参数获取: 1)搜索实体集→ 2)列出相关实体→ 3)执行查询
            - src_domain,src_entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - relation_type: `umodel_list_related_entity_set()` 了解可用关系类型
            - src_entity_ids: `umodel_get_entities()` (必填)
            - metric_set_domain,metric_set_name,metric: `umodel_list_data_set(data_set_types="metric_set")`

            ## 示例用法

            ```python
            # 获取服务A调用其他服务的延迟指标
            umodel_get_relation_metrics(
                src_domain="apm", src_entity_set_name="apm.service",
                src_entity_ids="service-a",
                relation_type="calls", direction="out",
                metric_set_domain="apm", metric_set_name="apm.metric.apm.operation",
                metric="avg_request_latency_seconds",
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 获取服务B被其他服务调用的请求数量
            umodel_get_relation_metrics(
                src_domain="apm", src_entity_set_name="apm.service",
                src_entity_ids="service-b",
                relation_type="calls", direction="in",
                metric_set_domain="apm", metric_set_name="apm.metric.apm.operation",
                metric="request_count",
                workspace="my-workspace",
                time_range="now-30m~now"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                src_domain: 源实体域名,不能为'*'
                src_entity_set_name: 源实体类型名称,不能为'*'
                src_entity_ids: 逗号分隔的源实体ID列表,必填
                relation_type: 关系类型,如'calls'
                direction: 关系方向,'in'或'out'
                metric_set_domain: 指标集域名
                metric_set_name: 指标集名称
                metric: 指标名称
                workspace: CMS工作空间名称
                dest_domain: 目标实体域名,可选
                dest_entity_set_name: 目标实体类型名称,可选
                dest_entity_ids: 逗号分隔的目标实体ID列表,可选
                query_type: 查询类型,range或instant,默认range
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(关系指标列表)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_get_tracestool 获取指定trace ID的详细trace数据,包括所有span、独占耗时和元数据。用于深入分析慢trace和错误trace。FilesEnv vars
获取指定trace ID的详细trace数据,包括所有span、独占耗时和元数据。用于深入分析慢trace和错误trace。

            ## 参数获取: 1)搜索trace → 2)获取详细信息
            - trace_ids: 通常从`umodel_search_traces()`工具输出中获得
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - trace_set_domain,trace_set_name: `umodel_list_data_set(data_set_types="trace_set")`返回domain/name

            ## 输出字段说明
            - duration_ms: span总耗时(毫秒)
            - exclusive_duration_ms: span独占耗时(毫秒),即排除子span后的实际执行时间

            ## 示例用法

            ```python
            # 获取指定 trace 的详细信息
            umodel_get_traces(
                domain="apm", entity_set_name="apm.service",
                trace_set_domain="apm", trace_set_name="apm.trace.common",
                trace_ids="trace-id-1,trace-id-2",
                workspace="my-workspace",
                time_range="last_1h"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                trace_set_domain: TraceSet域名
                trace_set_name: TraceSet名称
                trace_ids: 逗号分隔的trace ID列表,必填
                workspace: CMS工作空间名称
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(trace详情列表)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_list_data_settool 列出指定实体的可用数据集合,为其他PaaS工具提供参数选项。FilesEnv vars
列出指定实体的可用数据集合,为其他PaaS工具提供参数选项。

            ## 功能概述

            该工具是一个元数据查询接口,用于获取指定实体域和类型下可用的数据集合信息。
            主要作用是为其他PaaS层工具(如observability、entity等工具)提供可选的参数列表,
            包括指标集合、日志集合、事件集合等存储信息。

            ## 使用场景

            - **参数发现**: 为 umodel_get_metrics 提供可用的指标集合(metric_set)列表
            - **日志源查询**: 为 umodel_get_logs 提供可用的日志集合(log_set)列表
            - **事件源发现**: 为 umodel_get_events 提供可用的事件集合(event_set)列表
            - **追踪数据源**: 为 umodel_get_traces 提供可用的追踪集合(trace_set)列表
            - **实体关联**: 为实体查询工具提供关联的数据集合信息

            ## 参数说明

            - data_set_types: 数据集合类型过滤器,常见类型包括:
              * 'metric_set': 指标集合,用于获取可查询的指标名称列表
              * 'log_set': 日志集合,用于获取可查询的日志数据源
              * 'event_set': 事件集合,用于获取可查询的事件数据源
              * 'trace_set': 追踪集合,用于获取可查询的追踪数据源
              * 'entity_set_name': 实体集合,用于获取实体关联的数据集合
            - entity_ids: (可选)指定具体实体ID列表,只获取这些实体关联的数据集

            ## 工具依赖关系

            这个工具的输出为其他PaaS工具提供参数选项:
            - umodel_get_metrics → 使用返回的 metric_set 信息选择指标
            - umodel_get_logs → 使用返回的 log_set 信息选择日志源
            - umodel_get_events → 使用返回的 event_set 信息选择事件源
            - umodel_get_traces → 使用返回的 trace_set 信息选择追踪源

            ## 示例用法

            ```
            # 获取服务实体的所有数据集合类型
            umodel_list_data_set(domain="apm", entity_set_name="apm.service")

            # 仅获取指标集合,用于后续指标查询
            umodel_list_data_set(
                domain="apm",
                entity_set_name="apm.service",
                data_set_types="metric_set"
            )

            # 获取日志和事件集合,用于故障分析
            umodel_list_data_set(
                domain="apm",
                entity_set_name="apm.service",
                data_set_types="log_set,event_set"
            )

            # 指定具体实体获取数据集(适用于实体间数据集可能不同的场景)
            umodel_list_data_set(
                domain="apm",
                entity_set_name="apm.service",
                entity_ids="service-001,service-002",
                data_set_types="metric_set"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                workspace: CMS工作空间名称
                domain: 实体域,不能为通配符 '*'
                entity_set_name: 实体类型,不能为通配符 '*'
                data_set_types: 数据集合类型过滤器,逗号分隔的类型列表
                entity_ids: 逗号分隔的实体ID列表,指定后只返回这些实体关联的数据集
                from_time: 查询开始时间
                to_time: 查询结束时间
                regionId: 阿里云区域ID

            Returns:
                包含指定实体的可用数据集合列表,每个数据集合包含名称、类型、存储信息等元数据
umodel_list_related_entity_settool 列出与指定实体集合相关的其他实体集合。FilesEnv vars
列出与指定实体集合相关的其他实体集合。

            ## 功能概述

            该工具用于发现与指定实体集合存在关系定义的其他实体集合类型。
            这是一个元数据级别的工具,用于探索UModel拓扑的高级蓝图。

            ## 功能特点

            - **关系发现**: 查找与源实体集合有关系定义的其他实体集合
            - **方向控制**: 支持查看入向、出向或双向关系
            - **类型过滤**: 可按特定关系类型进行过滤
            - **元数据级别**: 显示可能的关系,不保证实际实体间存在连接

            ## 使用场景

            - **拓扑探索**: 了解实体集合间可能存在的关系类型
            - **依赖分析**: 发现服务可以调用的其他实体类型
            - **关系建模**: 为关系查询工具提供参数信息

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                domain: 源实体集合的域
                entity_set_name: 源实体集合的名称
                workspace: CMS工作空间名称
                relation_type: 可选的关系类型过滤
                direction: 关系方向
                detail: 是否返回详细信息
                regionId: 阿里云区域ID

            Returns:
                包含相关实体集合信息的响应对象
umodel_search_entitiestool 基于关键词全文搜索实体信息。FilesEnv vars
基于关键词全文搜索实体信息。

            ## 功能概述

            该工具用于在指定的实体集合中根据关键词进行全文搜索,查找名称或属性
            包含搜索关键词的实体。返回 'statistics'(按类型统计匹配数量)和
            'detail'(匹配的实体详情)两部分数据。

            ## 功能特点

            - **全文检索**: 支持对实体名称和属性进行模糊搜索
            - **统计信息**: 返回按实体类型分组的匹配数量统计
            - **详细结果**: 返回匹配的实体详细信息
            - **灵活过滤**: 支持通配符 '*' 搜索所有域或类型

            ## 使用场景

            - **服务搜索**: 根据服务名称片段搜索相关的微服务实体
            - **基础设施搜索**: 根据主机名或IP地址搜索基础设施实体
            - **快速定位**: 在大量实体中搜索包含特定关键词的实体
            - **实体发现**: 作为主要的实体发现工具

            ## 参数说明

            - workspace: CMS工作空间名称(必需)
            - search_text: 搜索关键词,支持部分匹配和模糊搜索
            - domain: 实体集合的域,可以为 '*' 表示搜索所有域
            - entity_set_name: 实体集合名称,可以为 '*' 表示搜索所有类型
            - time_range: 时间范围表达式,默认 last_1h
            - limit: 返回多少个详细搜索结果,默认10个

            ## 返回数据说明

            返回包含两部分数据:
            - **statistics**: 按实体类型分组的匹配数量统计
              - __domain__: 实体域
              - __name__: 实体类型名称
              - match_count: 匹配数量
              - __arbitrary_entity_id__: 示例实体ID
            - **detail**: 匹配的实体详细信息列表

            ## 示例用法

            ```
            # 搜索包含"payment"关键词的服务
            umodel_search_entities(
                workspace="apm",
                search_text="payment",
                domain="apm",
                entity_set_name="apm.service"
            )

            # 搜索所有域中包含特定IP的实体
            umodel_search_entities(
                workspace="apm",
                search_text="192.168.1",
                domain="*",
                entity_set_name="*",
                limit=20
            )

            # 使用时间范围参数
            umodel_search_entities(
                workspace="apm",
                search_text="order",
                time_range="last_3h"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                workspace: CMS工作空间名称
                search_text: 搜索关键词
                domain: 实体集合域名,可以为 '*'
                entity_set_name: 实体集合名称,可以为 '*'
                time_range: 时间范围表达式,默认 last_1h
                limit: 返回详细搜索结果数量
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含 error, data, message, query, time_range 字段
                data 包含 statistics 和 detail 两部分
umodel_search_entity_settool 搜索实体集合,支持全文搜索并按相关度排序。FilesEnv vars
搜索实体集合,支持全文搜索并按相关度排序。

            ## 功能概述

            该工具用于在UModel元数据中搜索实体集合定义,支持按关键词进行全文搜索。
            主要用于发现可用的实体集合类型和它们的元数据信息。

            ## 功能特点

            - **全文搜索**: 支持在实体集合的元数据和规格中进行全文搜索
            - **相关度排序**: 搜索结果按相关度进行排序
            - **元数据查询**: 返回实体集合的domain、name、display_name等元数据信息
            - **可选过滤**: 支持按domain和name进行额外过滤

            ## 使用场景

            - **实体集合发现**: 搜索包含特定关键词的实体集合类型
            - **元数据探索**: 了解系统中可用的实体集合及其描述信息
            - **工具链集成**: 为其他工具提供实体集合的发现能力

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                search_text: 搜索关键词
                workspace: CMS工作空间名称
                domain: 可选的域过滤
                entity_set_name: 可选的实体类型过滤
                limit: 返回结果数量限制
                regionId: 阿里云区域ID

            Returns:
                包含搜索到的实体集合信息的响应对象
umodel_search_tracestool 基于过滤条件搜索trace并返回摘要信息。支持按持续时间、错误状态、实体ID过滤,返回traceID用于详细分析。FilesEnv vars
基于过滤条件搜索trace并返回摘要信息。支持按持续时间、错误状态、实体ID过滤,返回traceID用于详细分析。

            ## 参数获取: 1)搜索实体集→ 2)列出TraceSet→ 3)获取实体ID(可选) → 4)执行搜索
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - trace_set_domain,trace_set_name: `umodel_list_data_set(data_set_types="trace_set")`返回domain/name
            - entity_ids: `umodel_get_entities()` (可选)
            - 过滤条件: min_duration_ms(慢trace)、has_error(错误trace)、max_duration_ms等

            ## 示例用法

            ```python
            # 搜索慢 trace(持续时间 > 1000ms)
            umodel_search_traces(
                domain="apm", entity_set_name="apm.service",
                trace_set_domain="apm", trace_set_name="apm.trace.common",
                min_duration_ms=1000,
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 搜索错误 trace
            umodel_search_traces(
                domain="apm", entity_set_name="apm.service",
                trace_set_domain="apm", trace_set_name="apm.trace.common",
                has_error=True,
                workspace="my-workspace",
                time_range="last_30m"
            )

            # 搜索特定实体的 trace
            umodel_search_traces(
                domain="apm", entity_set_name="apm.service",
                trace_set_domain="apm", trace_set_name="apm.trace.common",
                entity_ids="service-1,service-2",
                workspace="my-workspace",
                time_range="now-15m~now"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                trace_set_domain: TraceSet域名
                trace_set_name: TraceSet名称
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,可选
                min_duration_ms: 最小trace持续时间(毫秒),可选
                max_duration_ms: 最大trace持续时间(毫秒),可选
                has_error: 按错误状态过滤,可选
                limit: 返回的最大trace摘要数量,默认100
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(trace摘要列表,包含traceId, duration_ms, span_count, error_span_count)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息

Text the model reads (32)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

handler tool
cms_text_to_promql tool
将自然语言转换为PromQL查询语句。

            ## 功能概述

            该工具可以将自然语言描述转换为有效的PromQL查询语句,便于用户使用自然语言表达查询需求。

            ## 使用场景

            - 当用户不熟悉PromQL查询语法时
            - 当需要快速构建复杂查询时
            - 当需要从自然语言描述中提取查询意图时

            ## 使用限制

            - 仅支持生成PromQL查询
            - 生成的是查询语句,而非查询结果


            ## 最佳实践

            - 提供清晰简洁的自然语言描述
            - 不要在描述中包含项目或时序库名称
            - 首次生成的查询可能不完全符合要求,可能需要多次尝试

            ## 查询示例

            - "帮我生成 XXX 的PromQL查询语句"
            - "查询每个namespace下的Pod数量"

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                text: 用于生成查询的自然语言文本
                project: SLS项目名称
                metricStore: SLS时序库名称
                regionId: 阿里云区域ID

            Returns:
                生成的PromQL查询语句
sls_text_to_sql_old tool
[Deprecated] 将自然语言转换为SLS查询语句(旧版API)。

            ⚠\ufe0f 该工具已废弃,请优先使用 sls_text_to_sql 工具。

            ## 废弃说明

            此工具使用旧版 SLS CallAiTools API,功能有限且不再维护。
            新版 sls_text_to_sql 工具使用 CMS Chat API,提供更智能的 SQL 生成能力,
            包括更好的上下文理解、更准确的查询生成和更详细的解释说明。

            ## 功能概述

            该工具使用旧版SLS CallAiTools API将自然语言描述转换为有效的SLS查询语句。

            ## 使用场景

            - 仅当新版 sls_text_to_sql 工具不可用时作为备选方案

            ## 使用限制

            - 仅支持生成SLS查询,不支持其他数据库的SQL如MySQL、PostgreSQL等
            - 生成的是查询语句,而非查询结果,需要配合execute_sql工具使用
            - 需要对应的 logstore 已经设定了索引信息

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                text: 用于生成查询的自然语言文本
                project: SLS项目名称
                logStore: SLS日志库名称
                regionId: 阿里云区域ID

            Returns:
                生成的SLS查询语句和相关信息
sls_text_to_sql tool
将自然语言转换为SLS查询语句。当用户有明确的 logstore 查询需求,必须优先使用该工具来生成查询语句

            ## 功能概述

            该工具使用CMS数字员工Chat API(SSE流式)进行text-to-SQL转换,
            与SLS控制台的Chat API行为一致。提供更智能的上下文感知和错误处理。
            用户有任何 SLS 日志查询需求时,都需要优先使用该工具。

            ## API 特性

            - 使用 CMS SDK 的 CreateThread + CreateChatWithSSE API
            - 支持会话上下文,可进行多轮对话
            - 自动处理字段未索引的情况(自动添加 scan mode)
            - 更智能的错误处理和重试机制

            ## 使用场景

            - 当用户不熟悉SLS查询语法时
            - 当需要快速构建复杂查询时
            - 当需要从自然语言描述中提取查询意图时
            - 当需要更智能的SQL生成时
            - 当需要多轮对话优化查询时

            ## 使用限制

            - 仅支持生成SLS查询,不支持其他数据库的SQL如MySQL、PostgreSQL等
            - 生成的是查询语句,而非查询结果,需要配合execute_sql工具使用
            - 需要对应的 logstore 已经设定了索引信息

            ## 最佳实践

            - 提供清晰简洁的自然语言描述
            - 不要在描述中包含项目或日志库名称
            - 首次生成的查询可能不完全符合要求,可能需要多次尝试

            ## 查询示例

            - "帮我生成下 XXX 的日志查询语句"
            - "查找最近一小时内的错误日志"
            - "统计不同类型的 admin_emails 数量"

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                text: 用于生成查询的自然语言文本
                project: SLS项目名称
                logStore: SLS日志库名称
                regionId: 阿里云区域ID

            Returns:
                生成的SLS查询语句和相关信息,包含 data 和 requestId 字段
sls_text_to_spl tool
将自然语言转换为SLS SPL查询语句。

            ## 功能概述

            该工具可以将自然语言描述转换为有效的SLS SPL查询语句。
            注意:SPL (Search Processing Language) 是SLS的一种管道式查询语句,主要用于数据加工、过滤、提取等场景,与标准SQL不同。

            ## 使用场景

            - 当用户需要对日志数据进行结构化提取时
            - 当需要从非结构化文本中解析字段时

            ## 注意事项

            - 本工具会基于提供的 data_sample 直接执行生成的 SPL 并返回结果(preview_data),通常无需额外再次调用执行工具。
            - 返回结果中包含生成的 query 和基于样例数据的执行结果 data。

            ## 示例用法

            ### 1. 基础字段提取
            **Query**: "从日志中提取 IP 地址和状态码"
            **Data Sample**:
            ```json
            [
              {"content": "2023-10-01 10:00:00 192.168.1.1 GET /index.html 200"},
              {"content": "2023-10-01 10:00:01 10.0.0.1 POST /api/login 403"}
            ]
            ```

            ### 2. 复杂正则解析
            **Query**: "解析日志中的时间、级别、线程号和消息内容"
            **Data Sample**:
            ```json
            [
              {"raw": "[2023-10-01 10:00:00] [INFO] [Thread-1] System started"},
              {"raw": "[2023-10-01 10:00:05] [ERROR] [Thread-main] Connection failed"}
            ]
            ```

            ### 3. JSON字段处理
            **Query**: "提取 details 字段中的 error_code"
            **Data Sample**:
            ```json
            [
              {"time": "1696154400", "details": "{\\\\"error_code\\\\": 500, \\\\"msg\\\\": \\\\"Internal Error\\\\"}"},
              {"time": "1696154401", "details": "{\\\\"error_code\\\\": 200, \\\\"msg\\\\": \\\\"OK\\\\"}"}
            ]
            ```

            Args:
                ctx: MCP上下文
                text: 自然语言描述
                project: SLS项目名称
                logStore: SLS日志库名称
                data_sample: 样例日志数据
                regionId: 阿里云区域ID

            Returns:
                包含生成的SPL查询语句(query)、样例数据执行结果(data)及完整响应信息
sls_sop tool
SLS SOP (Standard Operating Procedure) assistant.

            ## 功能概述

            该工具是一个智能助手,用于回答关于 SLS (Simple Log Service) 使用方法、功能介绍、操作步骤 (SOP) 等方面的问题。

            ## 使用场景

            - 当用户不知道如何使用某个功能时(如:如何创建数据加工任务)
            - 当用户需要了解 SLS 的概念或术语时
            - 当用户遇到操作问题需要指引时

            ## 示例用法

            - "如何创建新的数据加工"
            - "什么是 Project"
            - "怎么配置告警"

            Args:
                ctx: MCP上下文
                text: 用户的问题
                regionId: 阿里云区域ID
                project: SLS项目名称(可选)
                logStore: SLS日志库名称(可选)

            Returns:
                助手的回答内容
sls_execute_sql tool
执行SLS日志查询。

            ## 功能概述

            该工具用于在指定的SLS项目和日志库上执行查询语句,并返回查询结果。查询将在指定的时间范围内执行。如果上下文没有提到具体的 SQL 语句,必须优先使用 iaas_sls_text_to_sql 工具生成查询语句,无论问题有多简单

            ## 使用场景

            - 当需要根据特定条件查询日志数据时
            - 当需要分析特定时间范围内的日志信息时
            - 当需要检索日志中的特定事件或错误时
            - 当需要统计日志数据的聚合信息时

            ## 查询语法

            查询必须使用SLS有效的查询语法,而非自然语言。如果不了解日志库的结构,可以先使用iaas_sls_list_logstores工具获取索引信息。

            ## 时间范围

            查询必须指定时间范围:如果查询是由 iaas_sls_text_to_sql 工具生成的,应使用 iaas_sls_text_to_sql 响应中的时间戳
            - from_time: 开始时间,支持Unix时间戳(秒/毫秒)或相对时间表达式(如 'now-1h')
            - to_time: 结束时间,支持Unix时间戳(秒/毫秒)或相对时间表达式(如 'now')

            ## 查询示例

            - "帮我查询下 XXX 的日志信息"
            - "查找最近一小时内的错误日志"

            ## 错误处理
            - Column xxx can not be resolved 如果是 iaas_sls_text_to_sql 工具生成的查询语句,可能存在查询列未开启统计,可以提示用户增加相对应的信息,或者调用 iaas_sls_list_logstores 工具获取索引信息之后,要用户选择正确的字段或者提示用户对列开启统计。当确定列开启统计之后,可以再次调用 iaas_sls_text_to_sql 工具生成查询语句

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                project: SLS项目名称
                logStore: SLS日志库名称
                query: SLS查询语句
                from_time: 查询开始时间,支持时间戳或相对时间
                to_time: 查询结束时间,支持时间戳或相对时间
                limit: 返回结果的最大数量,范围1-100,默认10
                offset: 查询开始行,用于分页查询,默认0。仅在query为纯查询语句时有效
                reverse: 是否按日志时间戳降序返回,默认False。仅在query为纯查询语句时有效
                regionId: 阿里云区域ID

            Returns:
                查询结果列表,每个元素为一条日志记录
sls_get_context_logs tool
查询指定日志前后的上下文日志。

            ## 功能概述

            该工具用于根据“起始日志”的 pack_id 与 pack_meta,查询该日志前(上文)后(下文)的若干条上下文日志。

            说明:上下文查询的时间范围固定为起始日志的前后一天(由SLS服务端限制)。

            ## 如何获取 pack_id 与 pack_meta(推荐方式)

            先使用本项目的 `sls_execute_sql` 获取目标日志,并在查询语句末尾追加 `|with_pack_meta`,
            使查询结果携带内部字段:
            - `__pack_id__`:对应本工具的 pack_id
            - `__pack_meta__`:对应本工具的 pack_meta

            然后选定你要作为起始点的那条日志,将上述两个字段值传入本工具即可。

            ## 参数说明

            - back_lines / forward_lines:范围 0~100,且两者至少一个大于 0。

            ## 返回结果

            返回结构与SLS OpenAPI一致(包含 total_lines/back_lines/forward_lines/progress/logs 等),
            其中 logs 内每条日志会包含:
            - `__index_number__`:相对起始日志的位置(负数为上文,0 为起始日志,正数为下文)
            - `__tag__:__pack_id__` 与 `__pack_meta__`:可作为下一次上下文查询的定位信息
cms_execute_promql tool
执行PromQL指标查询。

            ## 功能概述

            该工具用于在指定的SLS项目和指标库上执行PromQL查询语句,并返回时序指标数据。主要用于查询和分析时序指标数据。

            ## 使用场景

            - 当需要查询时序指标数据时
            - 当需要分析系统性能指标时
            - 当需要监控业务指标趋势时
            - 当需要进行指标聚合计算时

            ## 查询语法

            查询必须使用有效的PromQL语法。PromQL是专门用于时序数据查询的表达式语言。

            ## 时间范围

            查询必须指定时间范围:
            - from_time: 开始时间,支持Unix时间戳(秒/毫秒)或相对时间表达式(如 'now-1h')
            - to_time: 结束时间,支持Unix时间戳(秒/毫秒)或相对时间表达式(如 'now')

            ## 查询示例

            - "查询CPU使用率指标"
            - "获取内存使用率的时序数据"

            ## 注意事项

            - 确保指定的metric store存在且包含所需的指标数据
            - PromQL语法与SQL语法不同,请使用正确的PromQL表达式
            - 时间范围不宜过大,以免查询超时

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                project: SLS项目名称
                metricStore: SLS指标库名称
                query: PromQL查询语句
                from_time: 查询开始时间,支持时间戳或相对时间
                to_time: 查询结束时间,支持时间戳或相对时间
                regionId: 阿里云区域ID

            Returns:
                PromQL查询执行结果,包含时序指标数据
sls_list_projects tool
列出阿里云日志服务中的所有项目。

            ## 功能概述

            该工具可以列出指定区域中的所有SLS项目,支持通过项目名进行模糊搜索。如果不提供项目名称,则返回该区域的所有项目。

            ## 使用场景

            - 当需要查找特定项目是否存在时
            - 当需要获取某个区域下所有可用的SLS项目列表时
            - 当需要根据项目名称的部分内容查找相关项目时

            ## 返回数据结构

            返回的项目信息包含:
            - project_name: 项目名称
            - description: 项目描述
            - region_id: 项目所在区域

            ## 查询示例

            - "有没有叫 XXX 的 project"
            - "列出所有SLS项目"

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                projectName: 项目名称查询字符串,支持模糊搜索
                limit: 返回结果的最大数量,范围1-100,默认50
                regionId: 阿里云区域ID,region id format like "xx-xxx",like "cn-hangzhou"

            Returns:
                包含项目信息的字典列表,每个字典包含project_name、description和region_id
sls_execute_spl tool
执行原SPL查询语句。

            ## 功能概述

            该工具允许直接执行原生SPL(Search Processing Language)查询语句,
            为高级用户提供最大的灵活性和功能。支持复杂的数据操作和分析。

            ## 使用场景

            - 复杂的数据分析和统计计算,超出标准API的覆盖范围
            - 自定义的数据聚合和转换操作
            - 跨多个实体集合的联合查询和关联分析
            - 高级的数据挖掘和机器学习分析
            - 业务方法验证和原型开发

            ## 注意事项

            - 需要对SPL语法有一定的了解
            - 请确保查询语句的正确性,错误的查询可能导致无结果或错误
            - 复杂查询可能消耗较多的计算资源和时间

            ## 示例用法

            ```
            # 执行简单的SPL查询
            sls_execute_spl(
                query=".entity_set with(domain='apm', name='apm.service') | entity-call get_entities() | head 10"
            )

            # 执行复杂的聚合查询
            sls_execute_spl(
                query=".entity_set with(domain='apm', name='apm.service') | entity-call get_metrics('system', 'cpu', 'usage') | stats avg(value) by entity_id"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                query: 原生SPL查询语句
                workspace: CMS工作空间名称
                from_time: 查询开始时间
                to_time: 查询结束时间
                regionId: 阿里云区域ID

            Returns:
                SPL查询执行结果的响应对象
sls_list_logstores tool
列出SLS项目中的日志库。

            ## 功能概述

            该工具可以列出指定SLS项目中的所有日志库,如果不选,则默认为日志库类型
            支持通过日志库名称进行模糊搜索。如果不提供日志库名称,则返回项目中的所有日志库。

            ## 使用场景

            - 当需要查找特定项目下是否存在某个日志库时
            - 当需要获取项目中所有可用的日志库列表时
            - 当需要根据日志库名称的部分内容查找相关日志库时
            - 如果从上下文未指定 project参数,除非用户说了遍历,则可使用 iaas_sls_list_projects 工具获取项目列表

            ## 是否指标库

            如果需要查找指标或者时序相关的库,请将isMetricStore参数设置为True

            ## 查询示例

            - "我想查询有没有 XXX 的日志库"
            - "某个 project 有哪些 logstore"

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                project: SLS项目名称,必须精确匹配
                logStore: 日志库名称,支持模糊搜索
                limit: 返回结果的最大数量,范围1-100,默认10
                isMetricStore: 是否指标库,可选值为True或False,默认为False
                regionId: 阿里云区域ID

            Returns:
                日志库名称的字符串列表
sls_log_explore tool
查看阿里云日志服务中某个日志库的日志数据聚合分析结果,提供日志数据概览信息。

            ## 功能概述

            该工具可以给出指定日志库中日志数据的概览信息。给出日志数据中典型的日志模板,以及各个日志模板对应日志数量分布。

            ## 使用场景

            - 当需要查看日志库中日志的概览信息和数据分布时

            ## 查询实例

            - "查询某个 project 的某个 logstore 中的日志数据分布"
            - "某个 project 的某个 logstore 中不同风险等级的日志有哪些"

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                project: SLS项目名称,必须精确匹配
                logStore: SLS日志库名称,必须精确匹配
                from_time: 查询开始时间
                to_time: 查询结束时间
                regionId: 阿里云区域ID
                logField: 日志字段名称
                filter_query: 过滤查询语句
                groupField: 分组字段名称

            Returns:
                日志数据概览信息
sls_log_compare tool
查看阿里云日志服务中某个日志库的日志数据在两个时间范围内的对比结果。

            ## 功能概述

            该工具可以两个时间范围内的日志数据分布的区别,用于快速分析日志数据的变化情况。

            ## 使用场景

            - 当需要分析两个时间范围内的日志数据分布的区别时

            ## 查询实例

            - "昨天的日志和今天的相比有什么区别"
            - "服务发布前后日志有什么变化"

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                project: SLS项目名称,必须精确匹配
                logStore: SLS日志库名称,必须精确匹配
                test_from_time: 实验组数据的开始时间
                test_to_time: 实验组数据的结束时间
                control_from_time: 对照组数据的开始时间
                control_to_time: 对照组数据的结束时间
                regionId: 阿里云区域ID
                logField: 日志字段名称
                filter_query: 过滤查询语句
                groupField: 分组字段名称

            Returns:
                日志数据对比结果
cms_natural_language_query tool
使用自然语言查询可观测数据。

            ## 功能概述

            用户可以使用自然语言描述想要查询的数据,系统会自动理解意图并返回相应的数据结果。

            ## 使用场景

            - 当需要快速查询可观测数据但不熟悉具体 API 时
            - 当需要进行复杂的数据分析但不想编写复杂查询语句时
            - 当需要获取服务性能概览、错误分析、慢请求统计等信息时

            ## 支持的查询类型

            - 指标查询:如"查询服务A的CPU使用率"、"获取内存使用最高的Pod"
            - 日志查询:如"统计错误日志数量"、"查找包含Exception的日志"
            - 链路查询:如"查询延迟超过1秒的请求"、"获取服务调用拓扑"
            - 聚合统计:如"按服务分组统计请求数量"、"计算平均响应时间"

            ## 返回数据结构

            返回的数据包含:
            - data: 查询结果数据,包含 query_results(实体列表、指标数据等)
            - message: AI 生成的解释说明文本
            - trace_id: 追踪ID,用于问题排查
            - error: 是否发生错误(true/false)
            - time_range: 查询的时间范围

            ## 查询示例

            - "查询请求量最高的10个服务"
            - "哪些服务的错误率超过1%"
            - "查询响应时间超过1秒的服务"
            - "统计各服务的请求数量"

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                query: 自然语言查询文本,描述想要查询的数据

            Returns:
                包含查询结果的字典:
                - data: 查询结果数据
                - message: 解释说明
                - trace_id: 追踪ID
                - error: 是否发生错误
                - time_range: 查询时间范围
umodel_get_metrics tool
获取实体的时序指标数据,支持range/instant查询、聚合计算、高级分析模式和时序对比。

            ## 参数获取: 1)搜索实体集→ 2)列出MetricSet→ 3)获取实体ID(可选) → 4)执行查询
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - metric_domain_name,metric: `umodel_list_data_set(data_set_types="metric_set")`返回name/fields
            - entity_ids: `umodel_get_entities()` (可选)

            ## 分析模式说明
            - **basic**: 返回原始时序数据
            - **cluster**: 时序聚类,输出字段: __cluster_index__, __entities__, __sample_ts__, __sample_value__, __sample_value_max/min/avg__
            - **forecast**: 时序预测,输出字段: __forecast_ts__, __forecast_value__, __forecast_lower/upper_value__, __labels__, __name__, __entity_id__
            - **anomaly_detection**: 异常检测,输出字段: __entity_id__, __anomaly_list_, __anomaly_msg__, __value_min/max/avg__

            ## 示例用法

            ```python
            # 基础查询 - 获取服务的CPU使用率时序数据
            umodel_get_metrics(
                domain="apm", entity_set_name="apm.service",
                metric_domain_name="apm.metric.apm.operation", metric="cpu_usage",
                entity_ids="service-1,service-2", analysis_mode="basic",
                time_range="last_1h"
            )

            # 时序对比 - 对比当前1小时与1天前的指标数据
            umodel_get_metrics(
                domain="apm", entity_set_name="apm.service",
                metric_domain_name="apm.metric.apm.service", metric="request_count",
                entity_ids="service-1", analysis_mode="basic",
                time_range="last_1h", offset="1d"
            )

            # 时序聚类 - 对多个服务的延迟指标进行聚类分析
            umodel_get_metrics(
                domain="apm", entity_set_name="apm.service",
                metric_domain_name="apm.metric.apm.service", metric="avg_request_latency_seconds",
                entity_ids="svc1,svc2,svc3", analysis_mode="cluster",
                time_range="now-30m~now"
            )

            # 时序预测 - 预测未来1小时的指标趋势
            umodel_get_metrics(
                domain="apm", entity_set_name="apm.service",
                metric_domain_name="apm.metric.apm.service", metric="request_count",
                entity_ids="service-1", analysis_mode="forecast", forecast_duration="1h",
                time_range="last_3d"
            )

            # 异常检测 - 检测指标中的异常点
            umodel_get_metrics(
                domain="apm", entity_set_name="apm.service",
                metric_domain_name="apm.metric.apm.service", metric="error_rate",
                entity_ids="service-1", analysis_mode="anomaly_detection",
                time_range="last_1d"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                metric_domain_name: 指标域名称,类似于apm.metric.jvm这样的格式
                metric: 指标名称
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,可选
                query_type: 查询类型,range或instant
                aggregate: 是否聚合结果(cluster/forecast/anomaly_detection模式强制为false)
                analysis_mode: 分析模式,可选basic/cluster/forecast/anomaly_detection
                forecast_duration: 预测时长,仅forecast模式有效
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                offset: 对比偏移量,如'1h','1d','1w',启用后返回对比分析结果
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(启用对比时包含 compare_enabled, current_time_range, compare_time_range, offset, total_series, results)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_get_golden_metrics tool
获取实体的黄金指标(关键性能指标)数据,支持时序对比。包括延迟、吞吐量、错误率、饱和度等核心指标。

            黄金指标是快速评估实体健康状况的关键工具,通常包括:
            - 延迟(Latency): 请求响应时间
            - 吞吐量(Throughput): 请求处理速率
            - 错误率(Error Rate): 失败请求比例
            - 饱和度(Saturation): 资源使用程度

            ## 参数获取: 1)搜索实体集→ 2)获取实体ID(可选) → 3)执行查询
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - entity_ids: `umodel_get_entities()` (可选)

            ## 示例用法

            ```python
            # 获取服务的黄金指标(范围查询,聚合结果)
            umodel_get_golden_metrics(
                domain="apm", entity_set_name="apm.service",
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 获取特定实体的黄金指标(即时查询,不聚合)
            umodel_get_golden_metrics(
                domain="apm", entity_set_name="apm.service",
                entity_ids="service-1,service-2",
                query_type="instant", aggregate=False,
                workspace="my-workspace",
                time_range="last_15m"
            )

            # 黄金指标对比 - 对比当前1小时与1天前的黄金指标
            umodel_get_golden_metrics(
                domain="apm", entity_set_name="apm.service",
                entity_ids="service-1",
                workspace="my-workspace",
                time_range="last_1h", offset="1d"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,可选
                query_type: 查询类型,range或instant,默认range
                aggregate: 是否聚合结果,默认true
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                offset: 对比偏移量,如'1h','1d','1w',启用后返回对比分析结果
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(启用对比时包含 compare_enabled, current_time_range, compare_time_range, offset, total_series, results)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_get_relation_metrics tool
获取实体间关系级别的指标数据,如服务调用延迟、吞吐量等。用于分析微服务依赖关系。

            关系指标用于分析服务间的调用关系,包括:
            - 调用延迟(Latency): 服务间调用的响应时间
            - 调用次数(Request Count): 服务间调用的请求数量
            - 错误率(Error Rate): 服务间调用的失败比例

            ## 参数获取: 1)搜索实体集→ 2)列出相关实体→ 3)执行查询
            - src_domain,src_entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - relation_type: `umodel_list_related_entity_set()` 了解可用关系类型
            - src_entity_ids: `umodel_get_entities()` (必填)
            - metric_set_domain,metric_set_name,metric: `umodel_list_data_set(data_set_types="metric_set")`

            ## 示例用法

            ```python
            # 获取服务A调用其他服务的延迟指标
            umodel_get_relation_metrics(
                src_domain="apm", src_entity_set_name="apm.service",
                src_entity_ids="service-a",
                relation_type="calls", direction="out",
                metric_set_domain="apm", metric_set_name="apm.metric.apm.operation",
                metric="avg_request_latency_seconds",
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 获取服务B被其他服务调用的请求数量
            umodel_get_relation_metrics(
                src_domain="apm", src_entity_set_name="apm.service",
                src_entity_ids="service-b",
                relation_type="calls", direction="in",
                metric_set_domain="apm", metric_set_name="apm.metric.apm.operation",
                metric="request_count",
                workspace="my-workspace",
                time_range="now-30m~now"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                src_domain: 源实体域名,不能为'*'
                src_entity_set_name: 源实体类型名称,不能为'*'
                src_entity_ids: 逗号分隔的源实体ID列表,必填
                relation_type: 关系类型,如'calls'
                direction: 关系方向,'in'或'out'
                metric_set_domain: 指标集域名
                metric_set_name: 指标集名称
                metric: 指标名称
                workspace: CMS工作空间名称
                dest_domain: 目标实体域名,可选
                dest_entity_set_name: 目标实体类型名称,可选
                dest_entity_ids: 逗号分隔的目标实体ID列表,可选
                query_type: 查询类型,range或instant,默认range
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(关系指标列表)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_get_logs tool
获取实体相关的日志数据,支持原始日志查询和日志聚类分析。用于故障诊断、性能分析、审计等场景。

            日志聚类功能可以自动识别日志模式,将相似日志归类,帮助快速发现问题模式和异常。
            推荐在日志量大时使用聚类模式,可以显著减少需要分析的日志条目数量。

            ## 参数获取: 1)搜索实体集→ 2)列出LogSet→ 3)获取实体ID(可选) → 4)执行查询
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - log_set_domain,log_set_name: `umodel_list_data_set(data_set_types="log_set")`返回domain/name
            - entity_ids: `umodel_get_entities()` (可选,但强烈推荐)

            ## 日志聚类说明
            当提供 `to_cluster_content_field` 参数时,启用日志聚类分析:
            - 系统会自动识别日志模式,将相似日志归类
            - 返回每个模式的统计信息:模式ID、模式模板、事件数量、时间范围、样本数据
            - 可选提供 `to_cluster_aggregate_field` 进一步按字段分组

            ## 示例用法

            ```python
            # 基础查询 - 获取原始日志
            umodel_get_logs(
                domain="apm", entity_set_name="apm.service",
                log_set_domain="apm", log_set_name="apm.log.apm.service",
                entity_ids="service-1",
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 日志聚类 - 按 content 字段聚类分析
            umodel_get_logs(
                domain="apm", entity_set_name="apm.service",
                log_set_domain="apm", log_set_name="apm.log.apm.service",
                entity_ids="service-1",
                to_cluster_content_field="content",
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 日志聚类 + 按级别分组 - 按 content 聚类并按 level 分组统计
            umodel_get_logs(
                domain="apm", entity_set_name="apm.service",
                log_set_domain="apm", log_set_name="apm.log.apm.service",
                entity_ids="service-1",
                to_cluster_content_field="content",
                to_cluster_aggregate_field="level",
                workspace="my-workspace",
                time_range="last_3h"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                log_set_domain: 日志集域名
                log_set_name: 日志集名称
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,可选但强烈推荐
                to_cluster_content_field: 日志聚类字段,提供时启用聚类分析
                to_cluster_aggregate_field: 聚类聚合字段,用于进一步分组统计
                limit: 返回的最大日志记录数量,默认100
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(原始日志或聚类结果)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息

                聚类模式返回的 data 字段包含:
                - pattern_id: 模式ID
                - pattern: 模式模板(变量用占位符表示)
                - var_summary: 变量摘要统计
                - earliest_ts: 最早出现时间
                - latest_ts: 最晚出现时间
                - event_num: 事件数量
                - data_sample: 样本数据
umodel_get_events tool
获取指定实体集的事件数据。事件是离散记录,如部署、告警、配置更改等。用于关联分析系统行为。

            事件数据用于记录系统中的离散事件,包括:
            - 部署事件(Deployment): 应用发布、配置变更
            - 告警事件(Alert): 监控告警触发、恢复
            - 系统事件(System): 重启、扩缩容等

            ## 参数获取: 1)搜索实体集→ 2)列出EventSet→ 3)获取实体ID(可选) → 4)执行查询
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - event_set_domain,event_set_name: `umodel_list_data_set(data_set_types="event_set")`或默认"default"/"default.event.common"
            - entity_ids: `umodel_get_entities()` (可选)

            ## 示例用法

            ```python
            # 获取服务的事件数据
            umodel_get_events(
                domain="apm", entity_set_name="apm.service",
                event_set_domain="default", event_set_name="default.event.common",
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 获取特定实体的事件数据
            umodel_get_events(
                domain="apm", entity_set_name="apm.service",
                event_set_domain="default", event_set_name="default.event.common",
                entity_ids="service-1,service-2",
                workspace="my-workspace",
                time_range="now-30m~now"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                event_set_domain: 事件集域名
                event_set_name: 事件集名称
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,可选
                limit: 返回的最大事件记录数量,默认100
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(事件列表)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_get_traces tool
获取指定trace ID的详细trace数据,包括所有span、独占耗时和元数据。用于深入分析慢trace和错误trace。

            ## 参数获取: 1)搜索trace → 2)获取详细信息
            - trace_ids: 通常从`umodel_search_traces()`工具输出中获得
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - trace_set_domain,trace_set_name: `umodel_list_data_set(data_set_types="trace_set")`返回domain/name

            ## 输出字段说明
            - duration_ms: span总耗时(毫秒)
            - exclusive_duration_ms: span独占耗时(毫秒),即排除子span后的实际执行时间

            ## 示例用法

            ```python
            # 获取指定 trace 的详细信息
            umodel_get_traces(
                domain="apm", entity_set_name="apm.service",
                trace_set_domain="apm", trace_set_name="apm.trace.common",
                trace_ids="trace-id-1,trace-id-2",
                workspace="my-workspace",
                time_range="last_1h"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                trace_set_domain: TraceSet域名
                trace_set_name: TraceSet名称
                trace_ids: 逗号分隔的trace ID列表,必填
                workspace: CMS工作空间名称
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(trace详情列表)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_search_traces tool
基于过滤条件搜索trace并返回摘要信息。支持按持续时间、错误状态、实体ID过滤,返回traceID用于详细分析。

            ## 参数获取: 1)搜索实体集→ 2)列出TraceSet→ 3)获取实体ID(可选) → 4)执行搜索
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - trace_set_domain,trace_set_name: `umodel_list_data_set(data_set_types="trace_set")`返回domain/name
            - entity_ids: `umodel_get_entities()` (可选)
            - 过滤条件: min_duration_ms(慢trace)、has_error(错误trace)、max_duration_ms等

            ## 示例用法

            ```python
            # 搜索慢 trace(持续时间 > 1000ms)
            umodel_search_traces(
                domain="apm", entity_set_name="apm.service",
                trace_set_domain="apm", trace_set_name="apm.trace.common",
                min_duration_ms=1000,
                workspace="my-workspace",
                time_range="last_1h"
            )

            # 搜索错误 trace
            umodel_search_traces(
                domain="apm", entity_set_name="apm.service",
                trace_set_domain="apm", trace_set_name="apm.trace.common",
                has_error=True,
                workspace="my-workspace",
                time_range="last_30m"
            )

            # 搜索特定实体的 trace
            umodel_search_traces(
                domain="apm", entity_set_name="apm.service",
                trace_set_domain="apm", trace_set_name="apm.trace.common",
                entity_ids="service-1,service-2",
                workspace="my-workspace",
                time_range="now-15m~now"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                trace_set_domain: TraceSet域名
                trace_set_name: TraceSet名称
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,可选
                min_duration_ms: 最小trace持续时间(毫秒),可选
                max_duration_ms: 最大trace持续时间(毫秒),可选
                has_error: 按错误状态过滤,可选
                limit: 返回的最大trace摘要数量,默认100
                time_range: 时间范围表达式,支持多种格式,默认last_1h
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(trace摘要列表,包含traceId, duration_ms, span_count, error_span_count)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_get_profiles tool
获取指定实体集的性能剖析数据。包括CPU使用、内存分配、方法调用堆栈等,用于性能瓶颈分析。

            性能剖析数据用于深入分析应用程序的性能瓶颈,包括:
            - CPU 使用情况:识别 CPU 密集型代码路径
            - 内存分配:发现内存泄漏和高内存消耗点
            - 方法调用堆栈:分析调用链和热点函数

            ## 参数获取: 1)搜索实体集→ 2)列出ProfileSet→ 3)获取实体ID(必须) → 4)执行查询
            - domain,entity_set_name: `umodel_search_entity_set(search_text="apm")`
            - profile_set_domain,profile_set_name: `umodel_list_data_set(data_set_types="profile_set")`返回domain/name
            - entity_ids: `umodel_get_entities()` (必填,数据量大需指定精确实体)

            ## 示例用法

            ```python
            # 获取服务的性能剖析数据
            umodel_get_profiles(
                domain="apm", entity_set_name="apm.service",
                profile_set_domain="default", profile_set_name="default.profile.common",
                entity_ids="service-1,service-2",
                workspace="my-workspace",
                time_range="last_5m"
            )

            # 获取最近15分钟的性能剖析数据
            umodel_get_profiles(
                domain="apm", entity_set_name="apm.service",
                profile_set_domain="default", profile_set_name="default.profile.common",
                entity_ids="service-1",
                workspace="my-workspace",
                time_range="now-15m~now"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问SLS客户端
                domain: 实体域名,不能为'*'
                entity_set_name: 实体类型名称,不能为'*'
                profile_set_domain: ProfileSet域名
                profile_set_name: ProfileSet名称
                workspace: CMS工作空间名称
                entity_ids: 逗号分隔的实体ID列表,必填
                limit: 返回的最大性能剖析记录数量,默认100
                time_range: 时间范围表达式,支持多种格式,默认last_5m
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含以下字段:
                - error: 布尔值,表示是否发生错误
                - data: 查询结果数据(性能剖析数据列表)
                - message: 状态消息
                - query: 执行的 SPL 查询(用于调试)
                - time_range: 实际使用的时间范围信息
umodel_list_data_set tool
列出指定实体的可用数据集合,为其他PaaS工具提供参数选项。

            ## 功能概述

            该工具是一个元数据查询接口,用于获取指定实体域和类型下可用的数据集合信息。
            主要作用是为其他PaaS层工具(如observability、entity等工具)提供可选的参数列表,
            包括指标集合、日志集合、事件集合等存储信息。

            ## 使用场景

            - **参数发现**: 为 umodel_get_metrics 提供可用的指标集合(metric_set)列表
            - **日志源查询**: 为 umodel_get_logs 提供可用的日志集合(log_set)列表
            - **事件源发现**: 为 umodel_get_events 提供可用的事件集合(event_set)列表
            - **追踪数据源**: 为 umodel_get_traces 提供可用的追踪集合(trace_set)列表
            - **实体关联**: 为实体查询工具提供关联的数据集合信息

            ## 参数说明

            - data_set_types: 数据集合类型过滤器,常见类型包括:
              * 'metric_set': 指标集合,用于获取可查询的指标名称列表
              * 'log_set': 日志集合,用于获取可查询的日志数据源
              * 'event_set': 事件集合,用于获取可查询的事件数据源
              * 'trace_set': 追踪集合,用于获取可查询的追踪数据源
              * 'entity_set_name': 实体集合,用于获取实体关联的数据集合
            - entity_ids: (可选)指定具体实体ID列表,只获取这些实体关联的数据集

            ## 工具依赖关系

            这个工具的输出为其他PaaS工具提供参数选项:
            - umodel_get_metrics → 使用返回的 metric_set 信息选择指标
            - umodel_get_logs → 使用返回的 log_set 信息选择日志源
            - umodel_get_events → 使用返回的 event_set 信息选择事件源
            - umodel_get_traces → 使用返回的 trace_set 信息选择追踪源

            ## 示例用法

            ```
            # 获取服务实体的所有数据集合类型
            umodel_list_data_set(domain="apm", entity_set_name="apm.service")

            # 仅获取指标集合,用于后续指标查询
            umodel_list_data_set(
                domain="apm",
                entity_set_name="apm.service",
                data_set_types="metric_set"
            )

            # 获取日志和事件集合,用于故障分析
            umodel_list_data_set(
                domain="apm",
                entity_set_name="apm.service",
                data_set_types="log_set,event_set"
            )

            # 指定具体实体获取数据集(适用于实体间数据集可能不同的场景)
            umodel_list_data_set(
                domain="apm",
                entity_set_name="apm.service",
                entity_ids="service-001,service-002",
                data_set_types="metric_set"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                workspace: CMS工作空间名称
                domain: 实体域,不能为通配符 '*'
                entity_set_name: 实体类型,不能为通配符 '*'
                data_set_types: 数据集合类型过滤器,逗号分隔的类型列表
                entity_ids: 逗号分隔的实体ID列表,指定后只返回这些实体关联的数据集
                from_time: 查询开始时间
                to_time: 查询结束时间
                regionId: 阿里云区域ID

            Returns:
                包含指定实体的可用数据集合列表,每个数据集合包含名称、类型、存储信息等元数据
umodel_search_entity_set tool
搜索实体集合,支持全文搜索并按相关度排序。

            ## 功能概述

            该工具用于在UModel元数据中搜索实体集合定义,支持按关键词进行全文搜索。
            主要用于发现可用的实体集合类型和它们的元数据信息。

            ## 功能特点

            - **全文搜索**: 支持在实体集合的元数据和规格中进行全文搜索
            - **相关度排序**: 搜索结果按相关度进行排序
            - **元数据查询**: 返回实体集合的domain、name、display_name等元数据信息
            - **可选过滤**: 支持按domain和name进行额外过滤

            ## 使用场景

            - **实体集合发现**: 搜索包含特定关键词的实体集合类型
            - **元数据探索**: 了解系统中可用的实体集合及其描述信息
            - **工具链集成**: 为其他工具提供实体集合的发现能力

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                search_text: 搜索关键词
                workspace: CMS工作空间名称
                domain: 可选的域过滤
                entity_set_name: 可选的实体类型过滤
                limit: 返回结果数量限制
                regionId: 阿里云区域ID

            Returns:
                包含搜索到的实体集合信息的响应对象
umodel_list_related_entity_set tool
列出与指定实体集合相关的其他实体集合。

            ## 功能概述

            该工具用于发现与指定实体集合存在关系定义的其他实体集合类型。
            这是一个元数据级别的工具,用于探索UModel拓扑的高级蓝图。

            ## 功能特点

            - **关系发现**: 查找与源实体集合有关系定义的其他实体集合
            - **方向控制**: 支持查看入向、出向或双向关系
            - **类型过滤**: 可按特定关系类型进行过滤
            - **元数据级别**: 显示可能的关系,不保证实际实体间存在连接

            ## 使用场景

            - **拓扑探索**: 了解实体集合间可能存在的关系类型
            - **依赖分析**: 发现服务可以调用的其他实体类型
            - **关系建模**: 为关系查询工具提供参数信息

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                domain: 源实体集合的域
                entity_set_name: 源实体集合的名称
                workspace: CMS工作空间名称
                relation_type: 可选的关系类型过滤
                direction: 关系方向
                detail: 是否返回详细信息
                regionId: 阿里云区域ID

            Returns:
                包含相关实体集合信息的响应对象
umodel_get_entities tool
获取实体信息的PaaS API工具。

            ## 功能概述

            该工具用于检索实体信息,支持分页查询、精确ID查询和过滤条件查询。
            如需要模糊搜索请使用 `umodel_search_entities` 工具。

            ## 功能特点

            - **数量控制**: 默认返回20个实体,支持通过limit参数控制返回数量
            - **精确查询**: 支持根据实体ID列表进行精确查询
            - **过滤查询**: 支持使用 entity_filter 表达式进行条件过滤
            - **职责清晰**: 专注于基础实体信息获取,不包含复杂搜索逻辑

            ## 使用场景

            - **分页浏览**: 分页获取实体列表,适用于大量实体的展示场景
            - **精确查询**: 根据已知的实体ID列表批量获取实体详细信息
            - **条件过滤**: 使用 entity_filter 按属性过滤实体
            - **基础数据**: 为其他分析工具提供基础实体数据

            ## 参数说明

            - domain: 实体集合的域,如 'apm'、'infrastructure' 等
            - entity_set_name: 实体集合名称,如 'apm.service'、'host.instance' 等
            - entity_ids: 可选的逗号分隔实体ID字符串,用于精确查询指定实体
            - entity_filter: 可选的过滤表达式,如 'name=payment and status!=inactive'
            - time_range: 时间范围表达式,支持多种格式,默认 last_1h
            - limit: 返回多少个实体,默认20个,最大1000个

            **注意**: entity_ids 和 entity_filter 至少需要提供一个

            ## 工具分工

            - `umodel_get_entities`: 基础实体信息获取(本工具)
            - `umodel_search_entities`: 基于关键词的模糊搜索
            - `umodel_get_neighbor_entities`: 获取实体的邻居关系

            ## 数量控制说明

            使用 `|limit {count}` 格式控制返回数量:
            - 返回前10个实体:limit=10 → `|limit 10`
            - 返回前50个实体:limit=50 → `|limit 50`
            - 返回前100个实体:limit=100 → `|limit 100`

            ## 示例用法

            ```
            # 根据实体ID批量查询
            umodel_get_entities(
                domain="apm",
                entity_set_name="apm.service",
                entity_ids="service-1,service-2,service-3"
            )

            # 使用过滤条件查询
            umodel_get_entities(
                domain="apm",
                entity_set_name="apm.service",
                entity_filter="name=payment"
            )

            # 组合使用 entity_ids 和 entity_filter
            umodel_get_entities(
                domain="apm",
                entity_set_name="apm.service",
                entity_ids="service-1,service-2",
                entity_filter="status!=inactive"
            )

            # 使用时间范围参数
            umodel_get_entities(
                domain="apm",
                entity_set_name="apm.service",
                entity_ids="service-1",
                time_range="last_3h"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                domain: 实体集合域名
                entity_set_name: 实体集合名称
                entity_ids: 可选的逗号分隔实体ID列表
                entity_filter: 可选的过滤表达式
                time_range: 时间范围表达式,默认 last_1h
                limit: 返回实体数量
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含 error, data, message, query, time_range 字段
umodel_get_neighbor_entities tool
Retrieves entities directly related to source entities in topology.

            Single-level traversal. Use for exploring immediate connections.
            "out": downstream, "in": upstream, "both": bidirectional.

            ## Parameters

            - workspace: CMS workspace identifier
            - src_entity_domain: Source Domain (e.g., "apm", "k8s")
            - src_name: Source EntitySet name (e.g., "apm.service", "k8s.pod")
            - src_entity_ids: Comma-separated source entity IDs
            - dest_entity_domain: Optional target Domain filter
            - dest_name: Optional target EntitySet filter
            - relation_type: Optional relation type filter
            - direction: "out" (downstream), "in" (upstream), "both" (default)
            - time_range: Time range expression, default last_1h
            - limit: Max results, default 10

            ## Example Usage

            ```python
            # Get downstream neighbors
            umodel_get_neighbor_entities(
                workspace="apm",
                src_entity_domain="apm",
                src_name="apm.service",
                src_entity_ids="payment-service-001",
                direction="out"
            )

            # Get upstream neighbors filtered by target type
            umodel_get_neighbor_entities(
                workspace="apm",
                src_entity_domain="apm",
                src_name="apm.service",
                src_entity_ids="payment-service-001",
                dest_entity_domain="k8s",
                dest_name="k8s.pod",
                direction="in"
            )

            # Get neighbors with specific relation type
            umodel_get_neighbor_entities(
                workspace="apm",
                src_entity_domain="apm",
                src_name="apm.service",
                src_entity_ids="svc-1,svc-2",
                relation_type="calls",
                direction="both"
            )
            ```

            Returns:
                Standard response with error, data, message, query, time_range fields
umodel_search_entities tool
基于关键词全文搜索实体信息。

            ## 功能概述

            该工具用于在指定的实体集合中根据关键词进行全文搜索,查找名称或属性
            包含搜索关键词的实体。返回 'statistics'(按类型统计匹配数量)和
            'detail'(匹配的实体详情)两部分数据。

            ## 功能特点

            - **全文检索**: 支持对实体名称和属性进行模糊搜索
            - **统计信息**: 返回按实体类型分组的匹配数量统计
            - **详细结果**: 返回匹配的实体详细信息
            - **灵活过滤**: 支持通配符 '*' 搜索所有域或类型

            ## 使用场景

            - **服务搜索**: 根据服务名称片段搜索相关的微服务实体
            - **基础设施搜索**: 根据主机名或IP地址搜索基础设施实体
            - **快速定位**: 在大量实体中搜索包含特定关键词的实体
            - **实体发现**: 作为主要的实体发现工具

            ## 参数说明

            - workspace: CMS工作空间名称(必需)
            - search_text: 搜索关键词,支持部分匹配和模糊搜索
            - domain: 实体集合的域,可以为 '*' 表示搜索所有域
            - entity_set_name: 实体集合名称,可以为 '*' 表示搜索所有类型
            - time_range: 时间范围表达式,默认 last_1h
            - limit: 返回多少个详细搜索结果,默认10个

            ## 返回数据说明

            返回包含两部分数据:
            - **statistics**: 按实体类型分组的匹配数量统计
              - __domain__: 实体域
              - __name__: 实体类型名称
              - match_count: 匹配数量
              - __arbitrary_entity_id__: 示例实体ID
            - **detail**: 匹配的实体详细信息列表

            ## 示例用法

            ```
            # 搜索包含"payment"关键词的服务
            umodel_search_entities(
                workspace="apm",
                search_text="payment",
                domain="apm",
                entity_set_name="apm.service"
            )

            # 搜索所有域中包含特定IP的实体
            umodel_search_entities(
                workspace="apm",
                search_text="192.168.1",
                domain="*",
                entity_set_name="*",
                limit=20
            )

            # 使用时间范围参数
            umodel_search_entities(
                workspace="apm",
                search_text="order",
                time_range="last_3h"
            )
            ```

            Args:
                ctx: MCP上下文,用于访问CMS客户端
                workspace: CMS工作空间名称
                search_text: 搜索关键词
                domain: 实体集合域名,可以为 '*'
                entity_set_name: 实体集合名称,可以为 '*'
                time_range: 时间范围表达式,默认 last_1h
                limit: 返回详细搜索结果数量
                regionId: 阿里云区域ID

            Returns:
                标准化响应对象,包含 error, data, message, query, time_range 字段
                data 包含 statistics 和 detail 两部分
list_workspace tool
列出可用的CMS工作空间

            ## 功能概述
            获取指定区域内可用的Cloud Monitor Service (CMS)工作空间列表。
            工作空间是CMS中用于组织和管理监控数据的逻辑容器。

            ## 参数说明
            - regionId: 阿里云区域标识符,如 "cn-hangzhou", "cn-beijing" 等

            ## 返回结果
            返回包含工作空间信息的字典,包括:
            - workspaces: 工作空间列表,每个工作空间包含名称、ID、描述等信息
            - total_count: 工作空间总数
            - region: 查询的区域ID

            ## 使用场景
            - 在使用PaaS层API之前,需要先获取可用的工作空间
            - 为DoAI层查询提供工作空间选择
            - 管理和监控多个工作空间的资源使用情况

            ## 注意事项
            - 不同区域的工作空间是独立的
            - 工作空间的可见性取决于当前用户的权限
            - 这是一个基础工具,为其他PaaS和DoAI工具提供工作空间选择
list_domains tool
列出所有可用的实体域

            ## 功能概述
            获取系统中所有可用的实体域(domain)列表。实体域是实体的最高级分类,
            如 APM、容器、云产品等。这是发现系统支持实体类型的第一步。

            ## 使用场景
            - 了解系统支持的所有实体域
            - 为后续查询选择正确的domain参数
            - 构建动态的域选择界面

            ## 返回数据
            每个域包含:
            - __domain__: 域名称(如 apm, k8s, cloud)
            - cnt: 该域下的实体总数量

            Args:
                ctx: MCP上下文
                workspace: CMS工作空间名称
                regionId: 阿里云区域ID

            Returns:
                包含实体域列表的响应对象
introduction tool
获取阿里云可观测性MCP Server的介绍和使用说明
            ## 功能概述
            返回阿里云可观测性 MCP Server 的服务概述、核心能力和使用限制说明。
            帮助用户快速了解服务能做什么,以及使用各层工具的前提条件。
            Observable MCP Server 是阿里云可观测官方推出的 MCP (Model Context Protocol) 服务,
            提供统一的 AI 可观测数据访问能力。
            ## 使用场景
            - 首次接入时了解服务能力和限制
            - 了解不同工具层的使用前提

            ## 注意事项
            - 此工具不需要任何参数,可直接调用
            - 返回信息包含各层工具的使用前提条件

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure6.5
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 32 capabilities; 30 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    17 of 32 capabilities touch files; 13 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 32 capabilities; 30 more call code the scanner could not follow, where it may happen
Where the code is: 32 handlers in 7 files at commit 0d3e01ada23e
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain1.8
  • Dependency manifests
    3 manifests: go.mod, v1/pyproject.toml, v1/requirements.txt
  • Lockfiles checked against OSV
    3 files resolved and checked against the OSV database; 3 not resolved: v1/libs/setup.py: dependency ranges declared here were not resolved against a lockfile and were not checked; v1/libs/sts-20150401/setup.py: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies CRITICAL
    17 production packages with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    github.com/mark3labs/mcp-go v0.32.0, mcp >=1.12.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 32 capabilities; 30 more call code the scanner could not follow, where it may happen
  • Environment variables
    18 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (17 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
anyioPyPI 4.9.0 CRITICAL 4 advisories 4.14.2
  • CRITICALGHSA-82r6-8w77-94w6 CVE-2026-63374 PYSEC-2026-4025AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
  • MEDIUMGHSA-5p39-cfhj-2xmp CVE-2026-64847 PYSEC-2026-4024AnyIO process-pool workers can block indefinitely on undrained stderr
  • MEDIUMPYSEC-2026-4025 CVE-2026-63374 GHSA-82r6-8w77-94w6AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
  • MEDIUMPYSEC-2026-4024 CVE-2026-64847 GHSA-5p39-cfhj-2xmpAnyIO process-pool workers can block indefinitely on undrained stderr
certifiPyPI 2025.1.31 CRITICAL 2 advisories 2026.10.18
  • CRITICALGHSA-6q48-6c7w-9gw2 PYSEC-2026-4320certifi bundles emSign root CAs with compromised intermediate CA keys
  • MEDIUMPYSEC-2026-4320 GHSA-6q48-6c7w-9gw2certifi bundles emSign root CAs with compromised intermediate CA keys
h11PyPI 0.14.0 CRITICAL 2 advisories 0.16.0
  • CRITICALGHSA-vqfr-h8mv-ghfj CVE-2025-43859 PYSEC-2026-348h11 accepts some malformed Chunked-Encoding bodies
  • MEDIUMPYSEC-2026-348 CVE-2025-43859 GHSA-vqfr-h8mv-ghfjh11 accepts some malformed Chunked-Encoding bodies
aiohttpPyPI 3.11.14 HIGH 100 advisories 3.12.143.13.33.13.4+5 more
  • HIGHGHSA-24c4-3p7v-29cm CVE-2026-128127 PYSEC-2026-4394AIOHTTP: Base64 multipart parts bypass client_max_size
  • HIGHGHSA-9xw5-w5jj-pvcg CVE-2026-111066 PYSEC-2026-4368AIOHTTP: File descriptor exhaustion in multipart requests
  • HIGHGHSA-jm3w-gw2p-xjfj CVE-2026-128124 PYSEC-2026-4391AIOHTTP: Event loop stall in add_domain() wildcard matching
  • HIGHGHSA-6mq8-rvhq-8wgg CVE-2025-69223 PYSEC-2026-1101AIOHTTP's HTTP Parser auto_decompress feature is vulnerable to zip bomb
  • HIGHGHSA-pw86-h8fm-j323 CVE-2026-128129 PYSEC-2026-4397AIOHTTP: Unbounded buffering of data received during an upgrade request
  • HIGHGHSA-2g87-pp6c-29x5 CVE-2026-123817 PYSEC-2026-4389aiohttp: Multiple instances of excessive or unbounded memory/CPU use
  • HIGHGHSA-xgw8-8ccx-rmqh CVE-2026-128126 PYSEC-2026-4393AIOHTTP: Too many URL-encoded form fields block the event loop
  • HIGHGHSA-cq5v-8q36-5273 CVE-2026-69244 PYSEC-2026-3545AIOHTTP: Out-of-bounds heap read in C HTTP response parser error path (malformed chunked response)
  • HIGHGHSA-3rp8-rxj8-mvjw CVE-2026-128128 PYSEC-2026-4395AIOHTTP: WebSocket max_msg_size bypass via integer overflow
  • HIGHGHSA-h4cc-hm5h-fmm9 CVE-2026-128131 PYSEC-2026-4399AIOHTTP: Concatenated compressed streams cause excessive CPU use
  • HIGHGHSA-5wr8-gcqf-gqf3 CVE-2026-111064 PYSEC-2026-4366aiohttp server lacks an initial request/header timeout
  • HIGHGHSA-5rmc-48h2-hvcm CVE-2026-128132 PYSEC-2026-4400AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages
  • HIGHGHSA-28qf-cpwq-vmc2 CVE-2026-128130 PYSEC-2026-4398AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade
  • MEDIUMPYSEC-2026-2101 CVE-2026-34519 GHSA-mwh4-6h8g-pg8wAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, an attacker who controls the reason parameter when creating a Response may be able to inject extra headers or similar exploits. This issue has been patched in version 3.13.4.
  • MEDIUMPYSEC-2026-4397 CVE-2026-128129 GHSA-pw86-h8fm-j323AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp buffers all additional connection data received while a request marked for upgrade, such as a WebSocket handshake, is being handled, without a size limit or flow control. A remote attacker can stream data behind an upgrade request to a handler that does not immediately accept or reject the upgrade and cause unbounded memory consumption. This issue is fixed in version 3.14.4.
  • MEDIUMGHSA-mq44-7p77-q5h7 CVE-2026-59881 PYSEC-2026-3547AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate
  • MEDIUMPYSEC-2026-2108 CVE-2026-54274 GHSA-xcgm-r5h9-7989AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, if an attacker sends large incomplete websocket frame payloads, it may be possible to bypass the usual size limits on memory use. This vulnerability is fixed in 3.14.1.
  • MEDIUMPYSEC-2026-1099 CVE-2025-69224 GHSA-69f9-5gxw-wvc2AIOHTTP's unicode processing of header values could cause parsing discrepancies
  • MEDIUMPYSEC-2026-2102 CVE-2026-34520 GHSA-63hf-3vf5-4wqfAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, the C parser (the default for most installs) accepted null bytes and control characters in response headers. This issue has been patched in version 3.13.4.
  • MEDIUMGHSA-494j-54xm-rwp3 CVE-2026-111063 PYSEC-2026-4365AIOHTTP: Secure attribute not enforced for shared cookie
  • MEDIUMPYSEC-2026-3546 CVE-2026-69243 GHSA-mfx4-hv73-q22vAIOHTTP: HTTP request smuggling via WebSocket upgrade
  • MEDIUMGHSA-63hw-fmq6-xxg2 CVE-2026-54277 PYSEC-2026-2110aiohttp: C HTTP Parser Bypasses max_line_size for Fragmented Lines
  • MEDIUMPYSEC-2026-4392 CVE-2026-128125 GHSA-5pv8-vvhc-h7jvAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Set-Cookie parsing treats unrecognized name=value attributes as additional cookies, while CookieJar does not limit the number of cookies stored or sent. A malicious server can make an aiohttp client accumulate a very large cookie set, consume memory and CPU repeatedly across redirects, and construct an excessively large Cookie header for later requests to the same domain. This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-2107 CVE-2026-54273 GHSA-4fvr-rgm6-gqmcAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, no limit was present on the number of pipelined requests that could be queued. An attacker may be able to use pipelined requests to use excessive amounts of memory, potentially leading to DoS. This vulnerability is fixed in 3.14.1.
  • MEDIUMPYSEC-2026-2099 CVE-2026-34517 GHSA-3wq7-rqq7-wx6jAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, for some multipart form fields, aiohttp read the entire field into memory before checking client_max_size. This issue has been patched in version 3.13.4.
  • MEDIUMPYSEC-2026-4368 CVE-2026-111066 GHSA-9xw5-w5jj-pvcgAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. From 2.0.0 until 3.14.4, multipart request processing can retain an unbounded number of open file descriptors. An unauthenticated attacker can consequently exhaust file descriptors with specially crafted multipart requests when a handler uses Request.post(). This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-2100 CVE-2026-34518 GHSA-966j-vmvw-g2g9AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, when following redirects to a different origin, aiohttp drops the Authorization header, but retains the Cookie and Proxy-Authorization headers. This issue has been patched in version 3.13.4.
  • MEDIUMPYSEC-2026-4391 CVE-2026-128124 GHSA-jm3w-gw2p-xjfjAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Application.add_domain() converts every asterisk wildcard in a domain mask into a greedy regular-expression fragment, so a mask containing two or more wildcards can take polynomial time to reject a long Host header that does not match. A remote attacker can repeatedly send such headers to a server configured with a multi-wildcard domain mask and stall the event loop. This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-4369 CVE-2026-111748 GHSA-f9xw-jh8m-3mwqAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, an attacker can send an absolute-form request that causes Request.scheme to use attacker-controlled request-target scheme data instead of the connection protocol. Applications that use Request.scheme for security decisions can consequently be tricked into treating an unencrypted connection as encrypted or an encrypted connection as unencrypted. This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-2110 CVE-2026-54277 GHSA-63hw-fmq6-xxg2AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, it is possible to bypass the max_line_size check in parts of an HTTP request in the C parser. If using the optimised C parser (the default in pre-built wheels), then an attacker may be able to send oversized lines through the HTTP parser and use an excessive amount of memory, potentially leading to DoS. This vulnerability is fixed in 3.14.1.
  • MEDIUMPYSEC-2026-2105 CVE-2026-47265 GHSA-hg6j-4rv6-33pgAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.14.0, cookies set with the `cookies` parameter on requests are sent after following a cross-origin redirect. If a developer uses the `cookies` parameter on a per-request basis then sensitive data might be leaked to an attacker if they manage to control a redirect. Version 3.14.0 patches the issue. If unable to upgrade, using a `Cookie` header in the `headers` parameter is not vulnerable.
  • MEDIUMGHSA-pqxq-w44r-73xw CVE-2026-111750 PYSEC-2026-4371AIOHTTP: Pure-Python parser request smuggling
  • MEDIUMPYSEC-2026-2111 CVE-2026-54278 GHSA-g3cq-j2xw-wf74AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, during cleanup it is possible for a compressed request body to be decompressed into memory in one chunk. An attacker may be able to send a compressed payload in specific situations that could be decompressed into memory, potentially leading to DoS (a zip bomb edge case). This vulnerability is fixed in 3.14.1.
  • MEDIUMPYSEC-2026-1105 CVE-2025-69230 GHSA-fh55-r93g-j68gAIOHTTP Vulnerable to Cookie Parser Warning Storm
  • MEDIUMGHSA-g84x-mcqj-x9qq CVE-2025-69229 PYSEC-2026-1106AIOHTTP vulnerable to DoS through chunked messages
  • MEDIUMPYSEC-2026-4395 CVE-2026-128128 GHSA-3rp8-rxj8-mvjwAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the C WebSocket reader adds a declared frame length to the size of an already buffered partial message using signed 64-bit arithmetic. A length near two to the power of 63 can overflow, allowing the max_msg_size check to pass. A remote peer can send a small non-final fragment followed by an oversized message and cause unbounded memory consumption. The Python WebSocket reader is unaffected. This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-2109 CVE-2026-54276 GHSA-hpj7-wq8m-9hgpAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, DigestAuthMiddleware can send an authentication response after following a cross-origin redirect. This likely requires an open redirect vulnerability or similar on the target domain for an attacker to be able to execute. Further, the attacker is only receiving the digest, so should only be able to extract the user's credentials if the cryptography is weak or there is some kind of password reuse. This vulnerability is fixed in 3.14.1.
  • MEDIUMPYSEC-2026-1107 CVE-2025-69227 GHSA-jj3x-wxrx-4x23AIOHTTP vulnerable to DoS when bypassing asserts
  • MEDIUMPYSEC-2026-2098 CVE-2026-34516 GHSA-m5qp-6w8w-w647AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, a response with an excessive number of multipart headers may be allowed to use more memory than intended, potentially allowing a DoS vulnerability. This issue has been patched in version 3.13.4.
  • MEDIUMPYSEC-2026-237 CVE-2026-54275 GHSA-4m7w-qmgq-4wj5AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, the server_hostname TLS SNI check can be bypassed when an existing connection is reused. If an application makes multiple requests to the same domain, but with different per-request server_hostname parameters, then the later calls may succeed by reusing the existing connection when they should have been rejected due to the TLS SNI check. This vulnerability is fixed in 3.14.1.
  • MEDIUMPYSEC-2026-4398 CVE-2026-128130 GHSA-28qf-cpwq-vmc2AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, when the pipelined request queue is full, the pure-Python parser stores the unparsed remainder internally and also returns the same data to its caller. After a handler declines an upgrade request, the caller feeds the remainder back to the parser, causing the buffer to grow with each handled request and dispatching already-handled requests to the application again. The issue affects deployments using AIOHTTP_NO_EXTENSIONS or otherwise running without the standard C-extension wheel, and can cause excessive memory use and repeated request processing. This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-2097 CVE-2026-34515 GHSA-p998-jp59-783mAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, on Windows the static resource handler may expose information about a NTLMv2 remote path. This issue has been patched in version 3.13.4.
  • MEDIUMGHSA-m5qp-6w8w-w647 CVE-2026-34516 PYSEC-2026-2098AIOHTTP has a Multipart Header Size Bypass
  • MEDIUMPYSEC-2026-4393 CVE-2026-128126 GHSA-xgw8-8ccx-rmqhAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Request.post() does not limit the number of fields in a URL-encoded form body, and inserting many repeated keys into MultiDict takes quadratic time on the event loop. A remote attacker can send a form POST within client_max_size to a handler that calls Request.post() and block the event loop. This issue is fixed in version 3.14.4.
  • MEDIUMGHSA-6jhg-hg63-jvvf CVE-2025-69228 PYSEC-2026-1100AIOHTTP vulnerable to denial of service through large payloads
  • MEDIUMGHSA-xcgm-r5h9-7989 CVE-2026-54274 PYSEC-2026-2108aiohttp: Incomplete websocket frame payloads bypass memory limits
  • MEDIUMPYSEC-2026-4367 CVE-2026-111065 GHSA-6cjc-53gc-5rqmAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Max-Age processing can overflow and skip closing a connection. An attacker can consequently exhaust the connection pool temporarily until garbage collection resolves the connections. This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-2112 CVE-2026-54279 GHSA-2fqr-mr3j-6wp8AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, host-only cookies that are saved with CookieJar.save() and then restored later with CookieJar.load() lose their host-only status. This vulnerability is fixed in 3.14.1.
  • MEDIUMPYSEC-2026-4399 CVE-2026-128131 GHSA-h4cc-hm5h-fmm9AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp decompresses each member of a payload containing many concatenated gzip, deflate, or zstd streams by passing the entire remaining input to a new decompressor, causing quadratic CPU use. Empty members produce no output, so client_max_size and output backpressure do not limit the work. A remote attacker can block a server event loop with a crafted compressed request body or WebSocket message, and a malicious server can similarly block a client. This issue is fixed in version 3.14.4.
  • MEDIUMGHSA-hpj7-wq8m-9hgp CVE-2026-54276 PYSEC-2026-2109aiohttp: DigestAuthMiddleware Applies Credentials to Cross-Origin Redirect Challenges
  • MEDIUMGHSA-6cjc-53gc-5rqm CVE-2026-111065 PYSEC-2026-4367AIOHTTP: Connector pool exhaustion via Max-Age overflow
  • MEDIUMPYSEC-2026-4371 CVE-2026-111750 GHSA-pqxq-w44r-73xwAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the pure Python parser accepts ambiguous HTTP request framing. An unauthenticated attacker can consequently smuggle requests when an application uses AIOHTTP_NO_EXTENSIONS or otherwise runs without a standard wheel and an intermediary interprets the framing differently. This issue is fixed in version 3.14.4.
  • MEDIUMGHSA-4fvr-rgm6-gqmc CVE-2026-54273 PYSEC-2026-2107aiohttp: HTTP/1 Pipelined Requests Queue Without Limit
  • MEDIUMPYSEC-2026-4366 CVE-2026-111064 GHSA-5wr8-gcqf-gqf3AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, keepalive timeout handling is absent during the initial portion of a request. An attacker can keep an idle connection open indefinitely before sending any request data, consuming server connection capacity. This issue is fixed in version 3.14.4.
  • MEDIUMGHSA-jg22-mg44-37j8 CVE-2026-34993 PYSEC-2026-2104AIOHTTP is Vulnerable to Deserialization of Untrusted Data
  • MEDIUMPYSEC-2026-2106 CVE-2026-50269 GHSA-m6qw-4cw2-hm4mAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.0, attacker-controlled input included into multipart/payload headers can be used to modify a request to inject additional headers or similar. In the unlikely situation that an application is passing user-controlled strings into MultipartWriter.append(headers=...) or Payload.headers, then an attacker may be able to modify the request to inject headers or change the contents of the request. This vulnerability is fixed in 3.14.0.
  • MEDIUMPYSEC-2026-2103 CVE-2026-34525 GHSA-c427-h43c-vf67AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, multiple Host headers were allowed in aiohttp. This issue has been patched in version 3.13.4.
  • MEDIUMPYSEC-2026-4365 CVE-2026-111063 GHSA-494j-54xm-rwp3AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the Secure attribute for a shared cookie is not enforced. An attacker can consequently cause a shared cookie marked Secure to be sent with an unencrypted request. This issue is fixed in version 3.14.4.
  • MEDIUMGHSA-g3cq-j2xw-wf74 CVE-2026-54278 PYSEC-2026-2111aiohttp: Unread Compressed Request Bodies Bypass client_max_size During Cleanup
  • MEDIUMGHSA-mfx4-hv73-q22v CVE-2026-69243 PYSEC-2026-3546AIOHTTP: HTTP request smuggling via WebSocket upgrade
  • MEDIUMPYSEC-2026-4400 CVE-2026-128132 GHSA-5rmc-48h2-hvcmAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the WebSocket reader continues parsing frames already received after the receive queue pauses the transport, and empty messages are not counted toward the queue size. With permessage-deflate, one read of compressed frames can add many megabytes of decompressed messages to the receive queue. A remote peer can send many small or compressed messages faster than the application consumes them and cause excessive memory use in a server or client. This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-1106 CVE-2025-69229 GHSA-g84x-mcqj-x9qqAIOHTTP vulnerable to DoS through chunked messages
  • MEDIUMGHSA-w2fm-2cpv-w7v5 CVE-2026-22815 PYSEC-2026-2094aiohttp allows unlimited trailer headers, leading to possible uncapped memory usage
  • MEDIUMPYSEC-2026-2104 CVE-2026-34993 GHSA-jg22-mg44-37j8AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.14.0, using ``CookieJar.load()`` with untrusted input may allow arbitrary code execution. Most applications using this function will be doing so with the user's own data, so this is unlikely to affect many applications. Version 3.14.0 patches the issue. If an application does allow attacker controlled files to be loaded, a workaround on older releases would be to sanitize the files before loading.
  • MEDIUMPYSEC-2026-4394 CVE-2026-128127 GHSA-24c4-3p7v-29cmAIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, BodyPartReader.read_chunk() processing a multipart part with Content-Transfer-Encoding set to base64 keeps reading until the chunk length is a multiple of four without enforcing a byte limit. A short Content-Length or a long run of whitespace can cause one call to read the remaining body into memory before the size check or spin on the event loop. A remote attacker can send such a multipart request to a handler that reads multipart data and bypass client_max_size. This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-1097 CVE-2025-69226 GHSA-54jq-c3m8-4m76AIOHTTP vulnerable to brute-force leak of internal static file path components
  • MEDIUMGHSA-hg6j-4rv6-33pg CVE-2026-47265 PYSEC-2026-2105AIOHTTP is vulnerable to cross-origin redirect with per-request cookies
  • MEDIUMPYSEC-2026-1101 CVE-2025-69223 GHSA-6mq8-rvhq-8wggAIOHTTP's HTTP Parser auto_decompress feature is vulnerable to zip bomb
  • MEDIUMPYSEC-2026-3547 CVE-2026-59881 GHSA-mq44-7p77-q5h7AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate
  • MEDIUMPYSEC-2026-4370 CVE-2026-111749 GHSA-gx76-c99x-2c96AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Host-Only scope on an existing parent-domain cookie can be removed by a subdomain. A user who accesses an untrusted subdomain can consequently have host-only protections stripped from cookies, although impact is limited when applications do not reflect those cookies to a browser. This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-2094 CVE-2026-22815 GHSA-w2fm-2cpv-w7v5AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, insufficient restrictions in header/trailer handling could cause uncapped memory usage. This issue has been patched in version 3.13.4.
  • MEDIUMPYSEC-2026-1109 CVE-2025-69225 GHSA-mqqc-3gqh-h2x8AIOHTTP has unicode match groups in regexes for ASCII protocol elements
  • MEDIUMGHSA-f9xw-jh8m-3mwq CVE-2026-111748 PYSEC-2026-4369AIOHTTP: Absolute-form request targets can spoof Request.scheme
  • MEDIUMPYSEC-2026-1100 CVE-2025-69228 GHSA-6jhg-hg63-jvvfAIOHTTP vulnerable to denial of service through large payloads
  • MEDIUMPYSEC-2026-2113 CVE-2026-54280 GHSA-9x8q-7h8h-wcw9AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, payload resources are not closed correctly when a client disconnects in the middle of a write. If a payload is using an open file or similar limited resource, then an attacker may be able to cause resource starvation temporarily until garbage collection or similar closes the file. This vulnerability is fixed in 3.14.1.
  • MEDIUMGHSA-5pv8-vvhc-h7jv CVE-2026-128125 PYSEC-2026-4392AIOHTTP: Unbounded cookie storage in client CookieJar
  • MEDIUMGHSA-jj3x-wxrx-4x23 CVE-2025-69227 PYSEC-2026-1107AIOHTTP vulnerable to DoS when bypassing asserts
  • MEDIUMPYSEC-2026-4389 CVE-2026-123817 GHSA-2g87-pp6c-29x5AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the WebSocket reader retains one bytes object for each transport read while reassembling an incomplete frame. A malicious peer can split a frame into many tiny reads so per-object overhead substantially exceeds the payload bytes allowed by max_msg_size. The condition affects a server receiving frames from a malicious client and a client receiving frames from a malicious server, and can cause excessive memory consumption or denial of service. This issue is fixed in version 3.14.4.
  • MEDIUMPYSEC-2026-1104 CVE-2025-53643 GHSA-9548-qrrj-x5pj AIOHTTP is vulnerable to HTTP Request/Response Smuggling through incorrect parsing of chunked trailer sections
  • MEDIUMGHSA-c427-h43c-vf67 CVE-2026-34525 PYSEC-2026-2103AIOHTTP accepts duplicate Host headers
  • MEDIUMPYSEC-2026-2095 CVE-2026-34513 GHSA-hcc4-c3v8-rx92AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, an unbounded DNS cache could result in excessive memory usage possibly resulting in a DoS situation. This issue has been patched in version 3.13.4.
  • MEDIUMGHSA-p998-jp59-783m CVE-2026-34515 PYSEC-2026-2097AIOHTTP affected by UNC SSRF/NTLMv2 Credential Theft/Local File Read in static resource handler on Windows
  • MEDIUMPYSEC-2026-2096 CVE-2026-34514 GHSA-2vrm-gr82-f7m5AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, an attacker who controls the content_type parameter in aiohttp could use this to inject extra headers or similar exploits. This issue has been patched in version 3.13.4.
  • MEDIUMPYSEC-2026-3545 CVE-2026-69244 GHSA-cq5v-8q36-5273AIOHTTP: Out-of-bounds heap read in C HTTP response parser error path (malformed chunked response)
  • LOWGHSA-69f9-5gxw-wvc2 CVE-2025-69224 PYSEC-2026-1099AIOHTTP's unicode processing of header values could cause parsing discrepancies
  • LOWGHSA-hcc4-c3v8-rx92 CVE-2026-34513 PYSEC-2026-2095AIOHTTP Affected by Denial of Service (DoS) via Unbounded DNS Cache in TCPConnector
  • LOWGHSA-2vrm-gr82-f7m5 CVE-2026-34514 PYSEC-2026-2096AIOHTTP has CRLF injection through multipart part content type header construction
  • LOWGHSA-fh55-r93g-j68g CVE-2025-69230 PYSEC-2026-1105AIOHTTP Vulnerable to Cookie Parser Warning Storm
  • LOWGHSA-63hf-3vf5-4wqf CVE-2026-34520 PYSEC-2026-2102AIOHTTP's C parser (llhttp) accepts null bytes and control characters in response header values - header injection/security bypass
  • LOWGHSA-2fqr-mr3j-6wp8 CVE-2026-54279 PYSEC-2026-2112aiohttp: Host-Only Cookies Become Domain Cookies After CookieJar Persistence
  • LOWGHSA-mqqc-3gqh-h2x8 CVE-2025-69225 PYSEC-2026-1109AIOHTTP has unicode match groups in regexes for ASCII protocol elements
  • LOWGHSA-54jq-c3m8-4m76 CVE-2025-69226 PYSEC-2026-1097AIOHTTP vulnerable to brute-force leak of internal static file path components
  • LOWGHSA-4m7w-qmgq-4wj5 CVE-2026-54275 PYSEC-2026-237aiohttp: TLS Server Hostname Override Is Ignored When Reusing HTTPS Connections
  • LOWGHSA-9548-qrrj-x5pj CVE-2025-53643 PYSEC-2026-1104 AIOHTTP is vulnerable to HTTP Request/Response Smuggling through incorrect parsing of chunked trailer sections
  • LOWGHSA-966j-vmvw-g2g9 CVE-2026-34518 PYSEC-2026-2100AIOHTTP leaks Cookie and Proxy-Authorization headers on cross-origin redirect
  • LOWGHSA-gx76-c99x-2c96 CVE-2026-111749 PYSEC-2026-4370AIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookies
  • LOWGHSA-9x8q-7h8h-wcw9 CVE-2026-54280 PYSEC-2026-2113aiohttp: Payload Response Resources Are Not Closed After Mid-Body Disconnect
  • LOWGHSA-mwh4-6h8g-pg8w CVE-2026-34519 PYSEC-2026-2101AIOHTTP has HTTP response splitting via \\r in reason phrase
  • LOWGHSA-m6qw-4cw2-hm4m CVE-2026-50269 PYSEC-2026-2106aiohttp: CRLF injection in multipart headers
  • LOWGHSA-3wq7-rqq7-wx6j CVE-2026-34517 PYSEC-2026-2099AIOHTTP has late size enforcement for non-file multipart fields causes memory DoS
urllib3PyPI 2.3.0 HIGH 16 advisories 2.5.02.6.02.6.3+2 more
  • HIGHGHSA-8988-9cw3-xx77 CVE-2026-97687 PYSEC-2026-4175urllib3: HTTPS proxy TLS configuration may be ignored or overridden
  • HIGHGHSA-2xpw-w6gg-jr37 CVE-2025-66471 PYSEC-2026-1994urllib3 streaming API improperly handles highly compressed data
  • HIGHGHSA-gm62-xv2j-4w53 CVE-2025-66418 PYSEC-2026-1998urllib3 allows an unbounded number of links in the decompression chain
  • HIGHGHSA-vxq7-64xx-v4gw CVE-2026-97689 PYSEC-2026-4177urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
  • HIGHGHSA-qccp-gfcp-xxvc CVE-2026-44431 PYSEC-2026-141urllib3: Sensitive headers forwarded across origins in proxied low-level redirects
  • HIGHGHSA-38jv-5279-wg99 CVE-2026-21441 PYSEC-2026-1996Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
  • MEDIUMPYSEC-2026-1998 CVE-2025-66418 GHSA-gm62-xv2j-4w53urllib3 allows an unbounded number of links in the decompression chain
  • MEDIUMPYSEC-2026-1997 CVE-2025-50182 GHSA-48p4-8xcf-vxj5urllib3 does not control redirects in browsers and Node.js
  • MEDIUMPYSEC-2026-1994 CVE-2025-66471 GHSA-2xpw-w6gg-jr37urllib3 streaming API improperly handles highly compressed data
  • MEDIUMPYSEC-2026-4177 CVE-2026-97689 GHSA-vxq7-64xx-v4gwurllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
  • MEDIUMPYSEC-2026-1999 CVE-2025-50181 GHSA-pq67-6m6q-mj2vurllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
  • MEDIUMGHSA-48p4-8xcf-vxj5 CVE-2025-50182 PYSEC-2026-1997urllib3 does not control redirects in browsers and Node.js
  • MEDIUMPYSEC-2026-141 CVE-2026-44431 GHSA-qccp-gfcp-xxvcurllib3 is an HTTP client library for Python. From 1.23 to before 2.7.0, cross-origin redirects followed from the low-level API via ProxyManager.connection_from_url().urlopen(..., assert_same_host=False) still forward these sensitive headers. This vulnerability is fixed in 2.7.0.
  • MEDIUMPYSEC-2026-1996 CVE-2026-21441 GHSA-38jv-5279-wg99Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
  • MEDIUMGHSA-pq67-6m6q-mj2v CVE-2025-50181 PYSEC-2026-1999urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
  • MEDIUMPYSEC-2026-4175 CVE-2026-97687 GHSA-8988-9cw3-xx77urllib3: HTTPS proxy TLS configuration may be ignored or overridden
starlettePyPI 0.46.1 HIGH 14 advisories 0.47.20.49.11.0.1+3 more
  • HIGHGHSA-wqp7-x3pw-xc5r CVE-2026-48818 PYSEC-2026-2281Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows
  • HIGHGHSA-82w8-qh3p-5jfq CVE-2026-54283 PYSEC-2026-249Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS
  • HIGHGHSA-7f5h-v6xp-fcq8 CVE-2025-62727 PYSEC-2026-1942Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
  • MEDIUMPYSEC-2026-2281 CVE-2026-48818 GHSA-wqp7-x3pw-xc5rStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and earlier, StaticFiles on Windows is vulnerable to SSRF. An UNC path such as \\\\attacker.com\\share can cause os.path.realpath to initiate an outbound SMB connection before the path is rejected, exposing the service account’s NTLMv2 credentials for offline cracking or relay even though the HTTP response is only a 404. The issue affects default follow_symlink=False deployments, including frameworks built on Starlette such as FastAPI; POSIX systems and follow_symlink=True are unaffected. The issue is fixed in 1.1.0.
  • MEDIUMPYSEC-2026-2280 CVE-2026-48817 GHSA-x746-7m8f-x49cStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and below, when dispatching a request, HTTPEndpoint selects the handler by lowercasing the HTTP method and looking it up as an attribute with getattr, without restricting the lookup to a known set of HTTP verbs. When an HTTPEndpoint subclass is registered through Route(...) without an explicit methods= argument, the route does not constrain the method and every method reaches the endpoint. If a non-standard HTTP method whose lowercased name matches an attribute on the endpoint subclass reaches the endpoint, that attribute is invoked as if it were a request handler. An attacker can use this to reach methods that were never meant to be HTTP handlers, such as internal helpers, without the authorization checks applied by the intended public handler. An application (including Starlette-based frameworks like FastAPI) is affected if it registers an HTTPEndpoint subclass via Route(...) without explicitly setting methods=, and that subclass includes extra methods named like non-standard HTTP verbs that take one request argument and return a response. This issue has been fixed in version 1.1.0.
  • MEDIUMPYSEC-2026-161 CVE-2026-48710 GHSA-86qp-5c8j-p5mr X41-2026-002BadHost: Missing Host header validation poisons request.url.path, bypassing path-based security checks
  • MEDIUMPYSEC-2026-249 CVE-2026-54283 GHSA-82w8-qh3p-5jfqStarlette is a lightweight ASGI framework/toolkit. From 0.4.1 until 1.3.1, request.form() accepts max_fields and max_part_size to bound resource consumption while parsing form data. These limits are enforced for multipart/form-data, but silently ignored for application/x-www-form-urlencoded. An unauthenticated attacker can therefore send a urlencoded body with an arbitrarily large number of fields or an arbitrarily large field, even when the application configured limits it believed would apply. This vulnerability is fixed in 1.3.1.
  • MEDIUMGHSA-86qp-5c8j-p5mr CVE-2026-48710 PYSEC-2026-161 X41-2026-002Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
  • MEDIUMPYSEC-2026-248 CVE-2026-54282 GHSA-jp82-jpqv-5vv3Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.
  • MEDIUMPYSEC-2026-1941 CVE-2025-54121 GHSA-2c2j-9gv5-cj73Starlette has possible denial-of-service vector when parsing large files in multipart forms
  • MEDIUMGHSA-x746-7m8f-x49c CVE-2026-48817 PYSEC-2026-2280Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`
  • MEDIUMGHSA-2c2j-9gv5-cj73 CVE-2025-54121 PYSEC-2026-1941Starlette has possible denial-of-service vector when parsing large files in multipart forms
  • MEDIUMPYSEC-2026-1942 CVE-2025-62727 GHSA-7f5h-v6xp-fcq8Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
  • LOWGHSA-jp82-jpqv-5vv3 CVE-2026-54282 PYSEC-2026-248Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname
cryptographyPyPI 44.0.2 HIGH 10 advisories 46.0.546.0.648.0.1+2 more
  • HIGHGHSA-g6cj-pr64-35w5 CVE-2026-69247 PYSEC-2026-3552cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • HIGHGHSA-537c-gmf6-5ccfVulnerable OpenSSL included in cryptography wheels
  • HIGHGHSA-jwv3-5hgf-82ww CVE-2026-69249 PYSEC-2026-3553python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
  • HIGHGHSA-r6ph-v2qm-q3c2 CVE-2026-26007 PYSEC-2026-2141cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves
  • MEDIUMPYSEC-2026-2141 CVE-2026-26007 GHSA-r6ph-v2qm-q3c2cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, the public_key_from_numbers (or EllipticCurvePublicNumbers.public_key()), EllipticCurvePublicNumbers.public_key(), load_der_public_key() and load_pem_public_key() functions do not verify that the point belongs to the expected prime-order subgroup of the curve. This missing validation allows an attacker to provide a public key point P from a small-order subgroup. This can lead to security issues in various situations, such as the most commonly used signature verification (ECDSA) and shared key negotiation (ECDH). When the victim computes the shared secret as S = [victim_private_key]P via ECDH, this leaks information about victim_private_key mod (small_subgroup_order). For curves with cofactor > 1, this reveals the least significant bits of the private key. When these weak public keys are used in ECDSA , it's easy to forge signatures on the small subgroup. Only SECT curves are impacted by this. This vulnerability is fixed in 46.0.5.
  • MEDIUMPYSEC-2026-3553 CVE-2026-69249 GHSA-jwv3-5hgf-82wwpython-cryptography: Duplicate self-signed intermediates can cause exponential path-building
  • MEDIUMPYSEC-2026-3554 CVE-2026-69248 GHSA-m2h6-j472-rp4cpython-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
  • MEDIUMPYSEC-2026-35 CVE-2026-34073 GHSA-m959-cc7f-wv43cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to version 46.0.6, DNS name constraints were only validated against SANs within child certificates, and not the "peer name" presented during each validation. Consequently, cryptography would allow a peer named bar.example.com to validate against a wildcard leaf certificate for *.example.com, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for bar.example.com. This issue has been patched in version 46.0.6.
  • MEDIUMPYSEC-2026-3552 CVE-2026-69247 GHSA-g6cj-pr64-35w5cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • LOWGHSA-m959-cc7f-wv43 CVE-2026-34073 PYSEC-2026-35cryptography has incomplete DNS name constraint enforcement on peer names
mcpPyPI 1.6.0 HIGH 10 advisories 1.9.41.10.01.23.0+2 more
  • HIGHGHSA-3qhf-m339-9g5v CVE-2025-53366 PYSEC-2026-1616MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
  • HIGHGHSA-j975-95f5-7wqh CVE-2025-53365 PYSEC-2026-1618MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service
  • HIGHGHSA-vj7q-gjh5-988w CVE-2026-59950 PYSEC-2026-3483MCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • HIGHGHSA-jpw9-pfvf-9f58 CVE-2026-52869 PYSEC-2026-3482MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • HIGHGHSA-9h52-p55h-vw2f CVE-2025-66416 PYSEC-2026-1617Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
  • MEDIUMPYSEC-2026-1616 CVE-2025-53366 GHSA-3qhf-m339-9g5vMCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
  • MEDIUMPYSEC-2026-3483 CVE-2026-59950 GHSA-vj7q-gjh5-988wMCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • MEDIUMPYSEC-2026-3482 CVE-2026-52869 GHSA-jpw9-pfvf-9f58MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • MEDIUMPYSEC-2026-1617 CVE-2025-66416 GHSA-9h52-p55h-vw2fModel Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
  • MEDIUMPYSEC-2026-1618 CVE-2025-53365 GHSA-j975-95f5-7wqhMCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service
github.com/klauspost/compressGo v1.17.8 HIGH 3 advisories 1.18.71.20.2
  • HIGHGHSA-259r-337f-4rfw CVE-2026-63209 GO-2026-5841Compress/s2: Integer Overflow or Wraparound and Out-of-bounds Write in compress
  • MEDIUMGO-2026-6865 CVE-2026-116591 GHSA-fpmh-frq8-7rj8Panic on two-block frames in github.com/klauspost/compress
  • MEDIUMGO-2026-5841 CVE-2026-63209 GHSA-259r-337f-4rfwOOB read in github.com/klauspost/compress/s2
golang.org/x/netGo v0.33.0 MEDIUM 22 advisories 0.36.00.38.00.45.0+6 more
  • MEDIUMGO-2026-5942 BIT-golang-2026-46600 CVE-2026-46600Parsing an invalid SVCB or HTTPS RR can panic in golang.org/x/net/dns/dnsmessage
  • MEDIUMGO-2026-6617 BIT-golang-2026-97032 CVE-2026-97032HTTP/2 server crash due to HPACK encoder race in net/http
  • MEDIUMGO-2026-5028 CVE-2026-25680 GHSA-5cv4-jp36-h3mwInvoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
  • MEDIUMGHSA-vvgc-356p-c3xw CVE-2025-22872 GO-2025-3595golang.org/x/net vulnerable to Cross-site Scripting
  • MEDIUMGO-2026-6612 BIT-golang-2026-78663 CVE-2026-78663Double flow control refund on HTTP/2 server streams in net/http
  • MEDIUMGO-2025-3595 CVE-2025-22872 GHSA-vvgc-356p-c3xwIncorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net
  • MEDIUMGO-2026-6611 BIT-golang-2026-78669 CVE-2026-78669Excessive CPU consumption from repeated initial window changes in net/http
  • MEDIUMGO-2026-5030 CVE-2026-27136Invoking duplicate attributes can cause XSS in golang.org/x/net/html
  • MEDIUMGHSA-5cv4-jp36-h3mw CVE-2026-25680 GO-2026-5028Go Net HTML parser is vulnerable to denial of service
  • MEDIUMGO-2026-6860 CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
  • MEDIUMGO-2026-4918 BIT-golang-2026-33814 CVE-2026-33814Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net
  • MEDIUMGO-2026-4440 CVE-2025-47911 GHSA-w4gw-w5jq-g9jhQuadratic parsing complexity in golang.org/x/net/html
  • MEDIUMGO-2026-5027 CVE-2026-42502Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
  • MEDIUMGO-2026-6610 BIT-golang-2026-78660 CVE-2026-78660HTTP/2 transport accepts malformed framing-related headers in net/http
  • MEDIUMGHSA-qxp5-gwg8-xv66 CVE-2025-22870 GO-2025-3503HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
  • MEDIUMGO-2026-5025 CVE-2026-42506Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
  • MEDIUMGO-2026-4441 CVE-2025-58190Infinite parsing loop in golang.org/x/net
  • MEDIUMGO-2026-5026 CVE-2026-39821Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
  • MEDIUMGO-2025-3503 CVE-2025-22870 GHSA-qxp5-gwg8-xv66HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
  • MEDIUMGO-2026-5029 CVE-2026-25681Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
  • MEDIUMGO-2026-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
  • MEDIUMGO-2026-6603 BIT-golang-2026-78659 CVE-2026-78659HTTP/2 server memory exhaustion due to Trailer headers in net/http
github.com/go-viper/mapstructure/v2Go v2.2.1 MEDIUM 4 advisories 2.3.02.4.0
  • MEDIUMGO-2025-3900 CVE-2025-11065 GHSA-2464-8j7c-4cjmGo-viper's mapstructure May Leak Sensitive Information in Logs in github.com/go-viper/mapstructure
  • MEDIUMGO-2025-3787 GHSA-fv92-fjc5-jj9hMay leak sensitive information in logs when processing malformed data in github.com/go-viper/mapstructure
  • MEDIUMGHSA-2464-8j7c-4cjm CVE-2025-11065 GO-2025-3900go-viper's mapstructure May Leak Sensitive Information in Logs When Processing Malformed Data
  • MEDIUMGHSA-fv92-fjc5-jj9h GO-2025-3787mapstructure May Leak Sensitive Information in Logs When Processing Malformed Data
requestsPyPI 2.32.3 MEDIUM 4 advisories 2.32.42.33.0
  • MEDIUMGHSA-9hjg-9r4m-mvj7 CVE-2024-47081 PYSEC-2026-1872Requests vulnerable to .netrc credentials leak via malicious URLs
  • MEDIUMPYSEC-2026-2275 CVE-2026-25645 GHSA-gc5v-m9x4-r6x2Requests is a HTTP library. Prior to version 2.33.0, the `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one. Standard usage of the Requests library is not affected by this vulnerability. Only applications that call `extract_zipped_paths()` directly are impacted. Starting in version 2.33.0, the library extracts files to a non-deterministic location. If developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.
  • MEDIUMPYSEC-2026-1872 CVE-2024-47081 GHSA-9hjg-9r4m-mvj7Requests vulnerable to .netrc credentials leak via malicious URLs
  • MEDIUMGHSA-gc5v-m9x4-r6x2 CVE-2026-25645 PYSEC-2026-2275Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function
golang.org/x/textGo v0.21.0 MEDIUM 2 advisories 0.39.00.41.0
  • MEDIUMGO-2026-5970 CVE-2026-56852Infinite loop on invalid input in golang.org/x/text
  • MEDIUMGO-2026-6629 CVE-2026-56851Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
idnaPyPI 3.10 MEDIUM 2 advisories 3.15
  • MEDIUMPYSEC-2026-215 CVE-2026-45409 GHSA-65pc-fj4g-8rjxInternationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as `"\\u0660" * N` or `"\\u30fb" * N + "\\u6f22"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the `idna.encode()` function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.
  • MEDIUMGHSA-65pc-fj4g-8rjx CVE-2026-45409 PYSEC-2026-215Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix
python-dotenvPyPI 1.1.0 MEDIUM 2 advisories 1.2.2
  • MEDIUMPYSEC-2026-2270 CVE-2026-28684 GHSA-mf9w-mj56-hr94python-dotenv reads key-value pairs from a .env file and can set them as environment variables. Prior to version 1.2.2, `set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered. Users should upgrade to v.1.2.2 or, as a workaround, apply the patch manually.
  • MEDIUMGHSA-mf9w-mj56-hr94 CVE-2026-28684 PYSEC-2026-2270python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
github.com/mark3labs/mcp-goGo v0.32.0 MEDIUM 1 advisory 2026-11-09
  • MEDIUMGO-2026-6911SSRF and credential leak via unvalidated redirects and SSE endpoint origin in github.com/mark3labs/mcp-go
golang.org/x/sysGo v0.29.0 MEDIUM 1 advisory 0.44.0
  • MEDIUMGO-2026-5024 CVE-2026-39824Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
TransportStreamable HTTP, SSE, stdio
Sign-innot checked needs the live server
MCP SDKgithub.com/mark3labs/mcp-go v0.32.0, mcp >=1.26.0, mcp >=1.12.0
Servers in the code8 (test-server, mcp_aliyun_observability_server, integration-test-server, test-iaas-server, mcp_aliyun_observability_data_agent_server, mcp_aliyun_observability_data_server, mcp_aliyun_observability_dataset_server, mcp_aliyun_observability_entity_server)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-08-12
Signed releasesnot checked yet

Where it is published

Listed in5 catalogs (awesome_tensorblock, github_search, glama, mcp_toplist, mcpservers_org)
Licensenot stated
Created2025-04-21

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.