Metadata-Version: 2.4
Name: scro
Version: 0.2.0
Summary: CLI and MCP server for scro, which gates what AI coding agents may do with the credentials they use.
License-Expression: Apache-2.0
License-File: LICENSE
Description-Content-Type: text/markdown

# scro

scro gates what AI coding agents may do with the credentials they use.
Its proxy process holds the credentials and attaches one only to a request
that its allowlist and the gate process allow. The gate process classifies
each request into actions and answers allow, deny, or asks the person to
approve with a passkey.

This package is the `scro` CLI and MCP server for the agent machine. It
reaches the gate process only through the proxy process.

## Install

```sh
npm install -g @scro/cli     # or: uv tool install scro
```

Or run it once with `npx @scro/cli` or `uvx scro`.

The 0.1.0 release lacks `scro mint-request`, `scro run` and
`scro doctor`; `scro --version` prints yours.

To connect an agent machine, follow
https://scro.dsfaccini.com/docs/connect/agent-machine/.

Binaries ship for macOS 13 or later on arm64 and x64, and for Linux with
glibc 2.17 or later on x64 and arm64.

## Use

```sh
scro whoami                            # agent id, policy version, approval site
scro can pr.merge acme/web#12          # dry run: exit 0 allow, 2 ask, 3 deny
scro wait apr_x1y2z3                   # wait for the person's decision
scro propose edits.json --reason "…"   # nothing changes until the person signs
scro mcp                               # the same operations as MCP tools over stdio
```
