tracescope-mcp
v0.3.5TraceScope MCP server — impact analysis + design diff tools for any MCP client
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tracescope_open_panel
Open the TraceScope visual manual-test panel in the browser (best for non-technical testers).
tracescope_list_commits
List recent git commits for a local path or remote URL. Remotes are cloned/fetched under ~/.tracescope/repos. Supports HTTPS token or SSH key auth.
| Parameter | Type | Description |
|---|---|---|
repoPath * | string | Local git path or remote URL (https://… / git@… / github.com/org/repo) |
authMode | string | |
authPrivateKeyPath | string | SSH private key absolute path |
authToken | string | HTTPS PAT / password |
authUsername | string | |
fetch | boolean | Fetch remotes first (default true) |
limit | integer | Max commits (default 40) |
tracescope_get_diff
Fetch a chunk of unified git diff between two commits. Use offset/limit to page through files; do not request the entire tree at once.
| Parameter | Type | Description |
|---|---|---|
baseCommit * | string | |
headCommit * | string | |
repoPath * | string | Local git path or remote URL |
authMode | string | |
authPrivateKeyPath | string | SSH private key absolute path |
authToken | string | HTTPS PAT / password |
authUsername | string | |
limit | integer | Max files (default 8, max 20) |
offset | integer | File offset (default 0) |
paths | string | Optional comma-separated relative paths to limit the diff |
tracescope_analyze_impact
Compare two git commits (local path or remote URL) and produce a manual-test impact scope report. Supports private remotes via HTTPS token or SSH key.
| Parameter | Type | Description |
|---|---|---|
baseCommit * | string | Stable baseline commit (SHA or ref, e.g. origin/main) |
headCommit * | string | Under-test commit (SHA or ref) |
repoPath * | string | Local git path or remote URL (https://… / git@… / github.com/org/repo) |
authMode | string | |
authPrivateKeyPath | string | SSH private key absolute path |
authToken | string | HTTPS PAT / password |
authUsername | string | |
exportDir | string | If set, also write report.md and report.csv |
fetchRemote | boolean | Fetch remotes before analyze |
modulesConfigPath | string | |
rippleDepth | integer |
tracescope_create_handtest_job
Create a TraceScope hand-test chat job and return the starter prompt. After interactive analysis, call tracescope_publish_handtest with the same jobId.
| Parameter | Type | Description |
|---|---|---|
baseCommit * | string | |
headCommit * | string | |
repoPath * | string | Local git path or remote URL |
accessMode | string | |
authMode | string | |
authPrivateKeyPath | string | SSH private key absolute path |
authToken | string | HTTPS PAT / password |
authUsername | string | |
fetchRemote | boolean | |
relatedWorkItems | string | Optional related work-item refs (JSON or free text) |
tracescope_publish_handtest
Publish the final hand-test checklist for a TraceScope chat job so the panel can refresh and the report is persisted.
| Parameter | Type | Description |
|---|---|---|
items * | string | JSON array of hand-test items: [{displayName,kind,risk,files,suggestedSteps,evidence}] |
jobId * | string | TraceScope job id from tracescope_create_handtest_job / starter prompt |
tracescope_start_visual_review
Start a design↔code UI review job and return the starter prompt. Use tracescope_get_design_snapshot as needed, then tracescope_publish_visual_findings.
| Parameter | Type | Description |
|---|---|---|
adapterId * | string | Platform adapter id, e.g. android-xml / web-react |
relativePath * | string | Code file relative path to compare |
repoPath * | string | |
designId | string | Design node / page id when known |
designUrl | string | Alias of figmaUrl |
figmaToken | string | |
figmaUrl | string | Figma or Lanhu design URL |
lanhuCookie | string |
tracescope_get_design_snapshot
Load a compact text snapshot of the design tree for a TraceScope UI review job. Prefer a specific nodeId over the whole page.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | |
maxNodes | integer | |
nodeId | string |
tracescope_publish_visual_findings
Publish structured UI review findings for a TraceScope visual job so the panel refreshes and results persist.
| Parameter | Type | Description |
|---|---|---|
findings * | string | JSON array: [{title,severity,nodeId,location,expected,actual,codeSource,suggestion}] |
jobId * | string | |
renderPatch | string | Optional legacy experimental patch JSON |
summary | string |
tracescope_start_page_rematch
Start a design page ↔ code file rematch job and return the starter prompt. Write back with tracescope_publish_page_rematch.
| Parameter | Type | Description |
|---|---|---|
designId * | string | |
repoPath * | string | |
adapterId | string | |
designUrl | string | |
figmaToken | string | |
figmaUrl | string | |
lanhuCookie | string | |
relativePath | string |
tracescope_publish_page_rematch
Publish AI page↔file rematch recommendations for a TraceScope rematch job.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | |
picks * | string | JSON array: [{adapterId,relativePath,kindLabel?,score?,reason?}] |
note | string |
tracescope_crash_probe
Verify Umeng / Crashlytics / local crash credentials. Pass remember=true to persist into ~/.tracescope (same store as the DSH sidebar).
| Parameter | Type | Description |
|---|---|---|
accessToken | string | Google OAuth access token (ya29.… ) |
appId | string | Firebase App ID (1:…:ios|android:…) |
appKey | string | Umeng AppKey |
cookie | string | Umeng Console cookie |
lang | string | |
projectId | string | Firebase / GCP project id or number |
provider | string | |
remember | boolean | Save credentials when probe succeeds (default false) |
repoPath | string | Code directory / repo key for saved credentials and stack file matching |
serviceAccountJson | string | Crashlytics service-account JSON |
stackText | string | Pasted stack for local provider / fallback |
title | string |
tracescope_crash_filter_options
List crash filter options (app versions / OS / devices) for the active CrashProvider.
| Parameter | Type | Description |
|---|---|---|
accessToken | string | Google OAuth access token (ya29.… ) |
appId | string | Firebase App ID (1:…:ios|android:…) |
appKey | string | Umeng AppKey |
cookie | string | Umeng Console cookie |
lang | string | |
metaType | string | Provider meta type, e.g. crash / anr |
projectId | string | Firebase / GCP project id or number |
provider | string | |
repoPath | string | Code directory / repo key for saved credentials and stack file matching |
serviceAccountJson | string | Crashlytics service-account JSON |
stackText | string | Pasted stack for local provider / fallback |
title | string |
tracescope_crash_list
List crash/ANR issues from Umeng or Firebase Crashlytics (or empty for local). Uses saved credentials when tool credential fields are omitted.
| Parameter | Type | Description |
|---|---|---|
accessToken | string | Google OAuth access token (ya29.… ) |
appId | string | Firebase App ID (1:…:ios|android:…) |
appKey | string | Umeng AppKey |
appVersion | string | JSON array or comma-separated versions |
cookie | string | Umeng Console cookie |
deviceModels | string | JSON array of device ids |
endDay | string | |
errorKind | string | crash / anr / error / other |
keyword | string | |
lang | string | |
osVersions | string | JSON array of OS versions |
page | integer | |
pageSize | integer | |
projectId | string | Firebase / GCP project id or number |
provider | string | |
repoPath | string | Code directory / repo key for saved credentials and stack file matching |
serviceAccountJson | string | Crashlytics service-account JSON |
sort | string | |
stackText | string | Pasted stack for local provider / fallback |
startDay | string | |
status | string | |
timeRange | string | e.g. 24h / 7d / 30d / 90d / custom |
title | string |
tracescope_crash_detail
Fetch one crash/ANR incident (including stack text) by id from the active CrashProvider.
| Parameter | Type | Description |
|---|---|---|
id * | string | Issue / error id from tracescope_crash_list |
accessToken | string | Google OAuth access token (ya29.… ) |
appId | string | Firebase App ID (1:…:ios|android:…) |
appKey | string | Umeng AppKey |
cookie | string | Umeng Console cookie |
lang | string | |
projectId | string | Firebase / GCP project id or number |
provider | string | |
repoPath | string | Code directory / repo key for saved credentials and stack file matching |
serviceAccountJson | string | Crashlytics service-account JSON |
stackText | string | Pasted stack for local provider / fallback |
title | string |
tracescope_crash_analyze
Local crash analysis: parse stack, match files under repoPath, return summary / matchedFiles / fixHints (no model call).
| Parameter | Type | Description |
|---|---|---|
repoPath * | string | Local code directory for filename matching |
id | string | |
incident | string | JSON CrashIncident from tracescope_crash_detail (preferred) |
lang | string | |
stackText | string | Pasted stack when no incident JSON |
title | string |
tracescope_create_crash_analysis_job
Create a crash AI analysis job and return a starter prompt with jobId. After reasoning, call tracescope_publish_crash_analysis with the same jobId.
| Parameter | Type | Description |
|---|---|---|
incident * | string | JSON CrashIncident object |
repoPath * | string | |
summary * | string | Local analysis summary from tracescope_crash_analyze |
fixHints | string | JSON string array of fix hints |
lang | string | |
matchedFiles | string | JSON array from analyze report: [{path,reason,symbol?}] |
stackText | string |
tracescope_publish_crash_analysis
Publish the crash/ANR AI conclusion for a TraceScope crash job so panels / clients can write it back.
| Parameter | Type | Description |
|---|---|---|
analysis * | string | Full AI conclusion text (root cause / impact / fix) |
jobId * | string | Job id from tracescope_create_crash_analysis_job |
lang | string |
tracescope_get_crash_job
Poll a crash AI job for status and published aiAnalysis.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | Crash job id |
id | string | Alias of jobId |
lang | string |