# obra-cto [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/lilycip/obra-cto  
**GitHub Stars:** 0  
**npm Downloads (last month):** 301  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/obra-cto

## Description
Local-first MCP that scores your codebase's build readiness. Your code never leaves your machine.

## Tools
Capabilities this server exposes over MCP:

- **scan_project** — Read a local project and return mechanical Build Readiness signals: file and line counts, languages, test files, CI config, lockfile, docs, and a redacted scan for hardcoded secrets. Returns signals only, never your source. Run this first.
- **run_tests** — Run the project's test suite on this machine and parse pass/fail counts. This EXECUTES the project's own test command (for example `npm test`, which runs whatever that script defines), so only approve it for a project you trust to run. Your host asks before it runs. A green suite is the strongest grade-A reliability evidence the Obra CTO Score can use. Pass the result numbers to score_build_readiness.
- **check_dependencies** — Query OSV.dev for known vulnerabilities in the project's locked dependencies, using exact versions from package-lock.json. Only package names and versions are sent, never your code. Real, current CVE data. Feed any findings into your security assessment.
- **prepare_code_review** — Select the highest-signal files (security-relevant paths, entry points, large files) and return their contents on this machine, with a review checklist. YOU, the host model, then read them and produce a structured security and architecture assessment, which you pass to score_build_readiness as `qualitative`. This is what upgrades those dimensions from inferred (grade C) to verified (grade A). Files stay local.
- **score_build_readiness** — Produce the Obra CTO Score (0 to 100) with a per-dimension breakdown, evidence grades, and a Top Risks register. Scan runs automatically. If you ran run_tests first, pass its numbers so reliability becomes grade-A evidence.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "obra-cto": {
    "command": "npx",
    "args": ["-y","obra-cto"]
  }
}
```

## Documentation

## What obra-cto MCP server does

The obra-cto MCP server assesses whether a codebase is ready for closer technical scrutiny. It gathers mechanical project signals, checks locked dependencies for known vulnerabilities, runs the project’s tests, prepares a focused review of high-signal files, and produces a score with a ranked risk register.

The resulting Obra CTO Score is out of 100 and is calibrated for a prototype, MVP, or growth-stage project. It covers security, product reality, robustness, architecture, maintainability, and deploy readiness. Findings include evidence grades from A, meaning verified, through E, meaning speculation. The score uses grade A and C evidence rather than claims in a pitch deck.

## How it works

A typical run follows this sequence: scan the project, check dependencies, run tests, prepare the code review, then calculate the build-readiness score. `scan_project` returns mechanical signals from the project. `check_dependencies` compares locked package names and versions with the OSV vulnerability database. `run_tests` executes the project’s test suite and parses passing and failing counts.

`prepare_code_review` selects files likely to provide useful evidence, including schemas, policy files, entry points, and security-sensitive code. It also supplies a stack-specific checklist, with a Backend-as-a-Service perspective for systems such as Supabase and Firebase, plus an architectural red-team review. `score_build_readiness` combines the available evidence into the final score and top-risks list.

## Setup and configuration

Add the server to Claude Desktop or Claude Code using the `npx` command:

```json
{
  "mcpServers": {
    "obra-cto": {
      "command": "npx",
      "args": ["-y", "obra-cto"]
    }
  }
}
```

After connecting it, ask Claude to score the project’s build readiness with Obra CTO. For a source checkout, install dependencies, build the project, and configure the client to run `node /absolute/path/to/obra-cto/dist/index.js`.

## Tools and capabilities

The obra-cto MCP server exposes five tools:

- `scan_project` — collects project-level signals.
- `check_dependencies` — checks locked dependencies against OSV.
- `run_tests` — runs tests and reports pass and fail counts.
- `prepare_code_review` — selects review files and creates a stack-aware checklist.
- `score_build_readiness` — generates the score and ranked top-risks register.

The report can identify issues such as missing tests, access-control gaps, or database security configuration problems when the available project evidence supports those findings.

## Limitations and notes

The server is local-first, but dependency checking makes one network request to OSV with package names and versions. Source code is not sent in that request. Other processing takes place on the machine, and the server returns counts, presence indicators, a redacted secrets scan, and a score.

Running tests executes project code, so Claude asks for permission first. The tool is not described as a linter, a standalone security scanner, or a replacement for Claude’s code review. Its output is a technical-diligence readiness assessment based on the evidence it can inspect. The Apache-2.0 license applies to the project.

_Full upstream README: https://allmcps.com/mcp/obra-cto/readme_

