ranla-mcp 0.6.42 → 0.6.43
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 +4 -2
- package/dist/cli.js +8 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Claude Code: `claude mcp add --transport http ranla https://mcp.ranla.ai/mcp`, t
|
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
export RANLA_API_KEY=rnl_your_key_here
|
|
25
|
-
npx -y ranla-mcp
|
|
25
|
+
npx -y ranla-mcp@latest
|
|
26
26
|
# optional overrides:
|
|
27
27
|
# export RANLA_API_URL=https://api.ranla.ai
|
|
28
28
|
# export RANLA_APP_URL=https://app.ranla.ai
|
|
@@ -35,7 +35,7 @@ Cursor `.cursor/mcp.json`:
|
|
|
35
35
|
"mcpServers": {
|
|
36
36
|
"ranla": {
|
|
37
37
|
"command": "npx",
|
|
38
|
-
"args": ["-y", "ranla-mcp"],
|
|
38
|
+
"args": ["-y", "ranla-mcp@latest"],
|
|
39
39
|
"env": {
|
|
40
40
|
"RANLA_API_KEY": "rnl_your_key_here"
|
|
41
41
|
}
|
|
@@ -44,6 +44,8 @@ Cursor `.cursor/mcp.json`:
|
|
|
44
44
|
}
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
+
Keep `@latest` in the args: without it npx reuses whatever version it downloaded first. When the local server is out of date it logs one line to stderr and tells your agent once (in its instructions and on one tool result), so the agent can ask you to restart. It checks npm at most once a day; turn it off with `RANLA_MCP_NO_UPDATE_CHECK=1`.
|
|
48
|
+
|
|
47
49
|
Create a key on the dashboard **API keys** page; `stx_` keys also work. The Ranla agent tools need a full-access key — a sending-only key gets a 403 on every `arc_*` tool.
|
|
48
50
|
|
|
49
51
|
Defaults: mail API `https://api.ranla.ai`, Ranla app APIs `https://app.ranla.ai`.
|
package/dist/cli.js
CHANGED
|
@@ -5,6 +5,9 @@ import { spawn } from "child_process";
|
|
|
5
5
|
import { createRequire } from "module";
|
|
6
6
|
import { dirname, join } from "path";
|
|
7
7
|
|
|
8
|
+
// package.json
|
|
9
|
+
var version = "0.6.43";
|
|
10
|
+
|
|
8
11
|
// src/env.ts
|
|
9
12
|
var DEFAULT_API_BASE_URL = "https://api.ranla.ai";
|
|
10
13
|
function applyRanlaMcpEnv(env = process.env) {
|
|
@@ -24,9 +27,14 @@ function applyRanlaMcpEnv(env = process.env) {
|
|
|
24
27
|
env.SUPERSENDTX_API_URL = env.RANLA_API_URL.trim();
|
|
25
28
|
}
|
|
26
29
|
}
|
|
30
|
+
function applyClientIdentity(version2, env = process.env) {
|
|
31
|
+
env.SUPERSENDTX_CLIENT_NAME = "ranla-mcp";
|
|
32
|
+
env.SUPERSENDTX_CLIENT_VERSION = version2;
|
|
33
|
+
}
|
|
27
34
|
|
|
28
35
|
// src/cli.ts
|
|
29
36
|
applyRanlaMcpEnv();
|
|
37
|
+
applyClientIdentity(version);
|
|
30
38
|
var require2 = createRequire(import.meta.url);
|
|
31
39
|
var mcpRoot = dirname(require2.resolve("supersendtx-mcp/package.json"));
|
|
32
40
|
var bin = join(mcpRoot, "dist", "index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ranla-mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.43",
|
|
4
4
|
"description": "Ranla MCP server — mail + Ranla agent tools for Cursor and Claude",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prepublishOnly": "npm run build"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"supersendtx-mcp": "0.6.
|
|
43
|
+
"supersendtx-mcp": "0.6.43"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"tsup": "^8.5.0",
|