@testchimp/cli
v0.1.6
Published
TestChimp CLI and MCP server — coverage, plans, EaaS, TrueCoverage (calls /api/mcp/*)
Readme
@testchimp/cli
TestChimp CLI and MCP server for calling TestChimp /api/mcp/* endpoints with TESTCHIMP-API-KEY.
This repository folder may still be named testchimp-mcp-client locally; the published npm package is @testchimp/cli.
Install
npm install -D @testchimp/cli@latestMCP (agents in Cursor, Claude Code, VS Code, etc.)
Register the server so the host runs:
npx -y @testchimp/cli@latest mcpExample mcpServers.testchimp:
{
"command": "npx",
"args": ["-y", "@testchimp/cli@latest", "mcp"],
"env": {
"TESTCHIMP_API_KEY": "your-project-key",
"TESTCHIMP_BACKEND_URL": ""
}
}The config file path depends on the host (e.g. Cursor often uses <repo>/.cursor/mcp.json). Tool names use kebab-case (e.g. get-requirement-coverage, create-user-story).
CLI
export TESTCHIMP_API_KEY=... # required (often read from project MCP env; never commit keys)
testchimp --help
testchimp get-requirement-coverage --branch-name main --help
testchimp create-user-story --platform-file-path plans/stories/foo.md --title "Checkout"
testchimp list-screen-states --json-input '{}'
testchimp upsert-screen-states --json-input '{"screenStates":[{"screen":"Checkout","states":["empty","filled"]}]}'- stdout: API response JSON.
- stderr: progress for
provision-ephemeral-environment-and-wait(“still waiting…” polls). - Flags: default for each subcommand;
--json-input '<json>'or--json-input @file.jsonmerges over flags (JSON wins on conflicts). Use JSON for nested bodies (e.g. TrueCoverage scopes).
Migration from testchimp-mcp-client
The npm package testchimp-mcp-client is superseded by @testchimp/cli. Update MCP args to ["-y", "@testchimp/cli@latest", "mcp"] and rename tool references to kebab-case. See MIGRATION.md.
License
MIT
