@motorical/mcp 1.0.4 → 1.0.5

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
@@ -46,30 +46,25 @@ Add to MCP config (e.g. Cursor Settings → MCP):
46
46
  {
47
47
  "mcpServers": {
48
48
  "motorical": {
49
- "command": "node",
50
- "args": ["/root/motoric_smtp/packages/motorical-mcp/src/index.js"],
49
+ "command": "npx",
50
+ "args": ["-y", "@motorical/mcp"],
51
51
  "env": {
52
52
  "MOTORICAL_MK_API_KEY": "mk_live_…",
53
53
  "MOTORICAL_AK_API_KEY": "ak_live_…",
54
54
  "MOTORICAL_MOTOR_BLOCK_ID": "your-block-uuid",
55
- "MOTORICAL_DEFAULT_FROM": "noreply@yourdomain.com"
55
+ "MOTORICAL_DEFAULT_FROM": "noreply@yourdomain.com",
56
+ "MOTORICAL_JWT": "optional-dashboard-jwt-for-sandbox-tools"
56
57
  }
57
58
  }
58
59
  }
59
60
  }
60
61
  ```
61
62
 
62
- On a developer Mac after cloning:
63
+ From a clone of this repo:
63
64
 
64
65
  ```bash
65
66
  cd packages/motorical-mcp && npm ci
66
- # point args at the absolute path to src/index.js
67
- ```
68
-
69
- Or via npx once published:
70
-
71
- ```json
72
- "args": ["-y", "@motorical/mcp"]
67
+ # point command/args at node + absolute path to src/index.js
73
68
  ```
74
69
 
75
70
  ## Develop / test
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@motorical/mcp",
3
- "version": "1.0.4",
4
- "description": "MCP server for Motorical transactional email API dry-run/send, mint public tokens, list Motor Blocks, inspect delivery events",
3
+ "version": "1.0.5",
4
+ "description": "MCP server for Motorical transactional email API \u2014 dry-run/send, mint public tokens, list Motor Blocks, inspect delivery events",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "motorical-mcp": "./src/index.js"
@@ -42,6 +42,11 @@
42
42
  },
43
43
  "homepage": "https://docs.motorical.com/ai-mcp",
44
44
  "bugs": {
45
- "url": "https://docs.motorical.com/ai-mcp"
45
+ "url": "https://github.com/motorical-smtp/motorical-packages/issues"
46
+ },
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "git+https://github.com/motorical-smtp/motorical-packages.git",
50
+ "directory": "packages/motorical-mcp"
46
51
  }
47
52
  }
package/src/server.js CHANGED
@@ -2,7 +2,7 @@ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import { z } from 'zod';
3
3
  import { MotoricalClient, loadConfig } from './client.js';
4
4
 
5
- const PACKAGE_VERSION = '1.0.4';
5
+ const PACKAGE_VERSION = '1.0.5';
6
6
 
7
7
  function jsonResult(data, { isError = false } = {}) {
8
8
  return {