# Selvedge

**Change tracking for AI-era codebases — captures the *why* behind every change.**

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add masondelan/selvedge

# Browse available tools
npx -y @smithery/cli@latest tool list masondelan/selvedge

# Get full schema for a tool
npx -y @smithery/cli@latest tool get masondelan/selvedge log_change

# Call a tool
npx -y @smithery/cli@latest tool call masondelan/selvedge log_change '{}'
```

## Tools (6)

- `log_change` — Record a change to a codebase entity.
- `diff` — Get change history for a codebase entity, newest first.
- `blame` — Most recent change to an entity — what changed, when, who, why.
- `history` — Filtered change history across all entities, newest first.
- `changeset` — All events that share a `changeset_id`, oldest first.
- `search` — Full-text search across entity paths, diffs, reasoning, and agents.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get masondelan/selvedge <tool-name>
```
