@goplausible/algorand-mcp 4.0.0 → 4.0.1

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,14 +24,12 @@ export declare class Arc26Manager {
24
24
  handleTool(name: string, args: Record<string, unknown>): Promise<{
25
25
  content: ({
26
26
  type: string;
27
- data: string;
28
- mimeType: string;
29
- text?: undefined;
27
+ text: string;
28
+ mimeType?: undefined;
30
29
  } | {
31
30
  type: string;
32
31
  text: string;
33
- data?: undefined;
34
- mimeType?: undefined;
32
+ mimeType: string;
35
33
  })[];
36
34
  }>;
37
35
  }
@@ -87,15 +87,9 @@ export class Arc26Manager {
87
87
  if (queryParams.length > 0) {
88
88
  uri += '?' + queryParams.join('&');
89
89
  }
90
- // Generate QR code as terminal output
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',
90
+ // Generate QR code as SVG
91
+ const qrCode = await QRCode.toString(uri, {
92
+ type: 'svg',
99
93
  errorCorrectionLevel: 'H',
100
94
  margin: 1,
101
95
  width: 300
@@ -120,13 +114,13 @@ export class Arc26Manager {
120
114
  return {
121
115
  content: [
122
116
  {
123
- type: "image",
124
- data: qrCode.replace(/^data:image\/png;base64,/, ''),
125
- mimeType: "image/png"
117
+ type: "text",
118
+ text: JSON.stringify({ uri }, null, 2)
126
119
  },
127
120
  {
128
121
  type: "text",
129
- text: JSON.stringify({ uri }, null, 2)
122
+ text: qrCode,
123
+ mimeType: "image/svg+xml"
130
124
  }
131
125
  ]
132
126
  };
@@ -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.0',
89
+ version: '4.0.1',
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.0",
3
+ "version": "4.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },