1. MCP Service
听云Network
  • 中文版
    • Release Notes
      • 2026年
      • 2025年
      • 2024年
    • 产品介绍
      • 产品概述
        • 产品概述
      • 工作原理
        • 监测原理
        • 监测点部署
      • 产品架构
        • 产品架构
      • 典型场景
        • CDN加速评估及选型
        • 网站对标分析
        • 网站应用压力测试分析
        • 对网站进行性能评估和优化
        • 具备可观测混合压测场景
        • DNS劫持监测-CNAME监测
        • VPN质量监控
        • WIFI质量监控
        • 短信服务质量监控
        • API主动监控
        • 证书监控
        • MTR网络链路监控
        • 企业业务质量监控
        • 端到端场景监测
        • whois域名监控场景
        • IPV6支持率监控
        • 模型质量监控
      • 核心优势
        • 端到端监测
        • 市场地位
        • 数据保障
        • 本土化服务
      • 功能模块
        • 即时监测
          • 即时监测
        • 持续监测
          • 持续监测介绍
          • 监测任务类型
          • 监测结果分析
        • 私有节点监测
          • 私有节点监测
        • 域名分析
          • 域名分析
        • CDN调优
          • CDN调优
        • 劫持监测
          • 劫持监测
        • 警报通知
          • 警报通知
        • 报告服务
          • 报告服务
        • API服务
          • API服务
    • 使用指南
      • 持续监测图表
        • 公共操作
        • 概览
        • 趋势图
        • 地域图
        • 地图
        • 主机图
        • 错误图
        • 散点图
        • 元素
      • 任务类型
        • 监测任务类型介绍
        • 固网业务监测
        • 移动业务监测
        • 模型质量监控业务监测
      • 持续监测
        • 持续监测介绍
        • 新建任务
        • 查询任务
        • 管理任务
        • 绑定任务
        • 节点组管理
      • 即时监测
        • 即时监测介绍
        • 配置即时监测
        • 查看监测结果
      • 系统管理
        • 系统管理介绍
        • 自有点监测
        • 用户管理
        • 使用量查询
        • 授权码管理
        • 地图参数
      • 域名分析
        • 域名分析
      • CDN调优
        • CDN调优介绍
        • CDN评估
        • 算法建议
        • 策略调优
      • 警报
        • 警报介绍
        • 性能警报
        • 错误警报
        • 智能警报
        • 警报日志
        • 警报推送
      • 报告
        • 报告介绍
        • 创建快速报告
        • 创建智能报告
        • 导出报告
        • 图表池
      • API服务
        • API服务
      • MCP服务
        • 听云 Network MCP 设置
        • 听云 Network MCP 工具
      • 其他功能
        • 分享当前页面
        • 移动端快速访问
      • WebRecorder脚本录制器(插件版)
        • 介绍
        • 安装
        • 创建项目及界面展示
        • 脚本录制
        • 配置任务
        • 注意事项
        • 脚本录制器支持的命令
        • 脚本录制器对事务验证码的支持
    • 指标说明
      • PC监控
        • 页面指标
        • 文件指标
        • 事务指标
        • 流媒体指标
        • Ping指标
        • MTR指标
        • 模型质量监控指标
        • 私有协议指标
          • 私有协议指标解释概述
          • Websocket 插件配置说明
          • DIG 插件配置说明
          • Socket(TCP/UDP) 插件配置说明
          • Telnet 插件配置说明
          • FTP 插件配置说明
          • SMTP/IMAP/POP3 插件配置说明
          • MTR 插件配置说明
          • Traceroute 插件配置说明
          • DeepSeek 插件配置说明
          • TCP Send 插件配置说明
          • UDP 插件配置说明
          • HTTP(SM) 插件配置说明
          • HTTP3 插件配置说明
          • OCSP 插件配置说明
          • WIFI 插件配置说明
          • VPN 插件配置说明
      • 移动(H5)监控
        • 页面指标
        • 文件指标
        • 事务指标
        • 流媒体指标
        • Ping指标
        • 短信指标
    • 脚本录制器
      • NBR脚本录制器工具的下载
      • NBR脚本录制器的使用-----简版
    • 常见问题
      • 功能分析
        • 创建任务
        • 创建节点组
        • 高级参数----结束条件
        • 高级参数----诊断
        • 报表无数据之校验节点DNS功能
        • 流媒体监测,配置任务后无数据
        • 平台是否支持查看“指定Cname是否生效”
        • 真机单文件任务下载崩溃
        • 听云检测和浏览器实际访问数据对不上
        • 监测地址写不全导致的报错
        • 绑定Host未生效,出现了列表之外的主机IP
        • 绑定Host未生效,出现了列表之外的主机IP
        • 不同任务类型,相同IP解析结果不同
        • 复制任务,无法做绑定
        • 即时监测IPV6页面级别解释
        • 私有协议Socket(TCP/UDP)
      • 错误分析
        • 打开流媒体失败
        • 打开流媒体失败
        • 打开流媒体失败
        • 页面任务元素出现阻塞时间的分析思路
        • 无法解析域名和服务器地址
        • 无法解析服务器名称或地址
        • 无法解析服务器名称或地址
        • 无法解析服务器名称或地址
        • 无法解析服务器名称或地址
        • 无法与服务器建立连接
        • 无法与服务器建立连接
        • 无法与服务器建立连接
        • 无法与服务器建联连接
        • 与服务器建立连接失败
        • 操作超时
        • 操作超时之Chrome90
        • 任务超时
        • 任务超时
        • 服务器连接被重置
        • 与服务器连接被重置
        • 与服务器连接被重置
        • 应用的证书无效
        • 应用证书无效
        • 应用证书无效
        • 安全频道支持出错
        • 安全频道支持出错
        • 安全频道支持出错
        • 证书错误
        • 私有化平台页面访问报-100错误
        • 404 - Not Found错误
        • HTTP/1.1 403 Forbidden
        • HTTP412错误
        • 元素报表数值对不上
      • 数据分析
        • 如何区分HLS格式是直播还是点播
        • 报表数据与客户服务器端统计不一致
        • DNS时间过长的分析思路
        • 绑定对比任务的消耗点数不同
        • 4G真机监测下客户反馈http via不正确
        • 节点IP定位不准确
        • 私有化平台任务无数据
        • CDN厂商CNAME无响应问题
        • 单文件下载任务, 创建后无数据
        • SSL握手时间长
        • 监控数据量少,和节点组频率对应不上
        • 跨省跨运营商现象分析
        • 流媒体任务,三个任务数据量相差较大
        • 相同文件下载,不同厂商字节数下载不同
        • 单文件下载,配置MD5,下载不全未报错。
        • DNS时间较长问题分析
        • PING任务警告,Request timed out
        • PING任务丢包百分之百
        • 元素瀑布图中有重复元素加载
        • 散点数据和抓包数据对不上
        • 抓包中如何查看传输的内容
        • 任务无数据/数据少
        • 相同URL,额外等待时间影响onload时间
        • 听云监测数据和浏览器访问数据总下载字节数相差较大
        • DNS时间较长
        • 跨运营商访问
        • 页面任务元素出现阻塞时间
        • 抓包中出现TCP ZERO window
      • 报表权限
      • 节点分析
        • 数据访问发现有跨区访问
        • 节点劫持
      • 告警分析
        • 运营商链路故障引起告警
        • 客户应用500,平台未告警
      • 问题百问
        • Network问题Q&A(1)
        • Network问题Q&A(2)
        • 模型质量监控相关问题Q&A
  • English
    • Release Notes
      • 2026
      • 2025
      • 2024
    • Product Introduction
      • Product Overview
        • Product Overview
      • How It Works
        • Monitoring Principles
        • Probe Deployment
      • Product Architecture
        • Product Architecture
      • Typical Scenarios
        • CDN Acceleration Evaluation and Selection
        • Website Benchmarking Analysis
        • Website Application Stress Test Analysis
        • Website Performance Evaluation and Optimization
        • Observable Hybrid Load Testing Scenario
        • DNS Hijacking Monitoring - CNAME Monitoring
        • VPN Quality Monitoring
        • WIFI Quality Monitoring
        • SMS Service Quality Monitoring
        • API Active Monitoring
        • Certificate Monitoring
        • MTR Network Link Monitoring
        • Enterprise Business Quality Monitoring
        • End-to-End Scenario Monitoring
        • Whois Domain Monitoring Scenario
        • IPv6 Support Rate Monitoring
        • Model Quality Monitoring
      • Core Advantages
        • End-to-End Monitoring
        • Market Position
        • Data Protection
        • Localized Service
      • Feature Modules
        • Instant Testing
          • Instant Testing
        • Synthetic Monitoring
          • Synthetic Monitoring Introduction
          • Monitoring Task Types
          • Monitoring Result Analysis
        • Private Probe Monitoring
          • Private Probe Monitoring
        • Domain Analysis
          • Domain Analysis
        • CDN Tuning
          • CDN Tuning
        • Hijacking Monitoring
          • Hijacking Monitoring
        • Alert Notifications
          • Alert Notifications
        • Report Service
          • Report Service
        • API Service
          • API Service
    • User Guide
      • Synthetic Monitoring Charts
        • Common Operations
        • Overview
        • Trend Chart
        • Region Chart
        • Map
        • Host Chart
        • Error Chart
        • Scatter Plot
        • Elements
      • Task Types
        • Monitoring Task Types Introduction
        • Fixed Network Service Monitoring
        • Mobile Service Monitoring
        • Model Quality Monitoring Service Monitoring
      • Synthetic Monitoring
        • Synthetic Monitoring Introduction
        • Create Task
        • Query Tasks
        • Manage Tasks
        • Bind Task
        • Probe Group Management
      • Instant Testing
        • Instant Testing Introduction
        • Configure Instant Testing
        • View Monitoring Results
      • System Management
        • System Management Introduction
        • Private Probe Monitoring
        • User Management
        • Usage Query
        • Authorization Code Management
        • Map Parameters
      • Domain Analysis
        • Domain Analysis
      • CDN Tuning
        • CDN Tuning Introduction
        • CDN Assessment
        • Algorithm Recommendations
        • Policy Tuning
      • Alerts
        • Alert Introduction
        • Performance Alert
        • Error Alert
        • Intelligent Alert
        • Alert Log
        • Alert Push
      • Reports
        • Report Introduction
        • Create Quick Report
        • Create Smart Report
        • Export Report
        • Chart Pool
      • API Service
        • API Service
      • WebRecorder Script Recorder (Plugin Version)
        • Configure Task
        • Create Project and Interface Display
        • Introduction
        • Script Recording
        • Commands Supported by Script Recorder
        • Script Recorder Support for Transaction Verification Codes
        • Notes
        • Installation
      • Other Features
        • Share Current Page
        • Quick Mobile Access
      • MCP Service
        • Tingyun Network MCP Setup
        • Tingyun Network MCP Tools
    • Metric Descriptions
      • PC Monitoring
        • Page Metrics
        • File Metrics
        • Transaction Metrics
        • Streaming Media Metrics
        • Ping Metrics
        • MTR Metrics
        • Model Quality Monitoring Metrics
        • Private Protocol Metrics
          • Private Protocol Metrics Overview
          • WebSocket Plugin Configuration Guide
          • DIG Plugin Configuration Guide
          • Socket(TCP/UDP) Plugin Configuration Guide
          • Telnet Plugin Configuration Guide
          • FTP Plugin Configuration Guide
          • SMTP/IMAP/POP3 Plugin Configuration Guide
          • MTR Plugin Configuration Guide
          • Traceroute Plugin Configuration Guide
          • DeepSeek Plugin Configuration Guide
          • TCP Send Plugin Configuration Guide
          • UDP Plugin Configuration Guide
          • HTTP(SM) Plugin Configuration Guide
          • HTTP3 Plugin Configuration Guide
          • OCSP Plugin Configuration Guide
          • WIFI Plugin Configuration Guide
          • VPN Plugin Configuration Guide
      • Mobile (H5) Monitoring
        • Page Metrics
        • File Metrics
        • Transaction Metrics
        • Streaming Media Metrics
        • Ping Metrics
        • SMS Metrics
    • Script Recorder
      • Download the NBR Script Recorder Tool
      • Using the NBR Script Recorder - Short Version
    • FAQs
      • Feature Analysis
        • Create Task
        • Create Probe Group
        • Advanced Parameters - End Conditions
        • Advanced Parameters - Diagnostics
        • Verify Probe DNS When Report Has No Data
        • No Data After Configuring a Streaming Media Monitoring Task
        • Does the Platform Support Checking Whether a Specified CNAME Takes Effect
        • Real Device Single File Task Download Crash
        • Tingyun Monitoring Does Not Match Actual Browser Access Data
        • Error Caused by Incomplete Monitoring Address
        • Bound Host Does Not Take Effect and Host IP Outside List Appears
        • Bound Host Does Not Take Effect and Host IP Outside List Appears
        • Same IP Has Different Resolution Results Across Task Types
        • Copied Task Cannot Be Bound
        • Instant Testing IPv6 Page-Level Explanation
        • Private Protocol Socket (TCP/ UDP)
      • Error Analysis
        • Failed to open streaming media
        • Failed to open streaming media (2)
        • Failed to open streaming media (3)
        • Troubleshooting Blocking Time for Page Task Elements
        • Unable to Resolve Server Name or Address
        • Unable to Resolve Server Name or Address (2)
        • Unable to Resolve Server Name or Address (3)
        • Unable to Resolve Server Name or Address (4)
        • Unable to Resolve Server Name or Address (5)
        • Unable to Establish Connection with Server
        • Unable to Establish Connection with Server (2)
        • Unable to Establish Connection with Server (3)
        • Unable to Establish Connection with Server (4)
        • Failed to establish connection with server
        • Operation Timeout
        • Chrome 90 Operation Timeout
        • Task timeout
        • Task timeout (2)
        • Server Connection Reset
        • The connection to the server was reset
        • The connection to the server was reset (2)
        • Invalid Application Certificate
        • Invalid Application Certificate (2)
        • Invalid Application Certificate (3)
        • Secure channel support error
        • Secure channel support error (2)
        • Secure channel support error (3)
        • Certificate Error
        • -100 Error When Accessing Private Platform Page
        • 404 - Not Found error
        • HTTP/1.1 403 Forbidden
        • HTTP412 error
        • Element Report Values Do Not Match
      • Data Analysis
        • How to Distinguish Live and VOD HLS Formats
        • Report Data Does Not Match Customer Server Statistics
        • Troubleshooting Long DNS Time
        • Different Point Consumption for Bound Comparison Tasks
        • Incorrect HTTP Via Reported in 4G Real Device Monitoring
        • Inaccurate Probe IP Location
        • No Data for Tasks on Private Platform
        • CDN Vendor CNAME No Response Issue
        • No Data After Creating Single File Download Task
        • Long SSL Handshake Time
        • Low Monitoring Data Volume Does Not Match Probe Group Frequency
        • Cross-Province and Cross-Carrier Phenomenon Analysis
        • Large Data Volume Difference Across Three Streaming Media Tasks
        • Different Vendors Download Different Byte Counts for Same File
        • Single File Download with MD5 Configured Does Not Report Incomplete Download
        • Long DNS Time Analysis
        • Ping Task Warning - Request Timed Out
        • Ping Task 100 Percent Packet Loss
        • Duplicate Elements Loaded in Element Waterfall Chart
        • Scatter Data Does Not Match Packet Capture Data
        • How to View Transmitted Content in Packet Capture
        • No or Insufficient Task Data
        • Additional Wait Time Affects Onload Time for Same URL
        • Large Difference Between Tingyun Monitoring and Browser Total Download Bytes
        • Long DNS Time
        • Cross-Carrier Access
        • Blocking Time Appears for Page Task Elements
        • TCP Zero Window Appears in Packet Capture
      • Probe Analysis
        • Cross-Region Access Found in Data Access
        • Probe Hijacking
      • Alert Analysis
        • Alert Caused by Carrier Link Failure
        • Customer Application 500 with No Platform Alert
      • Q&A
        • Network Q&A (1)
        • Network Q&A (2)
        • Model Quality Monitoring Q&A
      • Report Permissions
  1. MCP Service

