@smeltr/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/README.md ADDED
@@ -0,0 +1,80 @@
1
+ # @smeltr/mcp-server
2
+
3
+ [Model Context Protocol](https://modelcontextprotocol.io) server for **Solana Token-2022**
4
+ token configuration. Exposes Smeltr's real validation engine to AI assistants —
5
+ same logic as [smeltr.org/deploy](https://smeltr.org/deploy).
6
+
7
+ **Read-only.** No private keys, no RPC, no on-chain actions.
8
+
9
+ Documentation: **https://smeltr.org/docs/mcp**
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ npx -y @smeltr/mcp-server
15
+ ```
16
+
17
+ ## Tools
18
+
19
+ | Tool | Purpose |
20
+ |------|---------|
21
+ | `list_modules` | Supported modules (Transfer Fee, Non-Transferable, Permanent Delegate) with high-impact flags |
22
+ | `describe_module` | Parameters, ranges, authority fields, security notes |
23
+ | `validate_config` | Real compatibility engine + Zod schema validation |
24
+ | `estimate_cost` | Platform fee (0.03 SOL) + rent estimate |
25
+
26
+ ## Claude Desktop
27
+
28
+ Add to `claude_desktop_config.json`:
29
+
30
+ ```json
31
+ {
32
+ "mcpServers": {
33
+ "smeltr-token2022": {
34
+ "command": "npx",
35
+ "args": ["-y", "@smeltr/mcp-server"]
36
+ }
37
+ }
38
+ }
39
+ ```
40
+
41
+ ## Cursor
42
+
43
+ Add to `.cursor/mcp.json` or Cursor Settings → MCP:
44
+
45
+ ```json
46
+ {
47
+ "mcpServers": {
48
+ "smeltr-token2022": {
49
+ "command": "npx",
50
+ "args": ["-y", "@smeltr/mcp-server"]
51
+ }
52
+ }
53
+ }
54
+ ```
55
+
56
+ ## From source (monorepo)
57
+
58
+ ```bash
59
+ git clone https://github.com/Space-Raven/Smeltr.git
60
+ cd Smeltr
61
+ npm ci --legacy-peer-deps
62
+ npx tsx packages/mcp-server/src/server.ts
63
+ ```
64
+
65
+ ## Example prompt
66
+
67
+ > Use Smeltr to validate a Token-2022 config with 250 basis-point transfer fee
68
+ > and check compatibility with non-transferable.
69
+
70
+ ## Tests
71
+
72
+ From the repo root:
73
+
74
+ ```bash
75
+ npm run test:mcp
76
+ ```
77
+
78
+ ## License
79
+
80
+ MIT — Smeltr Technologies LLC
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }