leadcode 0.1.1 → 0.1.2
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 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,37 +33,23 @@ Your Project ──→ LeadCode ──→ CLAUDE.md ──→ Claude Code knows
|
|
|
33
33
|
|
|
34
34
|
## Installation
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
npm install -g leadcode
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Configure with Claude Code
|
|
36
|
+
LeadCode is an MCP server — it's used through Claude Code, not as a standalone CLI.
|
|
41
37
|
|
|
42
|
-
Add LeadCode to your MCP config.
|
|
43
|
-
|
|
44
|
-
```json
|
|
45
|
-
{
|
|
46
|
-
"mcpServers": {
|
|
47
|
-
"leadcode": {
|
|
48
|
-
"command": "leadcode"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Or if installed locally in a project:
|
|
38
|
+
Add LeadCode to your MCP config. Either globally in `~/.claude/claude_code_config.json`, or per-project in `.mcp.json`:
|
|
55
39
|
|
|
56
40
|
```json
|
|
57
41
|
{
|
|
58
42
|
"mcpServers": {
|
|
59
43
|
"leadcode": {
|
|
60
44
|
"command": "npx",
|
|
61
|
-
"args": ["leadcode"]
|
|
45
|
+
"args": ["-y", "leadcode"]
|
|
62
46
|
}
|
|
63
47
|
}
|
|
64
48
|
}
|
|
65
49
|
```
|
|
66
50
|
|
|
51
|
+
Then restart Claude Code. LeadCode's tools will be available automatically.
|
|
52
|
+
|
|
67
53
|
## Usage
|
|
68
54
|
|
|
69
55
|
### Quick Start (Recommended)
|