Tingyun Network MCP Setup

Connect Tingyun Network Synthetic Monitoring, Alerts, Synthetic Tasks, and raw data capabilities to MCP-compatible AI clients. Select a client first, then follow the corresponding steps to complete setup and verification.

Clients in China#

Qwen / Qwen CodeKimi Code
Baidu ComateByteDance TRAETencent CodeBuddy

International Clients#

Client navigation: Codex
Before you begin
Obtain the MCP URL, X-Mcp-Client, and authKey from your Tingyun administrator.
Ensure that the client can access the target HTTPS address and supports remote Streamable HTTP.
Verify read-only tools first. Explicit confirmation is required before creating a Synthetic Task, enabling or disabling a task, or initiating an Instant Test.

Support Status and Prerequisites#

This document first helps you select a client and then provides client-specific instructions. Common endpoints, authentication, permissions, and verification are described in shared sections. Compatibility is classified as Directly Supported, Compatible Integration, or Requires Adaptation.
ClientStatus in This DocumentIntegration Method
Qwen (Qwen Code)Directly SupportedIn this document, Qwen refers specifically to Qwen Code, which supports remote HTTP, request headers, and user-level or project-level configuration.
Kimi CodeDirectly SupportedRemote HTTP, mcp.json, status checks, and connection tests
Baidu ComateDirectly SupportedStreamable HTTP, remote request headers, and user-level or project-level mcp.json
TRAEDirectly SupportedConfigure MCP manually under Settings > MCP, then add it to Builder or a custom Agent.
Tencent CodeBuddyDirectly SupportedCodeBuddy Settings > MCP, with URL, headers, and connection status verification
CodexDirectly SupportedStreamable HTTP, config.toml, and static or environment-variable request headers
Scope note: Directly Supported means only that the client's public configuration format can represent Tingyun's current remote HTTP and request-header requirements. It does not mean that the current tenant, network, permissions, package, or every tool has been verified.

