@copyrun/mcp 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -2
  2. package/dist/index.js +1032 -2044
  3. package/package.json +9 -11
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @copyrun/mcp
2
2
 
3
- An [MCP](https://modelcontextprotocol.io) server for [copyrun](https://copyrun.ai). It lets your coding agent ask you before a risky step (`ask_human`), search runs that solved a similar task, read them, and share the current session.
3
+ An [MCP](https://modelcontextprotocol.io) server for [copyrun](https://copyrun.ai): who understands your code, now that agents write it. Your coding agent can ask who understands a folder before changing it (`who_understands`) and walk you through what agents did there (`walk_through`). It can also ask you before a risky step (`ask_human`), search runs that solved a similar task, and share the current session.
4
4
 
5
5
  ## Setup
6
6
 
@@ -25,6 +25,8 @@ Requires Node.js 20 or later.
25
25
 
26
26
  | Tool | Description |
27
27
  | --- | --- |
28
+ | `who_understands` | Who understands a file or folder in this repository right now, from the agent sessions on this machine and the person's commits (`copyrun who --json`). Local server only. |
29
+ | `walk_through` | A walkthrough of a folder from the agent sessions that wrote it, and three questions for the person (`copyrun learn --json`). Local server only. |
28
30
  | `ask_human` | Pause before a risky step (a migration, auth, CI, secrets, a dependency, a delete) and ask the person: Allow or Stop on copyrun.ai, with an optional reason. Waits up to 50 seconds. Requires `copyrun login` or `COPYRUN_TOKEN`. |
29
31
  | `check_decision` | Check an ask that was still pending; don't proceed until it's allowed. |
30
32
  | `search_runs` | Search runs by task, with clone counts and success rates. |
@@ -36,7 +38,6 @@ Requires Node.js 20 or later.
36
38
  | `my_runs` | Runs shared from this machine. |
37
39
  | `list_sessions` | Recent agent sessions on this machine. |
38
40
  | `share_session` | Share a session through the copyrun CLI. Dry run by default. |
39
- | `list_packs`, `get_pack` | Synthetic practice datasets with answer keys. |
40
41
 
41
42
  Runs and recipes are returned to the agent as reference material, not instructions. A denied ask's reason is the person's decision, quoted as data. Asks made through MCP reach the person's copyrun inbox (and Slack or their phone when pages are on); on the local server the person's answer to a personal ask also goes on their copy's record on this machine (`~/.copyrun/copy/strands.jsonl`, the same record the ask hook keeps), and the copy's prediction is shown to them as a suggestion. Team asks and the hosted server write nothing.
42
43