Labsco
MCP SERVER

Tencent Cloud Code Analysis

by TCATools

Run Tencent Cloud Code Analysis on a repository from the agent — discover your teams and projects, wire up a repository with its credentials, start a scan, and read the unresolved issues back.

Vulnerability Scanning & Application SecurityVerified
Summary
The discovery chain exists because the alternative is asking a user for four identifiers they have never seen — and setup_config turns the answers into the config file.

Enterprise analysis platforms are keyed on organisation, team, repository and project identifiers that live in a web console. Most integrations require them up front, which means the first thing a user does is go hunting. Here the tools walk the hierarchy from what the token can see, and then write the config file from what they found. create_repo insisting that list_scm_auths be called first is the same instinct applied to credentials: the repository cannot be connected without one, so the tool text makes the ordering explicit rather than letting the call fail. Tool descriptions and parameters are in Chinese.

What it is

A client for Tencent Cloud Code Analysis covering both halves: the discovery and setup path that gets a repository connected, and the scanning path that runs analysis and returns findings.

What you get
  • Discovery walks down the hierarchy — organisations, then teams, then connected repositories, then the analysis projects and available schemes under them — so configuration can be found rather than asked for.
  • setup_config writes the tca-mcp.ini file from what discovery found, which is the step that otherwise involves copying identifiers by hand.
  • Repository onboarding is credential-aware: create_repo's own description requires calling list_scm_auths first, and create_scm_account and create_scm_ssh add username-password or SSH credentials when none exist.
  • An analysis project is defined as a scheme plus a branch, and create_project builds one from those two.
  • start_scan runs the analysis, job_list and job_detail track it, tca_issue_list returns the unresolved issues, and tca_issue_report returns the report link.
Requirements

TCA_TOKEN and TCA_USER_NAME, plus a tca-mcp.ini config file — which setup_config can generate once discovery has found your organisation, team and repository.

Setup effort

One command plus a key — npx -y -p tca-mcp-server@latest tca-mcp-stdio, then supply credentials