@definitive-fi/mcp 1.1.1 → 1.1.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.
- package/dist/server.js +3 -2
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -115,7 +115,8 @@ var ChainEnum = z.enum([
|
|
|
115
115
|
"solana",
|
|
116
116
|
"hyperevm",
|
|
117
117
|
"plasma",
|
|
118
|
-
"monad"
|
|
118
|
+
"monad",
|
|
119
|
+
"robinhood"
|
|
119
120
|
]);
|
|
120
121
|
var jsonResult = (result) => ({
|
|
121
122
|
content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
|
|
@@ -582,7 +583,7 @@ var env = McpEnvSchema.parse(process.env);
|
|
|
582
583
|
var client = createClient(env.DEFINITIVE_BASE_URL, env.DEFINITIVE_API_KEY, env.DEFINITIVE_API_SECRET);
|
|
583
584
|
var server = new McpServer({
|
|
584
585
|
name: "Definitive",
|
|
585
|
-
version: "1.1.
|
|
586
|
+
version: "1.1.2",
|
|
586
587
|
instructions: "MCP server for the Definitive on-chain trading platform. Provides unified tools for portfolio management, trading (market/limit/TWAP/stop orders), QuickTrade execution across multiple blockchains. Tools auto-route to the correct API based on the configured key type (portfolio or organization). For organization keys, pass portfolio_id to target a specific portfolio, or set DEFINITIVE_PORTFOLIO_ID as default. TRADING: Default to get_trade_quote + submit_trade for trades unless the user specifies QuickTrade."
|
|
587
588
|
});
|
|
588
589
|
registerReadTools(server, client, env.DEFINITIVE_API_KEY_TYPE, env.DEFINITIVE_PORTFOLIO_ID);
|