@toleno/mcp 1.0.1 → 1.0.3

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 CHANGED
@@ -105,6 +105,7 @@ Add `.mcp.json` to your project root:
105
105
  | `get_profile` | Your balance, mining power, streak, level | Yes |
106
106
  | `get_mining_status` | Active session, time remaining, tokens earned | Yes |
107
107
  | `start_mining` | Start a new 24-hour mining session | Yes |
108
+ | `claim_mining` | Claim rewards after a completed session | Yes |
108
109
  | `get_wallet_info` | Wallet address, withdrawable balance, limits | Yes |
109
110
  | `get_referral_info` | Referral code, team size, active referrals | Yes |
110
111
 
@@ -153,7 +154,7 @@ Claude: Your referral stats:
153
154
  Your key is stored locally in the Claude config file — never sent to Claude's servers. Revoke it anytime from the Toleno app.
154
155
 
155
156
  **Q: Can Claude do anything harmful to my account?**
156
- No. Claude can only read data and start mining sessions. It cannot claim rewards, change your wallet address, withdraw tokens, or delete your account. To claim rewards, open the Toleno app.
157
+ No. Claude can only read data, start mining sessions, and claim completed rewards. It cannot change your wallet address, withdraw tokens, or delete your account.
157
158
 
158
159
  **Q: The tools don't appear in Claude Desktop.**
159
160
  Fully quit and restart Claude Desktop after setup. Look for the 🔨 hammer icon in the chat toolbar.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toleno/mcp",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Toleno Network MCP Server — Manage your Toleno account with Claude AI.",
5
5
  "mcpName": "io.github.tolenonetwork/toleno-mcp",
6
6
  "main": "index.js",
package/tools/mining.js CHANGED
@@ -6,7 +6,12 @@ const definitions = [
6
6
  },
7
7
  {
8
8
  name: 'start_mining',
9
- description: 'Start a new 24-hour mining session for the authenticated Toleno user. Only one session can be active at a time. If a session is already active or there are unclaimed rewards, the API will return an error. Returns session start time, end time, and the total tokens that will be earned.',
9
+ description: 'Start a new 24-hour mining session for the authenticated Toleno user. Can only be called when no active session exists. Returns the session details including start/end times and expected token earnings.',
10
+ inputSchema: { type: 'object', properties: {}, required: [] }
11
+ },
12
+ {
13
+ name: 'claim_mining',
14
+ description: 'Claim mining rewards after a completed 24-hour session. Can only be called when a session has ended and rewards are ready to collect. Returns the amount of tokens claimed and the new balance.',
10
15
  inputSchema: { type: 'object', properties: {}, required: [] }
11
16
  },
12
17
  ];
@@ -18,6 +23,9 @@ const handlers = {
18
23
  start_mining: async (client, _args) => {
19
24
  return await client.post('/mining/start', {});
20
25
  },
26
+ claim_mining: async (client, _args) => {
27
+ return await client.post('/mining/claim', {});
28
+ },
21
29
  };
22
30
 
23
31
  module.exports = { definitions, handlers };