Common Connection Information#

Information required#

MCP URL: Prefer the endpoint for the required module. An aggregate endpoint loads more tools at once.
X-Mcp-Client: Client identifier provided by your Tingyun administrator.
authKey: Tenant credential. Never include it in prompts, screenshots, support tickets, or public repositories.
Network and permissions: The client must be able to access the HTTPS service. The account must have the required tenant permissions, an active package, and sufficient quota.

Common endpoints#

ModulePathPurpose
Alerts/network-report-data/mcp/synthetic/alertAlert lists, summaries, and probe-level details
Instant Testing/network-report-data/mcp/synthetic/instantOnline Probes, Instant Test creation, and results
Synthetic Tasks/network-report-data/mcp/synthetic/taskTasks, packages, usage, raw data, and task creation

Qwen / Qwen Code#

Directly supported: In this document, Qwen refers specifically to Qwen Code. It supports remote HTTP MCP services, request headers, and user-level or project-level configuration.

Configuration file#

User-level configuration is stored in ~/.qwen or qwen-agent/mcp.json. Project-level configuration is stored in .qwen/settings.json. Project-level files may be committed to version control, so do not store real credentials in them.
{
  "mcpServers": {
    "tingyun-network": {
      "httpUrl": "https://<Tingyun-host>/<MCP_ENDPOINT_PATH>",
      "headers": {
        "X-Mcp-Client": "<CLIENT_ID>",
        "authKey": "<AUTH_KEY>"
      },
      "timeout": 60000
    }
  }
}

