@goplausible/algorand-mcp 4.0.6 → 4.0.8
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/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/tools/arc26Manager.js +3 -3
- package/dist/tools/utilityManager.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -550,7 +550,7 @@ Trade on-chain prediction markets (YES/NO outcomes) denominated in USDC. All pri
|
|
|
550
550
|
|
|
551
551
|
| Tool | Description |
|
|
552
552
|
|---|---|
|
|
553
|
-
| `
|
|
553
|
+
| `generate_algorand_qrcode` | Generate Algorand URI and QR code per ARC-26 spec |
|
|
554
554
|
|
|
555
555
|
### Knowledge Tools (1 tool)
|
|
556
556
|
|
package/dist/index.js
CHANGED
|
@@ -142,7 +142,7 @@ class AlgorandMcpServer {
|
|
|
142
142
|
return handleApiManager(name, args);
|
|
143
143
|
}
|
|
144
144
|
// Handle ARC-26 tools
|
|
145
|
-
if (name === '
|
|
145
|
+
if (name === 'generate_algorand_qrcode') {
|
|
146
146
|
return arc26Manager.handleTool(name, args);
|
|
147
147
|
}
|
|
148
148
|
// Handle knowledge tools
|
|
@@ -5,7 +5,7 @@ export class Arc26Manager {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this.arc26Tools = [
|
|
7
7
|
{
|
|
8
|
-
name: '
|
|
8
|
+
name: 'generate_algorand_qrcode',
|
|
9
9
|
description: 'Generate an Algorand URI and QR code according to ARC-26 specification',
|
|
10
10
|
inputSchema: withCommonParams({
|
|
11
11
|
type: 'object',
|
|
@@ -116,12 +116,12 @@ export class Arc26Manager {
|
|
|
116
116
|
note: args.note,
|
|
117
117
|
xnote: args.xnote
|
|
118
118
|
};
|
|
119
|
-
if (name === '
|
|
119
|
+
if (name === 'generate_algorand_qrcode') {
|
|
120
120
|
const { uri, qrCodePng, qrCodeUtf8 } = await this.generateUriAndQr(toolArgs);
|
|
121
121
|
return {
|
|
122
122
|
content: [
|
|
123
123
|
{ type: "text", text: qrCodeUtf8 + "\n\n```json\n" + JSON.stringify({ uri }, null, 2) + "\n```" },
|
|
124
|
-
{ type: "image", data: qrCodePng, mimeType: "image/png" }
|
|
124
|
+
{ type: "image", data: qrCodePng.replace(/^data:image\/png;base64,/, ''), mimeType: "image/png" }
|
|
125
125
|
]
|
|
126
126
|
};
|
|
127
127
|
}
|
|
@@ -86,7 +86,7 @@ export class UtilityManager {
|
|
|
86
86
|
type: 'text',
|
|
87
87
|
text: JSON.stringify({
|
|
88
88
|
name: 'Algorand MCP Server',
|
|
89
|
-
version: '4.0.
|
|
89
|
+
version: '4.0.8',
|
|
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).',
|