@nextnext/mcp-server 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 +73 -0
- package/dist/index.js +109254 -0
- package/package.json +72 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Eliza Labs
|
|
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,73 @@
|
|
|
1
|
+
# @nextnext/mcp-server
|
|
2
|
+
|
|
3
|
+
NextNext MCP Server - A sovereign shopping agent with crypto wallet integration.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
Add to your Claude Desktop config (`~/.config/Claude/claude_desktop_config.json`):
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"mcpServers": {
|
|
12
|
+
"nextnext": {
|
|
13
|
+
"command": "npx",
|
|
14
|
+
"args": ["-y", "@nextnext/mcp-server"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Restart Claude Desktop and you're ready to shop!
|
|
21
|
+
|
|
22
|
+
## Features
|
|
23
|
+
|
|
24
|
+
- **Sovereign Identity**: Create and manage your own crypto wallet
|
|
25
|
+
- **Shopping Intents**: Broadcast what you want to buy to the seller network
|
|
26
|
+
- **Proposals**: Receive and evaluate offers from sellers
|
|
27
|
+
- **Crypto Payments**: Pay sellers directly in USDC on Base
|
|
28
|
+
|
|
29
|
+
## Available Tools
|
|
30
|
+
|
|
31
|
+
| Tool | Description |
|
|
32
|
+
|------|-------------|
|
|
33
|
+
| `create_identity` | Create a new shopping identity with wallet |
|
|
34
|
+
| `authenticate` | Link existing identity using backup key |
|
|
35
|
+
| `get_identity` | Check current identity and wallet status |
|
|
36
|
+
| `post_intent` | Broadcast shopping request to sellers |
|
|
37
|
+
| `get_proposals` | Fetch seller proposals for an intent |
|
|
38
|
+
| `create_burner_wallet` | Create a new payment wallet |
|
|
39
|
+
| `get_burner_balance` | Check wallet USDC/ETH balance |
|
|
40
|
+
| `list_burner_wallets` | List all wallets |
|
|
41
|
+
| `pay_seller` | Execute USDC payment to seller |
|
|
42
|
+
|
|
43
|
+
## Example Usage
|
|
44
|
+
|
|
45
|
+
After adding to Claude Desktop, try:
|
|
46
|
+
|
|
47
|
+
> "I want to buy a laptop sleeve for my 14-inch MacBook, budget around $50"
|
|
48
|
+
|
|
49
|
+
Claude will:
|
|
50
|
+
1. Create an identity for you (first time)
|
|
51
|
+
2. Post your shopping intent to the network
|
|
52
|
+
3. Wait for seller proposals
|
|
53
|
+
4. Present options for you to choose
|
|
54
|
+
5. Execute payment when you decide
|
|
55
|
+
|
|
56
|
+
## Backup Key
|
|
57
|
+
|
|
58
|
+
When you first create an identity, you'll receive an encrypted backup key (`enc1.xxx...`). **Save this key!** You'll need it to restore your identity if the session is lost.
|
|
59
|
+
|
|
60
|
+
## Network
|
|
61
|
+
|
|
62
|
+
- **Chain**: Base Sepolia (testnet)
|
|
63
|
+
- **Currency**: USDC
|
|
64
|
+
- **Protocol**: Nostr for intent broadcasting
|
|
65
|
+
|
|
66
|
+
## Links
|
|
67
|
+
|
|
68
|
+
- Website: https://nextnext.dev
|
|
69
|
+
- GitHub: https://github.com/nextnext-dev/network-of-next
|
|
70
|
+
|
|
71
|
+
## License
|
|
72
|
+
|
|
73
|
+
MIT
|