blacksmith
v0.1.1MCP server for Blacksmith CI - query runs, analyze test failures, detect flaky tests.
Values you need
| Variable | What it is | |
|---|---|---|
BLACKSMITH_ORG | required | Your Blacksmith organization name |
BLACKSMITH_SESSION_COOKIE | optional secret | Session cookie (auto-extracted from Chrome if not set) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add blacksmith -e 'BLACKSMITH_ORG=<BLACKSMITH_ORG>' -- npx -y blacksmith-mcp@0.1.1Add to
claude_desktop_config.json{
"mcpServers": {
"blacksmith": {
"args": [
"-y",
"blacksmith-mcp@0.1.1"
],
"command": "npx",
"env": {
"BLACKSMITH_ORG": "<BLACKSMITH_ORG>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"blacksmith": {
"args": [
"-y",
"blacksmith-mcp@0.1.1"
],
"command": "npx",
"env": {
"BLACKSMITH_ORG": "<BLACKSMITH_ORG>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "BLACKSMITH_ORG",
"id": "blacksmith-org",
"password": true,
"type": "promptString"
}
],
"servers": {
"blacksmith": {
"args": [
"-y",
"blacksmith-mcp@0.1.1"
],
"command": "npx",
"env": {
"BLACKSMITH_ORG": "${input:blacksmith-org}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.blacksmith]
command = "npx"
args = ["-y", "blacksmith-mcp@0.1.1"]
env = { "BLACKSMITH_ORG" = "<BLACKSMITH_ORG>" }For AI agents
- Ask the user for: BLACKSMITH_ORG. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_orgs, get_org_status, list_runs, get_run, list_jobs, get_job, get_job_logs, get_job_tests, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json