@arcadia-finance/mcp-server 0.4.1 → 0.4.2
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.
|
@@ -97,12 +97,13 @@ export const AssetPricesOutput = z.object({
|
|
|
97
97
|
});
|
|
98
98
|
export const PoolListOutput = z.object({
|
|
99
99
|
pools: z.array(z.record(z.unknown())),
|
|
100
|
+
context_notes: z.array(z.string()).optional(),
|
|
100
101
|
});
|
|
101
102
|
export const PoolDetailOutput = z.object({
|
|
102
103
|
pool: z.record(z.unknown()),
|
|
103
104
|
apy_history: z.array(z.record(z.unknown())),
|
|
104
105
|
});
|
|
105
|
-
export const PointsWalletOutput = z.
|
|
106
|
+
export const PointsWalletOutput = z.object({}).passthrough();
|
|
106
107
|
export const PointsLeaderboardOutput = z.object({
|
|
107
108
|
total: z.number(),
|
|
108
109
|
offset: z.number(),
|
|
@@ -114,9 +115,10 @@ export const StrategyListOutput = z.object({
|
|
|
114
115
|
offset: z.number(),
|
|
115
116
|
limit: z.number(),
|
|
116
117
|
strategies: z.array(z.record(z.unknown())),
|
|
118
|
+
context_notes: z.array(z.string()).optional(),
|
|
117
119
|
});
|
|
118
|
-
export const StrategyDetailOutput = z.
|
|
119
|
-
export const StrategyRecommendationOutput = z.
|
|
120
|
+
export const StrategyDetailOutput = z.object({}).passthrough();
|
|
121
|
+
export const StrategyRecommendationOutput = z.object({}).passthrough();
|
|
120
122
|
export const GuideOutput = z.object({
|
|
121
123
|
topic: z.string(),
|
|
122
124
|
content: z.string(),
|
package/dist/tools/read/pools.js
CHANGED
|
@@ -21,7 +21,7 @@ export function registerPoolTools(server, api) {
|
|
|
21
21
|
if (Array.isArray(result) && result.length === 0) {
|
|
22
22
|
const empty = {
|
|
23
23
|
pools: [],
|
|
24
|
-
|
|
24
|
+
context_notes: [`No lending pools found on chain ${chain_id}.`],
|
|
25
25
|
};
|
|
26
26
|
return {
|
|
27
27
|
content: [{ type: "text", text: JSON.stringify(empty, null, 2) }],
|
|
@@ -49,7 +49,9 @@ export function registerStrategyTools(server, api) {
|
|
|
49
49
|
strategies,
|
|
50
50
|
};
|
|
51
51
|
if (total === 0 && all.length > 0) {
|
|
52
|
-
result.
|
|
52
|
+
result.context_notes = [
|
|
53
|
+
`Featured strategies are not curated for chain ${chain_id} yet. Backend returned ${all.length} Base strategies; filtered out. Use featured_only=false to list all strategies on this chain.`,
|
|
54
|
+
];
|
|
53
55
|
}
|
|
54
56
|
return {
|
|
55
57
|
content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
|
|
@@ -161,8 +163,9 @@ export function registerStrategyTools(server, api) {
|
|
|
161
163
|
rec.removed_assets.length === 0 &&
|
|
162
164
|
Number(rec.current_apy ?? 0) === 0 &&
|
|
163
165
|
Number(rec.proposed_apy ?? 0) === 0) {
|
|
164
|
-
rec.
|
|
165
|
-
"Account has no active positions — no rebalancing recommendations available."
|
|
166
|
+
rec.context_notes = [
|
|
167
|
+
"Account has no active positions — no rebalancing recommendations available.",
|
|
168
|
+
];
|
|
166
169
|
}
|
|
167
170
|
return {
|
|
168
171
|
content: [{ type: "text", text: JSON.stringify(rec, null, 2) }],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcadia-finance/mcp-server",
|
|
3
3
|
"mcpName": "io.github.arcadia-finance/mcp-server",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"description": "MCP server for Arcadia Finance. Deploy concentrated liquidity on Uniswap, Aerodrome, and Velodrome with automated rebalancing, compounding, yield optimization, and leverage, or single-sided liquidity into lending pools. Base, Unichain, and Optimism.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "AGPL-3.0",
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.arcadia-finance/mcp-server",
|
|
4
4
|
"title": "Arcadia Finance",
|
|
5
5
|
"description": "Concentrated liquidity on Uniswap/Aerodrome (rebalance, compound, leverage) or single-sided lending.",
|
|
6
|
-
"version": "0.4.
|
|
6
|
+
"version": "0.4.2",
|
|
7
7
|
"websiteUrl": "https://arcadia.finance",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/arcadia-finance/mcp-server",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "@arcadia-finance/mcp-server",
|
|
16
|
-
"version": "0.4.
|
|
16
|
+
"version": "0.4.2",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
},
|
package/skills/openclaw/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: arcadia-finance
|
|
3
|
-
version: 1.1.
|
|
3
|
+
version: 1.1.1
|
|
4
4
|
description: "DeFi liquidity management on Uniswap and Aerodrome, live on Base, Unichain, and Optimism. Deploy concentrated liquidity positions with automated rebalancing, compounding, yield optimization, and leverage, or provide single-sided liquidity to lending pools."
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|