Verification#

1.
Start Qwen Code. If you changed the configuration while it was running, restart it.
2.
Enter /mcp and confirm that tingyun-network is connected and its tools are listed.
3.
Run a read-only prompt: List the active packages and remaining quota for the current account. Do not create a task.
4.
Confirm that the returned data belongs to the current tenant. Use the single-module alert, instant, or task endpoint as needed.

Kimi Code#

Directly supported: Kimi Code supports HTTP MCP services, request headers, enable or disable controls, and timeout configuration.

Configure mcp.json#

The default user-level configuration is ~/.kimi-code/mcp.json, and the project-level configuration is .kimi-code/mcp.json. You can also manage servers in Kimi Code with /mcp-config.
{
  "mcpServers": {
    "tingyun-network": {
      "url": "https://<Tingyun-host>/<MCP_ENDPOINT_PATH>",
      "transport": "http",
      "headers": {
        "X-Mcp-Client": "<CLIENT_ID>",
        "authKey": "<AUTH_KEY>"
      },
      "enabled": true,
      "startupTimeoutMs": 20000,
      "toolTimeoutMs": 60000
    }
  }
}

Verification#

1.
Start Kimi Code and enter /mcp to view the connection status and loaded tools.
2.
In versions that support the kimi mcp command, run kimi mcp list or kimi mcp test tingyun-network.
3.
Start with a read-only prompt: Query the Alert list for the past 24 hours. Do not modify any tasks.
4.
If the connection fails, check the URL, request-header names and casing, proxy, and timeout, then reload the service.
Project configuration: Teams may share a project-level configuration template that contains no credentials. Inject the real X-Mcp-Client and authKey through secure local configuration, and do not commit them to Git.

