@goplausible/algorand-mcp 4.0.8 → 4.1.0

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.
@@ -88,12 +88,16 @@ export class Arc26Manager {
88
88
  uri += '?' + queryParams.join('&');
89
89
  }
90
90
  // Generate QR code as SVG
91
- const qrCodeUtf8 = await QRCode.toString(uri, {
91
+ const qrCodeUtf8Raw = await QRCode.toString(uri, {
92
92
  type: 'utf8',
93
93
  errorCorrectionLevel: 'H',
94
94
  // margin: 1,
95
95
  width: 128
96
96
  });
97
+ // Invert for better terminal contrast
98
+ const qrCodeUtf8 = qrCodeUtf8Raw
99
+ .replace(/█/g, '⬜').replace(/ /g, '█').replace(/⬜/g, ' ')
100
+ .replace(/▀/g, '⬛').replace(/▄/g, '▀').replace(/⬛/g, '▄');
97
101
  const qrCodePng = await QRCode.toDataURL(uri, {
98
102
  type: 'image/png',
99
103
  errorCorrectionLevel: 'H',
@@ -120,7 +124,7 @@ export class Arc26Manager {
120
124
  const { uri, qrCodePng, qrCodeUtf8 } = await this.generateUriAndQr(toolArgs);
121
125
  return {
122
126
  content: [
123
- { type: "text", text: qrCodeUtf8 + "\n\n```json\n" + JSON.stringify({ uri }, null, 2) + "\n```" },
127
+ { type: "text", text: qrCodeUtf8 + "\n\n```\n" + uri + "\n```" },
124
128
  { type: "image", data: qrCodePng.replace(/^data:image\/png;base64,/, ''), mimeType: "image/png" }
125
129
  ]
126
130
  };
@@ -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.8',
89
+ version: '4.1.0',
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).',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goplausible/algorand-mcp",
3
- "version": "4.0.8",
3
+ "version": "4.1.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },