@redaksjon/brennpunkt 0.0.2 → 0.0.3
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.
- package/README.md +13 -0
- package/dist/main.js +1 -1
- package/guide/ai-integration.md +5 -5
- package/guide/index.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -484,6 +484,19 @@ For deeper integration, Brennpunkt runs as an MCP (Model Context Protocol) serve
|
|
|
484
484
|
|
|
485
485
|
**One-Time Setup (works for all projects):**
|
|
486
486
|
|
|
487
|
+
```json
|
|
488
|
+
{
|
|
489
|
+
"mcpServers": {
|
|
490
|
+
"brennpunkt": {
|
|
491
|
+
"command": "npx",
|
|
492
|
+
"args": ["-y", "-p", "@redaksjon/brennpunkt", "brennpunkt-mcp"]
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
Or if installed globally (`npm install -g @redaksjon/brennpunkt`):
|
|
499
|
+
|
|
487
500
|
```json
|
|
488
501
|
{
|
|
489
502
|
"mcpServers": {
|
package/dist/main.js
CHANGED
package/guide/ai-integration.md
CHANGED
|
@@ -131,26 +131,26 @@ npm install -g @redaksjon/brennpunkt
|
|
|
131
131
|
|
|
132
132
|
#### 2. Configure MCP Client (One-Time Setup)
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
Add to your MCP configuration (**Cursor** or **Claude Desktop**):
|
|
135
135
|
|
|
136
136
|
```json
|
|
137
137
|
{
|
|
138
138
|
"mcpServers": {
|
|
139
139
|
"brennpunkt": {
|
|
140
|
-
"command": "
|
|
140
|
+
"command": "npx",
|
|
141
|
+
"args": ["-y", "-p", "@redaksjon/brennpunkt", "brennpunkt-mcp"]
|
|
141
142
|
}
|
|
142
143
|
}
|
|
143
144
|
}
|
|
144
145
|
```
|
|
145
146
|
|
|
146
|
-
|
|
147
|
+
Or if installed globally (`npm install -g @redaksjon/brennpunkt`):
|
|
147
148
|
|
|
148
149
|
```json
|
|
149
150
|
{
|
|
150
151
|
"mcpServers": {
|
|
151
152
|
"brennpunkt": {
|
|
152
|
-
"command": "
|
|
153
|
-
"args": ["@redaksjon/brennpunkt-mcp"]
|
|
153
|
+
"command": "brennpunkt-mcp"
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
package/guide/index.md
CHANGED
|
@@ -100,7 +100,7 @@ If you're an AI helping someone improve test coverage:
|
|
|
100
100
|
4. **Use JSON output**: Parse the structured data for precise guidance
|
|
101
101
|
5. **Respect project config**: Projects may have custom `brennpunkt.yaml` with different weights
|
|
102
102
|
|
|
103
|
-
> **MCP Server**:
|
|
103
|
+
> **MCP Server**: Use `npx -p @redaksjon/brennpunkt brennpunkt-mcp` to start an MCP server that allows AI tools to query coverage data directly without running tests. See [AI Integration](./ai-integration.md) for details.
|
|
104
104
|
|
|
105
105
|
### Cursor Rule (Recommended)
|
|
106
106
|
|