Baidu Comate#

Directly supported: Comate can act as an MCP client and supports Streamable HTTP, remote request headers, and user-level or project-level configuration.

Configuration entry point#

Open MCP in Comate IDE or the Comate extension. On the Installed/Marketplace page, select Manual Configuration.
User-level configuration is stored in ~/.comate/mcp.json. Project-level configuration is stored in <workspace>/.comate/mcp.json. Do not store real credentials in project files.
After saving the configuration, refresh the Installed list and confirm that the status is Started. Then explicitly add this MCP service to the current Agent.

mcp.json example#

{
  "mcpServers": {
    "tingyun-network": {
      "url": "https://<Tingyun-host>/<MCP_ENDPOINT_PATH>",
      "headers": {
        "X-Mcp-Client": "<CLIENT_ID>",
        "authKey": "<AUTH_KEY>"
      },
      "timeout": 60
    }
  }
}

Verification#

Confirm that tingyun-network is Started. If it fails, open the Baidu Comate MCP output log.
In an MCP-enabled Agent mode, enter: List the active packages and remaining quota for the current account. Do not create a task.
The first tool call displays a confirmation card. Consider automatic execution only when you trust the server and the operation is read-only.
Version requirements: MCP prerequisites and mode names in the official Comate documentation may change by version. If the current interface does not include an MCP or Agent entry point, upgrade Comate IDE or the extension and verify account permissions.

