@toleno/mcp 1.0.3 → 1.0.5
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/package.json +5 -2
- package/setup.js +16 -0
- package/tools/info.js +10 -10
- package/tools/wallet.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toleno/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
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",
|
|
@@ -40,5 +40,8 @@
|
|
|
40
40
|
"type": "git",
|
|
41
41
|
"url": "https://github.com/tolenonetwork/toleno-mcp"
|
|
42
42
|
},
|
|
43
|
-
"homepage": "https://tolenocoin.com"
|
|
43
|
+
"homepage": "https://tolenocoin.com",
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
}
|
|
44
47
|
}
|
package/setup.js
CHANGED
|
@@ -18,6 +18,22 @@ function getConfigPath() {
|
|
|
18
18
|
const home = process.env.HOME || process.env.USERPROFILE || '';
|
|
19
19
|
|
|
20
20
|
if (platform === 'win32') {
|
|
21
|
+
// 1) Windows Store (MSIX) kurulumu — önce bunu kontrol et
|
|
22
|
+
const localAppData = process.env.LOCALAPPDATA || path.join(home, 'AppData', 'Local');
|
|
23
|
+
const packagesDir = path.join(localAppData, 'Packages');
|
|
24
|
+
if (fs.existsSync(packagesDir)) {
|
|
25
|
+
try {
|
|
26
|
+
const entries = fs.readdirSync(packagesDir);
|
|
27
|
+
const claudePackage = entries.find(e => e.startsWith('Claude_'));
|
|
28
|
+
if (claudePackage) {
|
|
29
|
+
const storePath = path.join(packagesDir, claudePackage, 'LocalCache', 'Roaming', 'Claude', 'claude_desktop_config.json');
|
|
30
|
+
if (fs.existsSync(storePath) || !fs.existsSync(path.join(home, 'AppData', 'Roaming', 'Claude', 'claude_desktop_config.json'))) {
|
|
31
|
+
return storePath;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
} catch {}
|
|
35
|
+
}
|
|
36
|
+
// 2) Klasik kurulum (Program Files / EXE installer)
|
|
21
37
|
const appData = process.env.APPDATA || path.join(home, 'AppData', 'Roaming');
|
|
22
38
|
return path.join(appData, 'Claude', 'claude_desktop_config.json');
|
|
23
39
|
}
|
package/tools/info.js
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
const PROJECT_INFO = {
|
|
12
12
|
name: 'Toleno Network',
|
|
13
13
|
symbol: 'TOLENO',
|
|
14
|
-
type: '
|
|
15
|
-
blockchain: '
|
|
14
|
+
type: 'SPL Token',
|
|
15
|
+
blockchain: 'Solana',
|
|
16
16
|
contract_address: 'Not yet deployed — will be published at mainnet launch',
|
|
17
17
|
website: 'https://tolenocoin.com',
|
|
18
18
|
whitepaper: 'https://tolenocoin.com/whitepaper',
|
|
@@ -73,8 +73,8 @@ const ROADMAP = [
|
|
|
73
73
|
{
|
|
74
74
|
phase: 'Phase 3 — Token Launch (Coming Soon)',
|
|
75
75
|
items: [
|
|
76
|
-
'
|
|
77
|
-
'DEX listing (
|
|
76
|
+
'Token deployment on Solana',
|
|
77
|
+
'DEX listing (Raydium / Jupiter)',
|
|
78
78
|
'Token claim and withdrawal activation',
|
|
79
79
|
'CoinGecko and CoinMarketCap applications'
|
|
80
80
|
]
|
|
@@ -85,7 +85,7 @@ const ROADMAP = [
|
|
|
85
85
|
'CEX (centralized exchange) listing negotiations',
|
|
86
86
|
'NFT integration',
|
|
87
87
|
'DAO governance mechanism',
|
|
88
|
-
'Cross-chain bridge (
|
|
88
|
+
'Cross-chain bridge (Solana, Ethereum)'
|
|
89
89
|
]
|
|
90
90
|
}
|
|
91
91
|
];
|
|
@@ -111,8 +111,8 @@ const SECURITY_INFO = {
|
|
|
111
111
|
'NPM package: @toleno/mcp is open source and auditable by anyone'
|
|
112
112
|
],
|
|
113
113
|
upcoming_milestones: [
|
|
114
|
-
'
|
|
115
|
-
'DEX listing on
|
|
114
|
+
'Solana mainnet token deployment is actively being prepared',
|
|
115
|
+
'DEX listing on Raydium/Jupiter is planned as part of the token launch phase',
|
|
116
116
|
'The team is committed to delivering every milestone on the roadmap — early miners will be rewarded the most'
|
|
117
117
|
]
|
|
118
118
|
};
|
|
@@ -128,11 +128,11 @@ const FAQ = [
|
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
q: 'When can I withdraw my tokens?',
|
|
131
|
-
a: 'Tokens are currently being accumulated in the app. Withdrawals will be enabled after the
|
|
131
|
+
a: 'Tokens are currently being accumulated in the app. Withdrawals will be enabled after the token is deployed on Solana and the DEX listing is completed.'
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
q: 'Which blockchain network is it on?',
|
|
135
|
-
a: 'TOLENO token will be deployed on
|
|
135
|
+
a: 'TOLENO token will be deployed on Solana as an SPL token. Cross-chain bridges to other networks are planned for the future.'
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
q: 'Is it free?',
|
|
@@ -175,7 +175,7 @@ const definitions = [
|
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
name: 'get_roadmap',
|
|
178
|
-
description: 'Get the Toleno Network development roadmap: completed phases, current progress, and upcoming milestones including
|
|
178
|
+
description: 'Get the Toleno Network development roadmap: completed phases, current progress, and upcoming milestones including Solana deployment and DEX listing. This is a public tool — no API key required.',
|
|
179
179
|
inputSchema: {
|
|
180
180
|
type: 'object',
|
|
181
181
|
properties: {},
|
package/tools/wallet.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const definitions = [
|
|
2
2
|
{
|
|
3
3
|
name: 'get_wallet_info',
|
|
4
|
-
description: "Get comprehensive wallet information for the authenticated Toleno user. Returns the available (withdrawable) token balance, locked mining balance, total tokens ever mined, the connected wallet address and preferred network (
|
|
4
|
+
description: "Get comprehensive wallet information for the authenticated Toleno user. Returns the available (withdrawable) token balance, locked mining balance, total tokens ever mined, the connected wallet address and preferred network (Solana), withdrawal statistics (today's total, pending count, completed count), and the minimum/maximum withdrawal amounts.",
|
|
5
5
|
inputSchema: { type: 'object', properties: {}, required: [] }
|
|
6
6
|
}
|
|
7
7
|
];
|