@@ -19,15 +19,15 @@ Parse your codebase, build a dependency graph, compute architectural metrics, an
1919### Claude Code (one-liner)
2020
2121``` bash
22- claude mcp add -s user -t stdio codebase-intelligence -- npx -y codebase-intelligence@latest . --mcp
22+ claude mcp add -s user -t stdio codebase-intelligence -- npx -y codebase-intelligence@latest .
2323```
2424
2525Done. Available in all projects. Verify with ` /mcp ` inside Claude Code.
2626
2727To scope to a single project instead:
2828
2929``` bash
30- claude mcp add -s project -t stdio codebase-intelligence -- npx -y codebase-intelligence@latest ./src --mcp
30+ claude mcp add -s project -t stdio codebase-intelligence -- npx -y codebase-intelligence@latest ./src
3131```
3232
3333## Table of Contents
@@ -90,13 +90,6 @@ npx codebase-intelligence ./src
9090
9191## MCP Integration
9292
93- ### Claude Code (plugin)
94-
95- ``` bash
96- git clone https://github.com/bntvllnt/claude-plugins.git
97- claude --plugin-dir ./claude-plugins/plugins/codebase-intelligence
98- ```
99-
10093### Claude Code (manual)
10194
10295Add to ` .mcp.json ` in your project root:
@@ -107,7 +100,7 @@ Add to `.mcp.json` in your project root:
107100 "codebase-intelligence" : {
108101 "type" : " stdio" ,
109102 "command" : " npx" ,
110- "args" : [" -y" , " codebase-intelligence@latest" , " ./src" , " --mcp " ],
103+ "args" : [" -y" , " codebase-intelligence@latest" , " ./src" ],
111104 "env" : {}
112105 }
113106 }
@@ -123,7 +116,7 @@ Add to `.cursor/mcp.json` or `.vscode/mcp.json`:
123116 "servers" : {
124117 "codebase-intelligence" : {
125118 "command" : " npx" ,
126- "args" : [" -y" , " codebase-intelligence@latest" , " ./src" , " --mcp " ]
119+ "args" : [" -y" , " codebase-intelligence@latest" , " ./src" ]
127120 }
128121 }
129122}
@@ -208,19 +201,14 @@ Publishing is automated and **only happens on `v*` tags**.
208201- ` CI ` workflow runs on every PR and push to ` main ` :
209202 - lint → typecheck → build → test
210203
211- ### Create a release (auto bump + PR + auto tag)
212-
213- 1 . Open GitHub Actions → ` Release PR ` .
214- 2 . Click ** Run workflow** on ` main ` .
215- 3 . Select bump type: ` patch ` | ` minor ` | ` major ` .
216- 4 . Merge the generated release PR.
204+ ### Create a release
217205
218- ` Release PR ` will:
219- - run lint → typecheck → build → test
220- - bump ` package.json ` version
221- - open a release PR assigned to the workflow runner
206+ 1 . Bump ` package.json ` version.
207+ 2 . Commit: ` chore(release): bump to vX.Y.Z `
208+ 3 . Tag: ` git tag vX.Y.Z `
209+ 4 . Push: ` git push origin main --tags `
222210
223- After merge, ` Tag Release ` creates and pushes ` vX.Y.Z ` , which triggers ` Publish to npm ` .
211+ The ` v* ` tag triggers the ` CI ` workflow's ** publish ** job , which runs ` npm publish --access public --provenance ` .
224212
225213## Contributing
226214
0 commit comments