@toleno/mcp 1.0.4 → 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 +47 -47
- package/setup.js +16 -0
- package/tools/info.js +247 -247
package/package.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@toleno/mcp",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Toleno Network MCP Server — Manage your Toleno account with Claude AI.",
|
|
5
|
-
"mcpName": "io.github.tolenonetwork/toleno-mcp",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"toleno-mcp": "./index.js"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"index.js",
|
|
12
|
-
"setup.js",
|
|
13
|
-
"client.js",
|
|
14
|
-
"client-public.js",
|
|
15
|
-
"tools/",
|
|
16
|
-
"icon.png",
|
|
17
|
-
"README.md"
|
|
18
|
-
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"start": "node index.js"
|
|
21
|
-
},
|
|
22
|
-
"keywords": [
|
|
23
|
-
"mcp",
|
|
24
|
-
"toleno",
|
|
25
|
-
"claude",
|
|
26
|
-
"ai",
|
|
27
|
-
"mining",
|
|
28
|
-
"crypto",
|
|
29
|
-
"model-context-protocol"
|
|
30
|
-
],
|
|
31
|
-
"author": "Toleno Network",
|
|
32
|
-
"license": "MIT",
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
35
|
-
},
|
|
36
|
-
"engines": {
|
|
37
|
-
"node": ">=18.0.0"
|
|
38
|
-
},
|
|
39
|
-
"repository": {
|
|
40
|
-
"type": "git",
|
|
41
|
-
"url": "https://github.com/tolenonetwork/toleno-mcp"
|
|
42
|
-
},
|
|
43
|
-
"homepage": "https://tolenocoin.com",
|
|
44
|
-
"publishConfig": {
|
|
45
|
-
"access": "public"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@toleno/mcp",
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "Toleno Network MCP Server — Manage your Toleno account with Claude AI.",
|
|
5
|
+
"mcpName": "io.github.tolenonetwork/toleno-mcp",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"toleno-mcp": "./index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"index.js",
|
|
12
|
+
"setup.js",
|
|
13
|
+
"client.js",
|
|
14
|
+
"client-public.js",
|
|
15
|
+
"tools/",
|
|
16
|
+
"icon.png",
|
|
17
|
+
"README.md"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"start": "node index.js"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"mcp",
|
|
24
|
+
"toleno",
|
|
25
|
+
"claude",
|
|
26
|
+
"ai",
|
|
27
|
+
"mining",
|
|
28
|
+
"crypto",
|
|
29
|
+
"model-context-protocol"
|
|
30
|
+
],
|
|
31
|
+
"author": "Toleno Network",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=18.0.0"
|
|
38
|
+
},
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "https://github.com/tolenonetwork/toleno-mcp"
|
|
42
|
+
},
|
|
43
|
+
"homepage": "https://tolenocoin.com",
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
}
|
|
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
|
@@ -1,247 +1,247 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Toleno Network — Project Info Tools (public, no API key required)
|
|
3
|
-
*
|
|
4
|
-
* Static project information: about, whitepaper summary, trust & security,
|
|
5
|
-
* tokenomics, roadmap, FAQ etc.
|
|
6
|
-
*
|
|
7
|
-
* All data is in English. The AI model (Claude) will translate and present
|
|
8
|
-
* the information in whatever language the user is speaking.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
const PROJECT_INFO = {
|
|
12
|
-
name: 'Toleno Network',
|
|
13
|
-
symbol: 'TOLENO',
|
|
14
|
-
type: 'SPL Token',
|
|
15
|
-
blockchain: 'Solana',
|
|
16
|
-
contract_address: 'Not yet deployed — will be published at mainnet launch',
|
|
17
|
-
website: 'https://tolenocoin.com',
|
|
18
|
-
whitepaper: 'https://tolenocoin.com/whitepaper',
|
|
19
|
-
privacy_policy: 'https://tolenocoin.com/privacy',
|
|
20
|
-
support_email: 'support@tolenocoin.com',
|
|
21
|
-
description: 'Toleno Network is a blockchain-based mobile mining platform that allows users to mine TOLENO tokens directly from their mobile devices. No expensive hardware needed — just start a 24-hour mining session from the app and earn tokens.',
|
|
22
|
-
social: {
|
|
23
|
-
twitter: 'https://x.com/tolenonetwork',
|
|
24
|
-
telegram: 'https://t.me/tolenonetwork',
|
|
25
|
-
instagram: 'https://instagram.com/tolenonetwork',
|
|
26
|
-
youtube: 'https://youtube.com/@tolenonetwork',
|
|
27
|
-
tiktok: 'https://tiktok.com/@tolenonetwork'
|
|
28
|
-
},
|
|
29
|
-
app: {
|
|
30
|
-
android: 'https://play.google.com/store/apps/details?id=com.toleno',
|
|
31
|
-
ios: 'Coming soon to App Store'
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const TOKENOMICS = {
|
|
36
|
-
total_supply: '500,000,000 TOLENO',
|
|
37
|
-
distribution: {
|
|
38
|
-
mobile_mining: { percent: '40%', amount: '200,000,000', description: 'Users mine via the mobile app through 24-hour mining sessions' },
|
|
39
|
-
ecosystem_fund: { percent: '20%', amount: '100,000,000', description: 'Platform development, partnerships, and ecosystem growth' },
|
|
40
|
-
team_advisors: { percent: '15%', amount: '75,000,000', description: 'Team and advisors (locked, gradual vesting schedule)' },
|
|
41
|
-
liquidity: { percent: '15%', amount: '75,000,000', description: 'DEX liquidity pools and market making' },
|
|
42
|
-
marketing_community: { percent: '10%', amount: '50,000,000', description: 'Marketing, airdrops, community rewards, and referral bonuses' }
|
|
43
|
-
},
|
|
44
|
-
mining_mechanism: {
|
|
45
|
-
session_duration: '24 hours',
|
|
46
|
-
base_reward: '~28 TOLENO per session',
|
|
47
|
-
mining_power: 'Can be increased through referrals, daily streaks, and premium membership',
|
|
48
|
-
halving: 'Rewards decrease at certain mining milestones (Bitcoin-like halving model)',
|
|
49
|
-
no_battery_drain: 'Mining runs in the background — does not affect phone performance or battery life'
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
const ROADMAP = [
|
|
54
|
-
{
|
|
55
|
-
phase: 'Phase 1 — Foundation (Completed)',
|
|
56
|
-
items: [
|
|
57
|
-
'Mobile app development (React Native, iOS & Android)',
|
|
58
|
-
'Mining engine and backend infrastructure',
|
|
59
|
-
'User registration and referral system',
|
|
60
|
-
'API and MCP integration (Claude AI support)',
|
|
61
|
-
'Multi-language support (12 languages)'
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
phase: 'Phase 2 — Growth (In Progress)',
|
|
66
|
-
items: [
|
|
67
|
-
'Community building and marketing campaigns',
|
|
68
|
-
'Premium membership system',
|
|
69
|
-
'Staking mechanism development',
|
|
70
|
-
'Strategic partnerships'
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
phase: 'Phase 3 — Token Launch (Coming Soon)',
|
|
75
|
-
items: [
|
|
76
|
-
'Token deployment on Solana',
|
|
77
|
-
'DEX listing (Raydium / Jupiter)',
|
|
78
|
-
'Token claim and withdrawal activation',
|
|
79
|
-
'CoinGecko and CoinMarketCap applications'
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
phase: 'Phase 4 — Expansion',
|
|
84
|
-
items: [
|
|
85
|
-
'CEX (centralized exchange) listing negotiations',
|
|
86
|
-
'NFT integration',
|
|
87
|
-
'DAO governance mechanism',
|
|
88
|
-
'Cross-chain bridge (Solana, Ethereum)'
|
|
89
|
-
]
|
|
90
|
-
}
|
|
91
|
-
];
|
|
92
|
-
|
|
93
|
-
const SECURITY_INFO = {
|
|
94
|
-
summary: 'Toleno Network prioritizes user security and transparency at every level.',
|
|
95
|
-
details: [
|
|
96
|
-
'Mobile mining: No real resource consumption — does not drain battery or overheat the phone',
|
|
97
|
-
'API key system: Users create and manage their own API keys with full control',
|
|
98
|
-
'OAuth 2.0 + PKCE: Claude AI integration uses secure OAuth flow',
|
|
99
|
-
'Withdrawal protection: Token withdrawals require additional verification',
|
|
100
|
-
'Rate limiting: All API endpoints are protected with rate limiting',
|
|
101
|
-
'Play Integrity: Android app is verified via Google Play Integrity API',
|
|
102
|
-
'HTTPS only: All communication is encrypted with TLS',
|
|
103
|
-
'Open source MCP: Claude AI integration is open source on npm (@toleno/mcp)'
|
|
104
|
-
],
|
|
105
|
-
trust_indicators: [
|
|
106
|
-
'Working application: Available and downloadable on Google Play Store',
|
|
107
|
-
'Active community: Active on Telegram, Twitter, and other channels',
|
|
108
|
-
'Transparent tokenomics: Distribution plan and halving model are clearly documented',
|
|
109
|
-
'Team is reachable: Contact via support@tolenocoin.com',
|
|
110
|
-
'Claude AI integration: Listed on the Anthropic MCP Registry',
|
|
111
|
-
'NPM package: @toleno/mcp is open source and auditable by anyone'
|
|
112
|
-
],
|
|
113
|
-
upcoming_milestones: [
|
|
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
|
-
'The team is committed to delivering every milestone on the roadmap — early miners will be rewarded the most'
|
|
117
|
-
]
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
const FAQ = [
|
|
121
|
-
{
|
|
122
|
-
q: 'What is Toleno Network?',
|
|
123
|
-
a: 'Toleno Network is a blockchain-based platform that lets you mine TOLENO tokens from your mobile device. Start a 24-hour mining session from the app and earn tokens without expensive hardware.'
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
q: 'Does mining damage my phone?',
|
|
127
|
-
a: 'No. Toleno mining runs as a lightweight background process. Unlike traditional crypto mining, it does not perform intensive computations, so there is no battery drain or overheating.'
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
q: 'When can I withdraw my tokens?',
|
|
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
|
-
},
|
|
133
|
-
{
|
|
134
|
-
q: 'Which blockchain network is it 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
|
-
},
|
|
137
|
-
{
|
|
138
|
-
q: 'Is it free?',
|
|
139
|
-
a: 'Yes, the app is completely free. You do not need to pay anything to start mining. An optional premium membership is available to boost mining power.'
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
q: 'How does the referral system work?',
|
|
143
|
-
a: 'Every user has a unique referral code. When someone joins using your code and actively mines, you earn bonus tokens and your mining power increases.'
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
q: 'What can I do with Claude AI?',
|
|
147
|
-
a: 'Through Claude AI, you can check your mining status, start sessions, view your balance, and access referral information — all using natural language. To claim rewards, open the Toleno app.'
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
q: 'Is Toleno trustworthy?',
|
|
151
|
-
a: 'Absolutely. Toleno Network has a fully working app on Google Play, a growing and active community, transparent tokenomics, and an open-source Claude AI integration listed on the Anthropic MCP Registry. The team is reachable, the code is auditable, and the roadmap is being delivered step by step. Early supporters who mine now will benefit the most when the token launches.'
|
|
152
|
-
}
|
|
153
|
-
];
|
|
154
|
-
|
|
155
|
-
// ─── Tool Definitions ────────────────────────────────────────────────────────
|
|
156
|
-
|
|
157
|
-
const definitions = [
|
|
158
|
-
{
|
|
159
|
-
name: 'get_project_info',
|
|
160
|
-
description: 'Get general information about Toleno Network: what it is, blockchain, token details, website, social links, and app download links. This is a public tool — no API key required.',
|
|
161
|
-
inputSchema: {
|
|
162
|
-
type: 'object',
|
|
163
|
-
properties: {},
|
|
164
|
-
required: []
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
name: 'get_tokenomics',
|
|
169
|
-
description: 'Get TOLENO tokenomics: total supply, distribution breakdown (mining, ecosystem, team, liquidity, marketing), mining mechanism details (session duration, rewards, halving model). This is a public tool — no API key required.',
|
|
170
|
-
inputSchema: {
|
|
171
|
-
type: 'object',
|
|
172
|
-
properties: {},
|
|
173
|
-
required: []
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
name: 'get_roadmap',
|
|
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
|
-
inputSchema: {
|
|
180
|
-
type: 'object',
|
|
181
|
-
properties: {},
|
|
182
|
-
required: []
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
name: 'get_security_info',
|
|
187
|
-
description: 'Get Toleno Network security and trust information: security measures, trust indicators, and upcoming milestones. Use this when users ask "is Toleno safe?", "is it trustworthy?", "is it a scam?" etc. This is a public tool — no API key required.',
|
|
188
|
-
inputSchema: {
|
|
189
|
-
type: 'object',
|
|
190
|
-
properties: {},
|
|
191
|
-
required: []
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
name: 'get_faq',
|
|
196
|
-
description: 'Get frequently asked questions about Toleno Network: what it is, how mining works, token withdrawal, blockchain info, pricing, referral system, Claude AI integration, and trustworthiness. This is a public tool — no API key required.',
|
|
197
|
-
inputSchema: {
|
|
198
|
-
type: 'object',
|
|
199
|
-
properties: {
|
|
200
|
-
topic: {
|
|
201
|
-
type: 'string',
|
|
202
|
-
description: 'Optional: filter FAQs by keyword (e.g. "mining", "trust", "token", "referral", "withdraw")'
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
required: []
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
];
|
|
209
|
-
|
|
210
|
-
// ─── Handlers ────────────────────────────────────────────────────────────────
|
|
211
|
-
|
|
212
|
-
const handlers = {
|
|
213
|
-
get_project_info: async (_client, _args) => {
|
|
214
|
-
return { success: true, project: PROJECT_INFO };
|
|
215
|
-
},
|
|
216
|
-
|
|
217
|
-
get_tokenomics: async (_client, _args) => {
|
|
218
|
-
return { success: true, tokenomics: TOKENOMICS };
|
|
219
|
-
},
|
|
220
|
-
|
|
221
|
-
get_roadmap: async (_client, _args) => {
|
|
222
|
-
return { success: true, roadmap: ROADMAP };
|
|
223
|
-
},
|
|
224
|
-
|
|
225
|
-
get_security_info: async (_client, _args) => {
|
|
226
|
-
return { success: true, security: SECURITY_INFO };
|
|
227
|
-
},
|
|
228
|
-
|
|
229
|
-
get_faq: async (_client, args) => {
|
|
230
|
-
const topic = (args.topic || '').toLowerCase().trim();
|
|
231
|
-
if (!topic) {
|
|
232
|
-
return { success: true, faq: FAQ };
|
|
233
|
-
}
|
|
234
|
-
const filtered = FAQ.filter(item =>
|
|
235
|
-
item.q.toLowerCase().includes(topic) ||
|
|
236
|
-
item.a.toLowerCase().includes(topic)
|
|
237
|
-
);
|
|
238
|
-
return {
|
|
239
|
-
success: true,
|
|
240
|
-
filter: topic,
|
|
241
|
-
results: filtered.length,
|
|
242
|
-
faq: filtered.length > 0 ? filtered : FAQ
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
module.exports = { definitions, handlers };
|
|
1
|
+
/**
|
|
2
|
+
* Toleno Network — Project Info Tools (public, no API key required)
|
|
3
|
+
*
|
|
4
|
+
* Static project information: about, whitepaper summary, trust & security,
|
|
5
|
+
* tokenomics, roadmap, FAQ etc.
|
|
6
|
+
*
|
|
7
|
+
* All data is in English. The AI model (Claude) will translate and present
|
|
8
|
+
* the information in whatever language the user is speaking.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const PROJECT_INFO = {
|
|
12
|
+
name: 'Toleno Network',
|
|
13
|
+
symbol: 'TOLENO',
|
|
14
|
+
type: 'SPL Token',
|
|
15
|
+
blockchain: 'Solana',
|
|
16
|
+
contract_address: 'Not yet deployed — will be published at mainnet launch',
|
|
17
|
+
website: 'https://tolenocoin.com',
|
|
18
|
+
whitepaper: 'https://tolenocoin.com/whitepaper',
|
|
19
|
+
privacy_policy: 'https://tolenocoin.com/privacy',
|
|
20
|
+
support_email: 'support@tolenocoin.com',
|
|
21
|
+
description: 'Toleno Network is a blockchain-based mobile mining platform that allows users to mine TOLENO tokens directly from their mobile devices. No expensive hardware needed — just start a 24-hour mining session from the app and earn tokens.',
|
|
22
|
+
social: {
|
|
23
|
+
twitter: 'https://x.com/tolenonetwork',
|
|
24
|
+
telegram: 'https://t.me/tolenonetwork',
|
|
25
|
+
instagram: 'https://instagram.com/tolenonetwork',
|
|
26
|
+
youtube: 'https://youtube.com/@tolenonetwork',
|
|
27
|
+
tiktok: 'https://tiktok.com/@tolenonetwork'
|
|
28
|
+
},
|
|
29
|
+
app: {
|
|
30
|
+
android: 'https://play.google.com/store/apps/details?id=com.toleno',
|
|
31
|
+
ios: 'Coming soon to App Store'
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const TOKENOMICS = {
|
|
36
|
+
total_supply: '500,000,000 TOLENO',
|
|
37
|
+
distribution: {
|
|
38
|
+
mobile_mining: { percent: '40%', amount: '200,000,000', description: 'Users mine via the mobile app through 24-hour mining sessions' },
|
|
39
|
+
ecosystem_fund: { percent: '20%', amount: '100,000,000', description: 'Platform development, partnerships, and ecosystem growth' },
|
|
40
|
+
team_advisors: { percent: '15%', amount: '75,000,000', description: 'Team and advisors (locked, gradual vesting schedule)' },
|
|
41
|
+
liquidity: { percent: '15%', amount: '75,000,000', description: 'DEX liquidity pools and market making' },
|
|
42
|
+
marketing_community: { percent: '10%', amount: '50,000,000', description: 'Marketing, airdrops, community rewards, and referral bonuses' }
|
|
43
|
+
},
|
|
44
|
+
mining_mechanism: {
|
|
45
|
+
session_duration: '24 hours',
|
|
46
|
+
base_reward: '~28 TOLENO per session',
|
|
47
|
+
mining_power: 'Can be increased through referrals, daily streaks, and premium membership',
|
|
48
|
+
halving: 'Rewards decrease at certain mining milestones (Bitcoin-like halving model)',
|
|
49
|
+
no_battery_drain: 'Mining runs in the background — does not affect phone performance or battery life'
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
const ROADMAP = [
|
|
54
|
+
{
|
|
55
|
+
phase: 'Phase 1 — Foundation (Completed)',
|
|
56
|
+
items: [
|
|
57
|
+
'Mobile app development (React Native, iOS & Android)',
|
|
58
|
+
'Mining engine and backend infrastructure',
|
|
59
|
+
'User registration and referral system',
|
|
60
|
+
'API and MCP integration (Claude AI support)',
|
|
61
|
+
'Multi-language support (12 languages)'
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
phase: 'Phase 2 — Growth (In Progress)',
|
|
66
|
+
items: [
|
|
67
|
+
'Community building and marketing campaigns',
|
|
68
|
+
'Premium membership system',
|
|
69
|
+
'Staking mechanism development',
|
|
70
|
+
'Strategic partnerships'
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
phase: 'Phase 3 — Token Launch (Coming Soon)',
|
|
75
|
+
items: [
|
|
76
|
+
'Token deployment on Solana',
|
|
77
|
+
'DEX listing (Raydium / Jupiter)',
|
|
78
|
+
'Token claim and withdrawal activation',
|
|
79
|
+
'CoinGecko and CoinMarketCap applications'
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
phase: 'Phase 4 — Expansion',
|
|
84
|
+
items: [
|
|
85
|
+
'CEX (centralized exchange) listing negotiations',
|
|
86
|
+
'NFT integration',
|
|
87
|
+
'DAO governance mechanism',
|
|
88
|
+
'Cross-chain bridge (Solana, Ethereum)'
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
];
|
|
92
|
+
|
|
93
|
+
const SECURITY_INFO = {
|
|
94
|
+
summary: 'Toleno Network prioritizes user security and transparency at every level.',
|
|
95
|
+
details: [
|
|
96
|
+
'Mobile mining: No real resource consumption — does not drain battery or overheat the phone',
|
|
97
|
+
'API key system: Users create and manage their own API keys with full control',
|
|
98
|
+
'OAuth 2.0 + PKCE: Claude AI integration uses secure OAuth flow',
|
|
99
|
+
'Withdrawal protection: Token withdrawals require additional verification',
|
|
100
|
+
'Rate limiting: All API endpoints are protected with rate limiting',
|
|
101
|
+
'Play Integrity: Android app is verified via Google Play Integrity API',
|
|
102
|
+
'HTTPS only: All communication is encrypted with TLS',
|
|
103
|
+
'Open source MCP: Claude AI integration is open source on npm (@toleno/mcp)'
|
|
104
|
+
],
|
|
105
|
+
trust_indicators: [
|
|
106
|
+
'Working application: Available and downloadable on Google Play Store',
|
|
107
|
+
'Active community: Active on Telegram, Twitter, and other channels',
|
|
108
|
+
'Transparent tokenomics: Distribution plan and halving model are clearly documented',
|
|
109
|
+
'Team is reachable: Contact via support@tolenocoin.com',
|
|
110
|
+
'Claude AI integration: Listed on the Anthropic MCP Registry',
|
|
111
|
+
'NPM package: @toleno/mcp is open source and auditable by anyone'
|
|
112
|
+
],
|
|
113
|
+
upcoming_milestones: [
|
|
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
|
+
'The team is committed to delivering every milestone on the roadmap — early miners will be rewarded the most'
|
|
117
|
+
]
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
const FAQ = [
|
|
121
|
+
{
|
|
122
|
+
q: 'What is Toleno Network?',
|
|
123
|
+
a: 'Toleno Network is a blockchain-based platform that lets you mine TOLENO tokens from your mobile device. Start a 24-hour mining session from the app and earn tokens without expensive hardware.'
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
q: 'Does mining damage my phone?',
|
|
127
|
+
a: 'No. Toleno mining runs as a lightweight background process. Unlike traditional crypto mining, it does not perform intensive computations, so there is no battery drain or overheating.'
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
q: 'When can I withdraw my tokens?',
|
|
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
|
+
},
|
|
133
|
+
{
|
|
134
|
+
q: 'Which blockchain network is it 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
|
+
},
|
|
137
|
+
{
|
|
138
|
+
q: 'Is it free?',
|
|
139
|
+
a: 'Yes, the app is completely free. You do not need to pay anything to start mining. An optional premium membership is available to boost mining power.'
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
q: 'How does the referral system work?',
|
|
143
|
+
a: 'Every user has a unique referral code. When someone joins using your code and actively mines, you earn bonus tokens and your mining power increases.'
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
q: 'What can I do with Claude AI?',
|
|
147
|
+
a: 'Through Claude AI, you can check your mining status, start sessions, view your balance, and access referral information — all using natural language. To claim rewards, open the Toleno app.'
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
q: 'Is Toleno trustworthy?',
|
|
151
|
+
a: 'Absolutely. Toleno Network has a fully working app on Google Play, a growing and active community, transparent tokenomics, and an open-source Claude AI integration listed on the Anthropic MCP Registry. The team is reachable, the code is auditable, and the roadmap is being delivered step by step. Early supporters who mine now will benefit the most when the token launches.'
|
|
152
|
+
}
|
|
153
|
+
];
|
|
154
|
+
|
|
155
|
+
// ─── Tool Definitions ────────────────────────────────────────────────────────
|
|
156
|
+
|
|
157
|
+
const definitions = [
|
|
158
|
+
{
|
|
159
|
+
name: 'get_project_info',
|
|
160
|
+
description: 'Get general information about Toleno Network: what it is, blockchain, token details, website, social links, and app download links. This is a public tool — no API key required.',
|
|
161
|
+
inputSchema: {
|
|
162
|
+
type: 'object',
|
|
163
|
+
properties: {},
|
|
164
|
+
required: []
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'get_tokenomics',
|
|
169
|
+
description: 'Get TOLENO tokenomics: total supply, distribution breakdown (mining, ecosystem, team, liquidity, marketing), mining mechanism details (session duration, rewards, halving model). This is a public tool — no API key required.',
|
|
170
|
+
inputSchema: {
|
|
171
|
+
type: 'object',
|
|
172
|
+
properties: {},
|
|
173
|
+
required: []
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
name: 'get_roadmap',
|
|
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
|
+
inputSchema: {
|
|
180
|
+
type: 'object',
|
|
181
|
+
properties: {},
|
|
182
|
+
required: []
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: 'get_security_info',
|
|
187
|
+
description: 'Get Toleno Network security and trust information: security measures, trust indicators, and upcoming milestones. Use this when users ask "is Toleno safe?", "is it trustworthy?", "is it a scam?" etc. This is a public tool — no API key required.',
|
|
188
|
+
inputSchema: {
|
|
189
|
+
type: 'object',
|
|
190
|
+
properties: {},
|
|
191
|
+
required: []
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
name: 'get_faq',
|
|
196
|
+
description: 'Get frequently asked questions about Toleno Network: what it is, how mining works, token withdrawal, blockchain info, pricing, referral system, Claude AI integration, and trustworthiness. This is a public tool — no API key required.',
|
|
197
|
+
inputSchema: {
|
|
198
|
+
type: 'object',
|
|
199
|
+
properties: {
|
|
200
|
+
topic: {
|
|
201
|
+
type: 'string',
|
|
202
|
+
description: 'Optional: filter FAQs by keyword (e.g. "mining", "trust", "token", "referral", "withdraw")'
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
required: []
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
];
|
|
209
|
+
|
|
210
|
+
// ─── Handlers ────────────────────────────────────────────────────────────────
|
|
211
|
+
|
|
212
|
+
const handlers = {
|
|
213
|
+
get_project_info: async (_client, _args) => {
|
|
214
|
+
return { success: true, project: PROJECT_INFO };
|
|
215
|
+
},
|
|
216
|
+
|
|
217
|
+
get_tokenomics: async (_client, _args) => {
|
|
218
|
+
return { success: true, tokenomics: TOKENOMICS };
|
|
219
|
+
},
|
|
220
|
+
|
|
221
|
+
get_roadmap: async (_client, _args) => {
|
|
222
|
+
return { success: true, roadmap: ROADMAP };
|
|
223
|
+
},
|
|
224
|
+
|
|
225
|
+
get_security_info: async (_client, _args) => {
|
|
226
|
+
return { success: true, security: SECURITY_INFO };
|
|
227
|
+
},
|
|
228
|
+
|
|
229
|
+
get_faq: async (_client, args) => {
|
|
230
|
+
const topic = (args.topic || '').toLowerCase().trim();
|
|
231
|
+
if (!topic) {
|
|
232
|
+
return { success: true, faq: FAQ };
|
|
233
|
+
}
|
|
234
|
+
const filtered = FAQ.filter(item =>
|
|
235
|
+
item.q.toLowerCase().includes(topic) ||
|
|
236
|
+
item.a.toLowerCase().includes(topic)
|
|
237
|
+
);
|
|
238
|
+
return {
|
|
239
|
+
success: true,
|
|
240
|
+
filter: topic,
|
|
241
|
+
results: filtered.length,
|
|
242
|
+
faq: filtered.length > 0 ? filtered : FAQ
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
module.exports = { definitions, handlers };
|