TRAE (ByteDance)#

Directly supported: TRAE Agent/Builder supports MCP. You can configure it manually under Settings > MCP and add it to the target Agent.

Setup steps#

1.
Open TRAE and go to Settings > MCP.
2.
Select Add > Configure Manually, then open Raw Config (JSON).
3.
Add the remote URL and request headers for tingyun-network. Save the configuration, then return to the MCP list to check the connection status.
4.
Select a default Builder with MCP enabled, or explicitly add tingyun-network to a custom Agent or Builder.

Remote MCP configuration example#

{
  "mcpServers": {
    "tingyun-network": {
      "url": "https://<Tingyun-host>/<MCP_ENDPOINT_PATH>",
      "headers": {
        "X-Mcp-Client": "<CLIENT_ID>",
        "authKey": "<AUTH_KEY>"
      }
    }
  }
}
Version check: TRAE publicly documents MCP integration and a manual Raw Config entry point, but validation of remote HTTP fields may vary by version. If the configuration is not recognized, upgrade the client and inspect the MCP output. Do not replace it with an incorrect stdio command.

Verification#

Confirm that tingyun-network is available in the MCP list and associated with the current Builder or Agent.
Run a read-only prompt. If the Agent does not invoke a tool, explicitly instruct it to use tingyun-network.
Before sharing an Agent, confirm that the configuration does not contain a real authKey. TRAE sensitive-information scanning does not replace credential governance.

