Get Project Credentials
get-project-credentialsNormal (non-bot) OAuth connections: fetch the project key local test runners (Playwright reporter, CLI, k6) need. Returns {projectId, projectName, projectApiKey, userId, backendUrl, ingressUrl} for the project named by the projectId argument, or by projectApiKey (which also tells you a key-only file's projectId); without either, the connection's default project (the MCP URL's ?projectId= when set, else the one picked on the consent page). To persist the runner key without putting it in a shell command: local stdio MCP should call save-workspace-creds; hosted / plugin agents should write /.testchimp/creds.json themselves (mode 0600, dir 0700) from this response and never print projectApiKey. This tool still returns projectApiKey for those callers. Not needed with an API key (stdio already has it).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-project-credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botId | No | QA bots: your botId from your stored TestChimp binding. | |
| projectId | No | The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret. | |
| projectApiKey | No | Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it. |