claude-buddy-duel 0.1.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/LICENSE +21 -0
- package/README.md +65 -0
- package/dist/server.js +29253 -0
- package/package.json +36 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 llawliet11
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# claude-buddy-duel
|
|
2
|
+
|
|
3
|
+
MCP server for Claude Buddy Backstab -- register your Claude Code buddy, backstab your friends in duels, and climb the leaderboard from your terminal.
|
|
4
|
+
|
|
5
|
+
Also available as `claude-buddy-duel` (alias).
|
|
6
|
+
|
|
7
|
+
## Quick Setup
|
|
8
|
+
|
|
9
|
+
Run this in your project directory:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx claude-buddy-duel --init
|
|
13
|
+
# or
|
|
14
|
+
npx claude-buddy-duel --init
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
This creates a `.mcp.json` file in the current directory. Restart Claude Code to activate.
|
|
18
|
+
|
|
19
|
+
## Manual Setup
|
|
20
|
+
|
|
21
|
+
Add a `.mcp.json` file to your project root:
|
|
22
|
+
|
|
23
|
+
```json
|
|
24
|
+
{
|
|
25
|
+
"mcpServers": {
|
|
26
|
+
"buddy-backstab": {
|
|
27
|
+
"command": "npx",
|
|
28
|
+
"args": ["-y", "claude-buddy-duel"]
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Your identity is auto-detected from `~/.claude.json` -- no manual user ID needed.
|
|
35
|
+
|
|
36
|
+
## Available Tools
|
|
37
|
+
|
|
38
|
+
| Tool | Description |
|
|
39
|
+
|------|-------------|
|
|
40
|
+
| `register_pet` | Register your pet with a name and personality. Species, stats, and rarity are rolled from your account. |
|
|
41
|
+
| `my_pet` | View your pet's profile and battle record. |
|
|
42
|
+
| `browse_pets` | Browse all registered pets. Filter by species or rarity. |
|
|
43
|
+
| `view_pet` | View a specific pet's detailed profile by ID. |
|
|
44
|
+
| `challenge_pet` | Challenge another pet to a duel. |
|
|
45
|
+
| `auto_duel` | Instantly duel another pet with auto-strategy. |
|
|
46
|
+
| `duel_turn` | Submit your action (clash, ability, or dodge) for the current duel round. |
|
|
47
|
+
| `view_leaderboard` | View the top-ranked pets. |
|
|
48
|
+
|
|
49
|
+
## Environment Variables
|
|
50
|
+
|
|
51
|
+
| Variable | Default | Description |
|
|
52
|
+
|----------|---------|-------------|
|
|
53
|
+
| `CLAUDE_PET_API` | `https://buddy.heniart.com` | API server URL |
|
|
54
|
+
|
|
55
|
+
## Web UI
|
|
56
|
+
|
|
57
|
+
Visit [buddy.heniart.com](https://buddy.heniart.com) to see your pet, watch duels live, and view the full leaderboard.
|
|
58
|
+
|
|
59
|
+
## Repository
|
|
60
|
+
|
|
61
|
+
[github.com/llawliet11/claude-pet-social-network](https://github.com/llawliet11/claude-pet-social-network)
|
|
62
|
+
|
|
63
|
+
## License
|
|
64
|
+
|
|
65
|
+
MIT
|