@goplausible/algorand-mcp 3.9.7 → 3.9.9
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.
|
@@ -24,12 +24,14 @@ export declare class Arc26Manager {
|
|
|
24
24
|
handleTool(name: string, args: Record<string, unknown>): Promise<{
|
|
25
25
|
content: ({
|
|
26
26
|
type: string;
|
|
27
|
-
|
|
28
|
-
mimeType
|
|
27
|
+
data: string;
|
|
28
|
+
mimeType: string;
|
|
29
|
+
text?: undefined;
|
|
29
30
|
} | {
|
|
30
31
|
type: string;
|
|
31
32
|
text: string;
|
|
32
|
-
|
|
33
|
+
data?: undefined;
|
|
34
|
+
mimeType?: undefined;
|
|
33
35
|
})[];
|
|
34
36
|
}>;
|
|
35
37
|
}
|
|
@@ -88,8 +88,14 @@ export class Arc26Manager {
|
|
|
88
88
|
uri += '?' + queryParams.join('&');
|
|
89
89
|
}
|
|
90
90
|
// Generate QR code as terminal output
|
|
91
|
-
const qrCode = await QRCode.toString(uri, {
|
|
92
|
-
|
|
91
|
+
// const qrCode = await QRCode.toString(uri, {
|
|
92
|
+
// type: 'terminal',
|
|
93
|
+
// errorCorrectionLevel: 'H',
|
|
94
|
+
// margin: 1,
|
|
95
|
+
// width: 300
|
|
96
|
+
// });
|
|
97
|
+
const qrCode = await QRCode.toDataURL(uri, {
|
|
98
|
+
type: 'image/png',
|
|
93
99
|
errorCorrectionLevel: 'H',
|
|
94
100
|
margin: 1,
|
|
95
101
|
width: 300
|
|
@@ -114,13 +120,13 @@ export class Arc26Manager {
|
|
|
114
120
|
return {
|
|
115
121
|
content: [
|
|
116
122
|
{
|
|
117
|
-
type: "
|
|
118
|
-
|
|
123
|
+
type: "image",
|
|
124
|
+
data: qrCode,
|
|
125
|
+
mimeType: "image/png"
|
|
119
126
|
},
|
|
120
127
|
{
|
|
121
128
|
type: "text",
|
|
122
|
-
text:
|
|
123
|
-
mimeType: "text/plain"
|
|
129
|
+
text: JSON.stringify({ uri }, null, 2)
|
|
124
130
|
}
|
|
125
131
|
]
|
|
126
132
|
};
|
|
@@ -86,7 +86,7 @@ export class UtilityManager {
|
|
|
86
86
|
type: 'text',
|
|
87
87
|
text: JSON.stringify({
|
|
88
88
|
name: 'Algorand MCP Server',
|
|
89
|
-
version: '3.9.
|
|
89
|
+
version: '3.9.9',
|
|
90
90
|
builder: 'GoPlausible',
|
|
91
91
|
description: 'A Model Context Protocol (MCP) server providing comprehensive access to the Algorand blockchain. Supports account management, transaction building and signing, smart contract interaction, asset operations, ARC-26 URI generation, and deep integration with Algorand ecosystem services including NFDomains, Tinyman, Vestige, and Ultrade.',
|
|
92
92
|
blockchain: 'Algorand — a carbon-negative, pure proof-of-stake Layer 1 blockchain delivering instant finality, low fees, and advanced smart contract capabilities via AVM (Algorand Virtual Machine).',
|