@aura-payments/mcp-server 1.2.0 → 1.2.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.
package/README.md CHANGED
@@ -25,7 +25,7 @@ macOS, `~/.cursor/mcp.json` for Cursor):
25
25
  "aura": {
26
26
  "command": "aura-mcp",
27
27
  "env": {
28
- "AURA_API_KEY": "pk_live_..."
28
+ "AURA_API_KEY": "sk_test_..."
29
29
  }
30
30
  }
31
31
  }
@@ -39,7 +39,7 @@ Get an API key at <https://getaura.sh>.
39
39
  | Variable | Default | Purpose |
40
40
  | ----------------------- | ----------------------------- | ---------------------------------------------------- |
41
41
  | `AURA_API_KEY` | (required) | Your platform API key (`pk_live_*` or `pk_test_*`) |
42
- | `AURA_BASE_URL` | `https://tryaura.xyz/api` | Override for self-hosted or staging deployments |
42
+ | `AURA_BASE_URL` | `https://getaura.sh/api` | Override for self-hosted or staging deployments |
43
43
  | `AURA_AUTO_IDEMPOTENCY` | `true` | Auto-generate idempotency keys for POST/PUT requests |
44
44
 
45
45
  ## Tools
package/dist/bin.js CHANGED
@@ -37,7 +37,7 @@ function resolveKeyMode(apiKey) {
37
37
  var MissingAuraApiKeyError = class extends Error {
38
38
  constructor() {
39
39
  super(
40
- 'AURA_API_KEY not set. Configure it in your MCP client config \u2014 for example in mcp.json: { "mcpServers": { "aura": { "command": "aura-mcp", "env": { "AURA_API_KEY": "pk_live_..." } } } }. Get a key at https://getaura.sh.'
40
+ 'AURA_API_KEY not set. Configure it in your MCP client config \u2014 for example in mcp.json: { "mcpServers": { "aura": { "command": "aura-mcp", "env": { "AURA_API_KEY": "sk_test_..." } } } }. Get a key at https://getaura.sh.'
41
41
  );
42
42
  this.name = "MissingAuraApiKeyError";
43
43
  }
@@ -471,7 +471,7 @@ function registerAgentTools(server) {
471
471
  amount: zod.z.string().describe("USDC amount as decimal string"),
472
472
  destination: zod.z.string().describe("Counterparty wallet (0x...) or merchant identifier"),
473
473
  destinationType: zod.z.enum(["address", "domain", "category", "entity_id"]).optional(),
474
- reasoning: zod.z.string().optional(),
474
+ reasoning: zod.z.string().optional().describe("Why the agent wants this; shown to the operator. Required for a mandate to be created when approval is needed."),
475
475
  metadata: zod.z.record(zod.z.unknown()).optional()
476
476
  },
477
477
  // NOT read-only despite being a dry run: when the decision requires human
@@ -1083,7 +1083,7 @@ function registerWithdrawalTools(server, clientFactory = getClient) {
1083
1083
 
1084
1084
  // src/index.ts
1085
1085
  var SERVER_NAME = "aura-payments";
1086
- var SERVER_VERSION = "1.2.0";
1086
+ var SERVER_VERSION = "1.2.1";
1087
1087
  var toolManifests = /* @__PURE__ */ new WeakMap();
1088
1088
  function getRegisteredToolNames(server) {
1089
1089
  return toolManifests.get(server) ?? [];
package/dist/bin.mjs CHANGED
@@ -35,7 +35,7 @@ function resolveKeyMode(apiKey) {
35
35
  var MissingAuraApiKeyError = class extends Error {
36
36
  constructor() {
37
37
  super(
38
- 'AURA_API_KEY not set. Configure it in your MCP client config \u2014 for example in mcp.json: { "mcpServers": { "aura": { "command": "aura-mcp", "env": { "AURA_API_KEY": "pk_live_..." } } } }. Get a key at https://getaura.sh.'
38
+ 'AURA_API_KEY not set. Configure it in your MCP client config \u2014 for example in mcp.json: { "mcpServers": { "aura": { "command": "aura-mcp", "env": { "AURA_API_KEY": "sk_test_..." } } } }. Get a key at https://getaura.sh.'
39
39
  );
40
40
  this.name = "MissingAuraApiKeyError";
41
41
  }
@@ -469,7 +469,7 @@ function registerAgentTools(server) {
469
469
  amount: z.string().describe("USDC amount as decimal string"),
470
470
  destination: z.string().describe("Counterparty wallet (0x...) or merchant identifier"),
471
471
  destinationType: z.enum(["address", "domain", "category", "entity_id"]).optional(),
472
- reasoning: z.string().optional(),
472
+ reasoning: z.string().optional().describe("Why the agent wants this; shown to the operator. Required for a mandate to be created when approval is needed."),
473
473
  metadata: z.record(z.unknown()).optional()
474
474
  },
475
475
  // NOT read-only despite being a dry run: when the decision requires human
@@ -1081,7 +1081,7 @@ function registerWithdrawalTools(server, clientFactory = getClient) {
1081
1081
 
1082
1082
  // src/index.ts
1083
1083
  var SERVER_NAME = "aura-payments";
1084
- var SERVER_VERSION = "1.2.0";
1084
+ var SERVER_VERSION = "1.2.1";
1085
1085
  var toolManifests = /* @__PURE__ */ new WeakMap();
1086
1086
  function getRegisteredToolNames(server) {
1087
1087
  return toolManifests.get(server) ?? [];
package/dist/index.d.mts CHANGED
@@ -96,7 +96,7 @@ declare function getClient(): AuraClient;
96
96
  */
97
97
 
98
98
  declare const SERVER_NAME = "aura-payments";
99
- declare const SERVER_VERSION = "1.2.0";
99
+ declare const SERVER_VERSION = "1.2.1";
100
100
  interface CreateServerOptions {
101
101
  name?: string;
102
102
  version?: string;
package/dist/index.d.ts CHANGED
@@ -96,7 +96,7 @@ declare function getClient(): AuraClient;
96
96
  */
97
97
 
98
98
  declare const SERVER_NAME = "aura-payments";
99
- declare const SERVER_VERSION = "1.2.0";
99
+ declare const SERVER_VERSION = "1.2.1";
100
100
  interface CreateServerOptions {
101
101
  name?: string;
102
102
  version?: string;
package/dist/index.js CHANGED
@@ -37,7 +37,7 @@ function resolveKeyMode(apiKey) {
37
37
  var MissingAuraApiKeyError = class extends Error {
38
38
  constructor() {
39
39
  super(
40
- 'AURA_API_KEY not set. Configure it in your MCP client config \u2014 for example in mcp.json: { "mcpServers": { "aura": { "command": "aura-mcp", "env": { "AURA_API_KEY": "pk_live_..." } } } }. Get a key at https://getaura.sh.'
40
+ 'AURA_API_KEY not set. Configure it in your MCP client config \u2014 for example in mcp.json: { "mcpServers": { "aura": { "command": "aura-mcp", "env": { "AURA_API_KEY": "sk_test_..." } } } }. Get a key at https://getaura.sh.'
41
41
  );
42
42
  this.name = "MissingAuraApiKeyError";
43
43
  }
@@ -473,7 +473,7 @@ function registerAgentTools(server) {
473
473
  amount: zod.z.string().describe("USDC amount as decimal string"),
474
474
  destination: zod.z.string().describe("Counterparty wallet (0x...) or merchant identifier"),
475
475
  destinationType: zod.z.enum(["address", "domain", "category", "entity_id"]).optional(),
476
- reasoning: zod.z.string().optional(),
476
+ reasoning: zod.z.string().optional().describe("Why the agent wants this; shown to the operator. Required for a mandate to be created when approval is needed."),
477
477
  metadata: zod.z.record(zod.z.unknown()).optional()
478
478
  },
479
479
  // NOT read-only despite being a dry run: when the decision requires human
@@ -1085,7 +1085,7 @@ function registerWithdrawalTools(server, clientFactory = getClient) {
1085
1085
 
1086
1086
  // src/index.ts
1087
1087
  var SERVER_NAME = "aura-payments";
1088
- var SERVER_VERSION = "1.2.0";
1088
+ var SERVER_VERSION = "1.2.1";
1089
1089
  var toolManifests = /* @__PURE__ */ new WeakMap();
1090
1090
  function getRegisteredToolNames(server) {
1091
1091
  return toolManifests.get(server) ?? [];
package/dist/index.mjs CHANGED
@@ -35,7 +35,7 @@ function resolveKeyMode(apiKey) {
35
35
  var MissingAuraApiKeyError = class extends Error {
36
36
  constructor() {
37
37
  super(
38
- 'AURA_API_KEY not set. Configure it in your MCP client config \u2014 for example in mcp.json: { "mcpServers": { "aura": { "command": "aura-mcp", "env": { "AURA_API_KEY": "pk_live_..." } } } }. Get a key at https://getaura.sh.'
38
+ 'AURA_API_KEY not set. Configure it in your MCP client config \u2014 for example in mcp.json: { "mcpServers": { "aura": { "command": "aura-mcp", "env": { "AURA_API_KEY": "sk_test_..." } } } }. Get a key at https://getaura.sh.'
39
39
  );
40
40
  this.name = "MissingAuraApiKeyError";
41
41
  }
@@ -471,7 +471,7 @@ function registerAgentTools(server) {
471
471
  amount: z.string().describe("USDC amount as decimal string"),
472
472
  destination: z.string().describe("Counterparty wallet (0x...) or merchant identifier"),
473
473
  destinationType: z.enum(["address", "domain", "category", "entity_id"]).optional(),
474
- reasoning: z.string().optional(),
474
+ reasoning: z.string().optional().describe("Why the agent wants this; shown to the operator. Required for a mandate to be created when approval is needed."),
475
475
  metadata: z.record(z.unknown()).optional()
476
476
  },
477
477
  // NOT read-only despite being a dry run: when the decision requires human
@@ -1083,7 +1083,7 @@ function registerWithdrawalTools(server, clientFactory = getClient) {
1083
1083
 
1084
1084
  // src/index.ts
1085
1085
  var SERVER_NAME = "aura-payments";
1086
- var SERVER_VERSION = "1.2.0";
1086
+ var SERVER_VERSION = "1.2.1";
1087
1087
  var toolManifests = /* @__PURE__ */ new WeakMap();
1088
1088
  function getRegisteredToolNames(server) {
1089
1089
  return toolManifests.get(server) ?? [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aura-payments/mcp-server",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Model Context Protocol server for Aura Payments. Lets AI agents and LLMs (Claude Desktop, Cursor, Continue, etc.) drive Aura escrows, mandates, wallets, webhooks, and agent governance natively.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -48,7 +48,7 @@
48
48
  "dependencies": {
49
49
  "@modelcontextprotocol/sdk": "^1.29.0",
50
50
  "zod": "^3.25.76",
51
- "@aura-payments/sdk": "2.2.0"
51
+ "@aura-payments/sdk": "2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/node": "^22",