Tencent CodeBuddy#

Directly supported: CodeBuddy IDE supports MCP Market, custom MCP servers, URL and header configuration, and connection status verification.

Setup steps#

1.
Open CodeBuddy Settings from the upper-right corner of the chat panel in the CodeBuddy IDE sidebar.
2.
Open the MCP tab and select Add MCP or Configure MCP Server.
3.
Add tingyun-network to the JSON configuration. After saving, return to the list. A green status indicates that the configuration is active.
4.
Use Tingyun prompts in Craft Agent. You can also select Try to Run to test the server first.

~/.codebuddy/mcp.json example#

{
  "mcpServers": {
    "tingyun-network": {
      "type": "http",
      "url": "https://<Tingyun-host>/<MCP_ENDPOINT_PATH>",
      "headers": {
        "X-Mcp-Client": "<CLIENT_ID>",
        "authKey": "<AUTH_KEY>"
      }
    }
  }
}

Verification and notes#

If the status is red, check the URL, request headers, proxy, and certificate. Check npx/uvx only for local stdio Marketplace installation issues.
Ask Craft Agent to query a package or Alert first. Confirm that it does not expose authKey before testing a write operation that requires confirmation.
This document applies to CodeBuddy IDE. Entry points and capabilities may differ in the CodeBuddy extension, CLI, and WeChat Developer Tools.

Codex#

Client navigation: Codex
Directly supported: Codex CLI, the desktop app, and IDE extensions share the MCP configuration in ~/.codex/config.toml.

Recommended: environment-variable request headers#

[mcp_servers.tingyun_network]
url = "https://<Tingyun-host>/<MCP_ENDPOINT_PATH>"
enabled = true
startup_timeout_sec = 20
tool_timeout_sec = 60
env_http_headers = { "X-Mcp-Client" = "TINGYUN_MCP_CLIENT_ID", "authKey" = "TINGYUN_AUTH_KEY" }
Set TINGYUN_MCP_CLIENT_ID and TINGYUN_AUTH_KEY in the same environment used to start Codex. Do not commit real values to the repository.

Alternative: static request headers#

[mcp_servers.tingyun_network]
url = "https://<Tingyun-host>/<MCP_ENDPOINT_PATH>"
enabled = true
startup_timeout_sec = 20
tool_timeout_sec = 60
http_headers = { "X-Mcp-Client" = "<CLIENT_ID>", "authKey" = "<AUTH_KEY>" }
Protect the configuration: If static request headers are required, restrict ~/.codex/config.toml so that only the current user can read and write it. Do not create another project-level copy that contains real credentials.

Verification#

Confirm that enabled: true, transport: streamable_http, the URL, and the timeouts are correct.
Request-header values should be masked. Restart Codex or start a new task after making changes.
Query Alerts, packages, or quota first without creating a task. Before a write operation, display the parameters and impact and wait for confirmation.

Verification, Permissions, and Troubleshooting#

Minimum verification workflow#

1.
Restart the client or start a new session so that the MCP tool list is reloaded.
2.
Run the client's MCP status check or tools/list, and confirm that the methods for the target module are visible.
3.
Query packages, quota, Probes, or Alerts first, and confirm that the data belongs to the current tenant.
4.
Confirm that the model output does not expose authKey, complete request headers, or unnecessary customer-sensitive data.
5.
Test task creation or enable/disable operations only after explicit confirmation. Query the object status afterward to distinguish request acceptance from completion of the business operation.

Suggested test prompts#

ScenarioPrompt
Read-onlyList the active packages and remaining quota for the current account. Do not create a task.
AlertShow tasks that have remained in an Alert state during the past 24 hours, and expand the one with the greatest impact. Do not modify any tasks.
Instant Testing preparationList the online China Mobile Probes in Beijing. Generate only an Instant Test configuration and describe the expected impact. Do not initiate the test.
ChangeFind the task named "Homepage," show its current and target states, and wait for my confirmation before disabling it.

Operation levels#

LevelTypical OperationsRule
Read-onlyQuery lists, details, packages, quota, Probes, and raw data.May be called directly, but returned data must still be minimized.
ChangeEnable or disable a task.Display the task, current state, and target state, then execute only after explicit confirmation.
Creation or consumptionCreate a task or initiate an Instant Test.Validate the package, quota, and Probes; display the parameters and impact; execute only after confirmation; then query the result.
Mandatory confirmation: Querying Probes does not authorize an Instant Test, and generating a configuration does not authorize task creation. Every operation that changes online state, sends a test to a target, or consumes quota requires separate confirmation.

Common Issues and Troubleshooting#

SymptomCommon CauseResolution and Verification
Tools are not visibleThe client did not reload, the endpoint or context path is incorrect, authentication failed, or the protocol version or tool allowlist does not match.Restart the client or start a new session. Confirm that the URL contains the deployment context and /mcp/ endpoint. Include authKey, run tools/list, and check MCP-Protocol-Version, Origin, MCP-Session-Id, and the includeTools allowlist.
Authentication failedauthKey is missing or invalid, or the required X-Mcp-Client header is missing.Obtain the credentials again and check the authKey and X-Mcp-Client request headers. Never include credentials in prompts, screenshots, or logs.
403 / Permission deniedauthKey is invalid, or the current account lacks the required MCP, tenant, package, or business permissions.Distinguish authentication failures from business permission failures. Confirm that the account has the required tenant, package, and task permissions. Do not attempt to bypass permissions through repeated retries.
TLS or connection failure, or browser preflight failureThe proxy, VPN, certificate, domain entry point, Origin, or CORS request headers do not meet the integration requirements.Check DNS, the proxy, the certificate chain, the remote environment's network, and Origin. For browser calls, also confirm that the preflight request allows headers such as MCP-Protocol-Version and MCP-Session-Id.
Tool call timed outThe client timeout is too short, a downstream API is slow, the query scope is too large, or pagination is insufficient.Set a reasonable timeout in the client. Reduce the time range, paginate, or split the time range. Confirm whether the request was accepted, then query its final status.
A write operation did not take effect or its result is uncertainParameters, permissions, package, quota, or downstream acceptance status are invalid or unavailable.Display the tool, parameters, and impact and obtain explicit confirmation before calling it. Read the returned Synthetic Task or Instant Test ID, then query the final status.
上一页
Quick Mobile Access
下一页
Tingyun Network MCP Tools
Built with