@brainervirus/workit-mcp 6.0.0 → 7.0.0

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 (4) hide show
  1. package/README.md +12 -10
  2. package/dist/index.js +1590 -942
  3. package/package.json +2 -2
  4. package/src/server.ts +15 -44
package/README.md CHANGED
@@ -1,18 +1,20 @@
1
1
  # @brainervirus/workit-mcp
2
2
 
3
3
  [![CI](https://github.com/BrainerVirus/workit/actions/workflows/ci.yml/badge.svg)](https://github.com/BrainerVirus/workit/actions/workflows/ci.yml)
4
- [![license: MIT](https://img.shields.io/badge/license-MIT-green.svg)](../../LICENSE)
4
+ [![license: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/BrainerVirus/workit/blob/main/LICENSE)
5
5
 
6
- Shared low-level MCP transport for the seven workit operation families (`workit_task`, `workit_policy`, `workit_evidence`, `workit_finding`, `workit_decision`, `workit_worker`, `workit_state`); it exposes the families present. Host wiring stays adapter-owned: Cursor and Codex register this server and keep their native surfaces.
7
-
8
- ## Requirements
9
-
10
- - **Node.js ≥ 24**
11
-
12
- ## Usage
6
+ Shared MCP stdio transport for [Workit](https://github.com/BrainerVirus/workit): the seven task
7
+ families (`workit_task`, `workit_policy`, `workit_evidence`,
8
+ `workit_finding`, `workit_decision`, `workit_worker`, `workit_state`) as
9
+ flat tools (one depth-1 object: `action` plus primitive fields, e.g.
10
+ `workit_policy {action:"assess", riskTier:"normal", behaviorChange:true}`), and read-only contexts (`git`, `pr`, `youtrack`, `github_issue`,
11
+ `gitlab_issue`, `changelog`, `release`, `affected`) as
12
+ `workit://context/{kind}` resources. Requires Node.js 24+.
13
13
 
14
14
  ```bash
15
- workit-mcp # stdio MCP server: tools plus workit://context/{kind} resources
15
+ workit-mcp
16
16
  ```
17
17
 
18
- Read-only contexts (`git`, `pr`, `youtrack`, `github_issue`, `gitlab_issue`, `changelog`, `release`, `affected`) are exposed as resources and need no approval. Mutations are unavailable over caller-unattested MCP by design — they run through each host's native surface or the CLI (`node_modules/.bin/workit <family> <action> --json`).
18
+ Cursor and Codex register it; Claude Code does not by default (add it to your
19
+ own settings to opt in). Mutations are unavailable to unattested callers; they
20
+ run through the `workit` CLI.