@razroo/code-validation-mcp-client 1.2.0 → 1.3.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.
- package/README.md +5 -3
- package/dist/index.js +1 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,7 +44,9 @@ npm link
|
|
|
44
44
|
|
|
45
45
|
You need these from Razroo:
|
|
46
46
|
- **API Key**: `rzr_abc123...` (Razroo generates this for you)
|
|
47
|
-
- **API URL**:
|
|
47
|
+
- **API URL**:
|
|
48
|
+
- Production: `https://api.razroo.com/v1`
|
|
49
|
+
- Development: `https://api-dev.razroo.com/v1`
|
|
48
50
|
|
|
49
51
|
### 2. Configure Claude Code
|
|
50
52
|
|
|
@@ -57,7 +59,7 @@ Add to `~/.claude/claude_desktop_config.json`:
|
|
|
57
59
|
"command": "razroo-mcp-client",
|
|
58
60
|
"env": {
|
|
59
61
|
"RAZROO_API_KEY": "rzr_your_api_key_here",
|
|
60
|
-
"RAZROO_API_URL": "https://
|
|
62
|
+
"RAZROO_API_URL": "https://api.razroo.com/v1"
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
}
|
|
@@ -74,7 +76,7 @@ Add to `~/.claude/claude_desktop_config.json`:
|
|
|
74
76
|
"args": ["/absolute/path/to/code-validation-client/dist/index.js"],
|
|
75
77
|
"env": {
|
|
76
78
|
"RAZROO_API_KEY": "rzr_your_api_key_here",
|
|
77
|
-
"RAZROO_API_URL": "https://
|
|
79
|
+
"RAZROO_API_URL": "https://api.razroo.com/v1"
|
|
78
80
|
}
|
|
79
81
|
}
|
|
80
82
|
}
|
package/dist/index.js
CHANGED
|
@@ -9,15 +9,11 @@ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
|
|
|
9
9
|
import { CallToolRequestSchema, ListToolsRequestSchema, } from '@modelcontextprotocol/sdk/types.js';
|
|
10
10
|
// Get config from environment
|
|
11
11
|
const API_KEY = process.env.RAZROO_API_KEY;
|
|
12
|
-
const API_URL = process.env.RAZROO_API_URL;
|
|
12
|
+
const API_URL = process.env.RAZROO_API_URL || 'https://mcp-api.razroo.com/v1';
|
|
13
13
|
if (!API_KEY) {
|
|
14
14
|
console.error('Error: RAZROO_API_KEY environment variable is required');
|
|
15
15
|
process.exit(1);
|
|
16
16
|
}
|
|
17
|
-
if (!API_URL) {
|
|
18
|
-
console.error('Error: RAZROO_API_URL environment variable is required');
|
|
19
|
-
process.exit(1);
|
|
20
|
-
}
|
|
21
17
|
// Tool definitions
|
|
22
18
|
const TOOLS = [
|
|
23
19
|
{
|