obyte-mcp 0.1.1 → 0.2.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.
Files changed (45) hide show
  1. package/README.md +241 -185
  2. package/dist/amounts.d.ts +43 -0
  3. package/dist/amounts.js +117 -0
  4. package/dist/amounts.js.map +1 -0
  5. package/dist/cliArgs.d.ts +8 -2
  6. package/dist/cliArgs.js +37 -4
  7. package/dist/cliArgs.js.map +1 -1
  8. package/dist/config.d.ts +4 -1
  9. package/dist/config.js +46 -17
  10. package/dist/config.js.map +1 -1
  11. package/dist/configSnippets.d.ts +19 -4
  12. package/dist/configSnippets.js +97 -48
  13. package/dist/configSnippets.js.map +1 -1
  14. package/dist/constants.d.ts +3 -1
  15. package/dist/constants.js +3 -1
  16. package/dist/constants.js.map +1 -1
  17. package/dist/envelope.d.ts +3 -3
  18. package/dist/envelope.js.map +1 -1
  19. package/dist/index.js +29 -8
  20. package/dist/index.js.map +1 -1
  21. package/dist/install.d.ts +10 -0
  22. package/dist/install.js +159 -0
  23. package/dist/install.js.map +1 -0
  24. package/dist/obyteClient.d.ts +10 -2
  25. package/dist/obyteClient.js +8 -0
  26. package/dist/obyteClient.js.map +1 -1
  27. package/dist/prompts.js +26 -18
  28. package/dist/prompts.js.map +1 -1
  29. package/dist/resources.js +10 -2
  30. package/dist/resources.js.map +1 -1
  31. package/dist/schemas.d.ts +121 -1
  32. package/dist/schemas.js +34 -17
  33. package/dist/schemas.js.map +1 -1
  34. package/dist/server.js +26 -4
  35. package/dist/server.js.map +1 -1
  36. package/dist/setup.js +9 -3
  37. package/dist/setup.js.map +1 -1
  38. package/dist/symbols.js +2 -1
  39. package/dist/symbols.js.map +1 -1
  40. package/dist/tools.d.ts +2 -2
  41. package/dist/tools.js +153 -77
  42. package/dist/tools.js.map +1 -1
  43. package/dist/types.d.ts +24 -9
  44. package/package.json +5 -2
  45. package/server.json +25 -13
package/server.json CHANGED
@@ -2,19 +2,19 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.taump/obyte-mcp",
4
4
  "title": "Obyte MCP",
5
- "description": "Local stdio MCP server for querying Obyte hubs, autonomous agents, balances, units, AA state, AA dry runs, and token symbols.",
5
+ "description": "Local stdio MCP server that serves both Obyte mainnet and testnet: hubs, autonomous agents, balances, units, AA state, AA dry runs, and token symbols. Each tool takes an optional network.",
6
6
  "websiteUrl": "https://github.com/Taump/obyte-mcp",
7
7
  "repository": {
8
8
  "url": "https://github.com/Taump/obyte-mcp",
9
9
  "source": "github"
10
10
  },
11
- "version": "0.1.1",
11
+ "version": "0.2.0",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "registryBaseUrl": "https://registry.npmjs.org",
16
16
  "identifier": "obyte-mcp",
17
- "version": "0.1.1",
17
+ "version": "0.2.0",
18
18
  "runtimeHint": "npx",
19
19
  "transport": {
20
20
  "type": "stdio"
@@ -23,41 +23,53 @@
23
23
  {
24
24
  "type": "named",
25
25
  "name": "--network",
26
- "description": "Obyte network to query.",
26
+ "description": "Default Obyte network used when a tool call omits the network argument. Both networks stay available regardless.",
27
27
  "default": "mainnet",
28
28
  "choices": ["mainnet", "testnet"]
29
29
  },
30
30
  {
31
31
  "type": "named",
32
- "name": "--hub",
33
- "description": "Custom Obyte hub URL. Must be https, except http localhost is allowed for development.",
32
+ "name": "--mainnet-hub",
33
+ "description": "Custom mainnet hub URL. Must be https, except http localhost is allowed for development.",
34
34
  "isRequired": false
35
35
  },
36
36
  {
37
37
  "type": "named",
38
- "name": "--token-registry",
39
- "description": "Token registry AA address. Mainnet has a default; testnet symbol lookups need an explicit registry when used.",
38
+ "name": "--testnet-hub",
39
+ "description": "Custom testnet hub URL. Must be https, except http localhost is allowed for development.",
40
+ "isRequired": false
41
+ },
42
+ {
43
+ "type": "named",
44
+ "name": "--testnet-token-registry",
45
+ "description": "Testnet token registry AA address. Testnet symbol lookups need an explicit registry when used.",
40
46
  "isRequired": false
41
47
  }
42
48
  ],
43
49
  "environmentVariables": [
44
50
  {
45
51
  "name": "OBYTE_NETWORK",
46
- "description": "Obyte network to query.",
52
+ "description": "Default Obyte network used when a tool call omits the network argument. Both networks stay available.",
47
53
  "default": "mainnet",
48
54
  "choices": ["mainnet", "testnet"],
49
55
  "isRequired": false,
50
56
  "isSecret": false
51
57
  },
52
58
  {
53
- "name": "OBYTE_HUB_ADDRESS",
54
- "description": "Custom Obyte hub URL. Must be https, except http localhost is allowed for development.",
59
+ "name": "OBYTE_MAINNET_HUB_ADDRESS",
60
+ "description": "Custom mainnet hub URL. Must be https, except http localhost is allowed for development.",
61
+ "isRequired": false,
62
+ "isSecret": false
63
+ },
64
+ {
65
+ "name": "OBYTE_TESTNET_HUB_ADDRESS",
66
+ "description": "Custom testnet hub URL. Must be https, except http localhost is allowed for development.",
55
67
  "isRequired": false,
56
68
  "isSecret": false
57
69
  },
58
70
  {
59
- "name": "OBYTE_TOKEN_REGISTRY_ADDRESS",
60
- "description": "Token registry AA address for symbol and decimals lookups.",
71
+ "name": "OBYTE_TESTNET_TOKEN_REGISTRY_ADDRESS",
72
+ "description": "Testnet token registry AA address for symbol and decimals lookups.",
61
73
  "isRequired": false,
62
74
  "isSecret": false
63
75
  }