| Qwen / Qwen Code | Kimi Code | |
|---|---|---|
| Baidu Comate | ByteDance TRAE | Tencent CodeBuddy |
Before you begin Obtain the MCP URL, X-Mcp-Client, andauthKeyfrom 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.
| Client | Status in This Document | Integration Method |
|---|---|---|
| Qwen (Qwen Code) | Directly Supported | In this document, Qwen refers specifically to Qwen Code, which supports remote HTTP, request headers, and user-level or project-level configuration. |
| Kimi Code | Directly Supported | Remote HTTP, mcp.json, status checks, and connection tests |
| Baidu Comate | Directly Supported | Streamable HTTP, remote request headers, and user-level or project-level mcp.json |
| TRAE | Directly Supported | Configure MCP manually under Settings > MCP, then add it to Builder or a custom Agent. |
| Tencent CodeBuddy | Directly Supported | CodeBuddy Settings > MCP, with URL, headers, and connection status verification |
| Codex | Directly Supported | Streamable 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.
X-Mcp-Client: Client identifier provided by your Tingyun administrator.authKey: Tenant credential. Never include it in prompts, screenshots, support tickets, or public repositories.| Module | Path | Purpose |
|---|---|---|
| Alerts | /network-report-data/mcp/synthetic/alert | Alert lists, summaries, and probe-level details |
| Instant Testing | /network-report-data/mcp/synthetic/instant | Online Probes, Instant Test creation, and results |
| Synthetic Tasks | /network-report-data/mcp/synthetic/task | Tasks, packages, usage, raw data, and task creation |
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.
~/.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
}
}
}/mcp and confirm that tingyun-network is connected and its tools are listed.alert, instant, or task endpoint as needed.Directly supported: Kimi Code supports HTTP MCP services, request headers, enable or disable controls, and timeout configuration.
mcp.json~/.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
}
}
}/mcp to view the connection status and loaded tools.kimi mcp command, run kimi mcp list or kimi mcp test tingyun-network.Project configuration: Teams may share a project-level configuration template that contains no credentials. Inject the real X-Mcp-ClientandauthKeythrough secure local configuration, and do not commit them to Git.
Directly supported: Comate can act as an MCP client and supports Streamable HTTP, remote request headers, and user-level or project-level configuration.
~/.comate/mcp.json. Project-level configuration is stored in <workspace>/.comate/mcp.json. Do not store real credentials in project files.mcp.json example{
"mcpServers": {
"tingyun-network": {
"url": "https://<Tingyun-host>/<MCP_ENDPOINT_PATH>",
"headers": {
"X-Mcp-Client": "<CLIENT_ID>",
"authKey": "<AUTH_KEY>"
},
"timeout": 60
}
}
}tingyun-network is Started. If it fails, open the Baidu Comate MCP output log.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.
Directly supported: TRAE Agent/Builder supports MCP. You can configure it manually under Settings > MCP and add it to the target Agent.
tingyun-network. Save the configuration, then return to the MCP list to check the connection status.tingyun-network to a custom Agent or Builder.{
"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 stdiocommand.
tingyun-network is available in the MCP list and associated with the current Builder or Agent.tingyun-network.authKey. TRAE sensitive-information scanning does not replace credential governance.Directly supported: CodeBuddy IDE supports MCP Market, custom MCP servers, URL and header configuration, and connection status verification.
tingyun-network to the JSON configuration. After saving, return to the list. A green status indicates that the configuration is active.~/.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>"
}
}
}
}npx/uvx only for local stdio Marketplace installation issues.authKey before testing a write operation that requires confirmation.Directly supported: Codex CLI, the desktop app, and IDE extensions share the MCP configuration in ~/.codex/config.toml.
[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" }TINGYUN_MCP_CLIENT_ID and TINGYUN_AUTH_KEY in the same environment used to start Codex. Do not commit real values to the repository.[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.tomlso that only the current user can read and write it. Do not create another project-level copy that contains real credentials.
enabled: true, transport: streamable_http, the URL, and the timeouts are correct.tools/list, and confirm that the methods for the target module are visible.authKey, complete request headers, or unnecessary customer-sensitive data.| Scenario | Prompt |
|---|---|
| Read-only | List the active packages and remaining quota for the current account. Do not create a task. |
| Alert | Show 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 preparation | List the online China Mobile Probes in Beijing. Generate only an Instant Test configuration and describe the expected impact. Do not initiate the test. |
| Change | Find the task named "Homepage," show its current and target states, and wait for my confirmation before disabling it. |
| Level | Typical Operations | Rule |
|---|---|---|
| Read-only | Query lists, details, packages, quota, Probes, and raw data. | May be called directly, but returned data must still be minimized. |
| Change | Enable or disable a task. | Display the task, current state, and target state, then execute only after explicit confirmation. |
| Creation or consumption | Create 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.
| Symptom | Common Cause | Resolution and Verification |
|---|---|---|
| Tools are not visible | The 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 failed | authKey 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 denied | authKey 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 failure | The 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 out | The 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 uncertain | Parameters, 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. |