@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 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
@@ -94,7 +94,7 @@ function formatJson(result) {
94
94
  return JSON.stringify(result, null, 2);
95
95
  }
96
96
 
97
- const VERSION = "0.0.2";
97
+ const VERSION = "0.0.3";
98
98
  const PROGRAM_NAME = "brennpunkt";
99
99
  const CONFIG_FILE_NAME = "brennpunkt.yaml";
100
100
  const COVERAGE_SEARCH_PATHS = [
@@ -131,26 +131,26 @@ npm install -g @redaksjon/brennpunkt
131
131
 
132
132
  #### 2. Configure MCP Client (One-Time Setup)
133
133
 
134
- For **Cursor**, add to your MCP configuration:
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": "brennpunkt-mcp"
140
+ "command": "npx",
141
+ "args": ["-y", "-p", "@redaksjon/brennpunkt", "brennpunkt-mcp"]
141
142
  }
142
143
  }
143
144
  }
144
145
  ```
145
146
 
146
- For **Claude Desktop**, add to `claude_desktop_config.json`:
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": "npx",
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**: Run `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.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redaksjon/brennpunkt",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Coverage priority analyzer - identify where to focus testing efforts",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",