@rymi/mcp 0.6.0 → 0.6.2

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.
Files changed (3) hide show
  1. package/README.md +28 -8
  2. package/dist/index.js +63 -1
  3. package/package.json +58 -58
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @rymi/mcp
2
2
 
3
- MCP server for [Rymi](https://rymi.ai) — lets any MCP-capable AI client (Claude Desktop, Claude Code, Cursor, or a Rymi voice agent) create and manage AI voice agents without writing HTTP code.
3
+ MCP server for [Rymi](https://rymi.live) — lets any MCP-capable AI client (Claude Desktop, Claude Code, Cursor, or a Rymi voice agent) create and manage AI voice agents without writing HTTP code.
4
4
 
5
- ## Quickstart
5
+ ## Two ways to run it
6
6
 
7
- No install needed. Point your client at `https://mcp.rymi.live` and pass your API key as a Bearer token.
7
+ ### Hosted (no install)
8
8
 
9
- ## Claude Desktop config
9
+ Point your client at `https://mcp.rymi.live` and pass your API key as a Bearer token.
10
10
 
11
11
  ```json
12
12
  {
@@ -22,6 +22,26 @@ No install needed. Point your client at `https://mcp.rymi.live` and pass your AP
22
22
  }
23
23
  ```
24
24
 
25
+ ### Local (npm)
26
+
27
+ Run the server on your own machine with `npx` — it speaks **stdio** by default and talks to the Rymi REST API directly. The key is read from the `RYMI_API_KEY` environment variable.
28
+
29
+ ```json
30
+ {
31
+ "mcpServers": {
32
+ "rymi": {
33
+ "command": "npx",
34
+ "args": ["-y", "@rymi/mcp"],
35
+ "env": {
36
+ "RYMI_API_KEY": "rymi_your_secret_key"
37
+ }
38
+ }
39
+ }
40
+ }
41
+ ```
42
+
43
+ **Options:** `RYMI_MCP_READONLY=1` hides every mutating tool (including `create_call`, `batch_call`, `publish_agent`); `--transport http` + `RYMI_MCP_PORT` serve over HTTP instead of stdio.
44
+
25
45
  ## Tools
26
46
 
27
47
  **Agents:** `list_agents` · `get_agent` · `create_agent` · `update_agent` · `delete_agent` · `clone_agent` · `apply_agent_changes` · `generate_agent_draft` · `enrich_company` · `validate_agent_publish` · `preview_stack`
@@ -40,10 +60,10 @@ No install needed. Point your client at `https://mcp.rymi.live` and pass your AP
40
60
 
41
61
  **Keys (read-only):** `list_publishable_keys`
42
62
 
43
- **Gated tools:**
63
+ **Gated tools** (`create_call`, `batch_call` place real, billable outbound calls; `publish_agent` flips an agent live to end users):
44
64
 
45
- - `create_call`, `batch_call` — place real, billable outbound calls.
46
- - `publish_agent` — flips an agent live to end users.
65
+ - **Hosted** `mcp.rymi.live` — disabled by default; enable per API key from the dashboard.
66
+ - **Local** `@rymi/mcp` — enabled by default; pass `RYMI_MCP_READONLY=1` (or use a read-only key) to hide all mutating tools.
47
67
 
48
68
  > Carrier connect/disconnect and publishable-key creation/revocation are intentionally **not** exposed over MCP (they enter credentials and change standing configuration) — do those from the dashboard.
49
69
 
@@ -62,4 +82,4 @@ No install needed. Point your client at `https://mcp.rymi.live` and pass your AP
62
82
 
63
83
  ## Documentation
64
84
 
65
- [rymi.ai/docs/api/mcp](https://docs.rymi.live/api/mcp)
85
+ [docs.rymi.live/api/mcp](https://docs.rymi.live/api/mcp)
package/dist/index.js CHANGED
@@ -869,12 +869,74 @@ function registerBillingControlTools(server, rymi, isReadOnly) {
869
869
  );
870
870
  }
871
871
 
872
+ // package.json
873
+ var package_default = {
874
+ name: "@rymi/mcp",
875
+ version: "0.6.2",
876
+ description: "Rymi MCP server \u2014 manage AI voice agents via Model Context Protocol",
877
+ license: "MIT",
878
+ author: "Rymi AI <engineering@rymi.live>",
879
+ homepage: "https://rymi.live",
880
+ keywords: [
881
+ "mcp",
882
+ "model-context-protocol",
883
+ "voice-ai",
884
+ "voice-agent",
885
+ "claude",
886
+ "cursor",
887
+ "rymi"
888
+ ],
889
+ repository: {
890
+ type: "git",
891
+ url: "git+https://github.com/rymi-live/rymi-mcp.git"
892
+ },
893
+ bugs: {
894
+ url: "https://github.com/rymi-live/rymi-mcp/issues"
895
+ },
896
+ publishConfig: {
897
+ access: "public",
898
+ provenance: true
899
+ },
900
+ main: "./dist/index.js",
901
+ types: "./dist/index.d.ts",
902
+ bin: {
903
+ "rymi-mcp": "./dist/index.js"
904
+ },
905
+ exports: {
906
+ ".": {
907
+ types: "./dist/index.d.ts",
908
+ require: "./dist/index.js"
909
+ }
910
+ },
911
+ scripts: {
912
+ build: "tsup src/index.ts --format cjs --dts --clean",
913
+ dev: "tsup src/index.ts --format cjs --watch",
914
+ lint: "tsc --noEmit",
915
+ test: "vitest run"
916
+ },
917
+ dependencies: {
918
+ "@modelcontextprotocol/sdk": "^1.11.1",
919
+ "@rymi/node": "workspace:*",
920
+ zod: "^3.23.0"
921
+ },
922
+ devDependencies: {
923
+ tsup: "^8.0.0",
924
+ typescript: "^5.0.0",
925
+ vitest: "^1.6.0"
926
+ },
927
+ files: [
928
+ "dist",
929
+ "README.md",
930
+ "LICENSE"
931
+ ]
932
+ };
933
+
872
934
  // src/server.ts
873
935
  function createServer(apiKey) {
874
936
  const rymi = new import_node.default({ apiKey });
875
937
  const server = new import_mcp.McpServer({
876
938
  name: "rymi",
877
- version: "0.5.0"
939
+ version: package_default.version
878
940
  });
879
941
  const isReadOnly = process.env.RYMI_MCP_READONLY === "1";
880
942
  registerAgentTools(server, rymi, isReadOnly);
package/package.json CHANGED
@@ -1,60 +1,60 @@
1
1
  {
2
- "name": "@rymi/mcp",
3
- "version": "0.6.0",
4
- "description": "Rymi MCP server — manage AI voice agents via Model Context Protocol",
5
- "license": "MIT",
6
- "author": "Rymi AI <engineering@rymi.live>",
7
- "homepage": "https://rymi.live",
8
- "keywords": [
9
- "mcp",
10
- "model-context-protocol",
11
- "voice-ai",
12
- "voice-agent",
13
- "claude",
14
- "cursor",
15
- "rymi"
16
- ],
17
- "repository": {
18
- "type": "git",
19
- "url": "git+https://github.com/rymi-live/rymi-mcp.git"
20
- },
21
- "bugs": {
22
- "url": "https://github.com/rymi-live/rymi-mcp/issues"
23
- },
24
- "publishConfig": {
25
- "access": "public",
26
- "provenance": true
27
- },
28
- "main": "./dist/index.js",
29
- "types": "./dist/index.d.ts",
30
- "bin": {
31
- "rymi-mcp": "./dist/index.js"
32
- },
33
- "exports": {
34
- ".": {
35
- "types": "./dist/index.d.ts",
36
- "require": "./dist/index.js"
37
- }
38
- },
39
- "scripts": {
40
- "build": "tsup src/index.ts --format cjs --dts --clean",
41
- "dev": "tsup src/index.ts --format cjs --watch",
42
- "lint": "tsc --noEmit",
43
- "test": "vitest run"
44
- },
45
- "dependencies": {
46
- "@modelcontextprotocol/sdk": "^1.11.1",
47
- "@rymi/node": "workspace:*",
48
- "zod": "^3.23.0"
49
- },
50
- "devDependencies": {
51
- "tsup": "^8.0.0",
52
- "typescript": "^5.0.0",
53
- "vitest": "^1.6.0"
54
- },
55
- "files": [
56
- "dist",
57
- "README.md",
58
- "LICENSE"
59
- ]
2
+ "name": "@rymi/mcp",
3
+ "version": "0.6.2",
4
+ "description": "Rymi MCP server — manage AI voice agents via Model Context Protocol",
5
+ "license": "MIT",
6
+ "author": "Rymi AI <engineering@rymi.live>",
7
+ "homepage": "https://rymi.live",
8
+ "keywords": [
9
+ "mcp",
10
+ "model-context-protocol",
11
+ "voice-ai",
12
+ "voice-agent",
13
+ "claude",
14
+ "cursor",
15
+ "rymi"
16
+ ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/rymi-live/rymi-mcp.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://github.com/rymi-live/rymi-mcp/issues"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public",
26
+ "provenance": true
27
+ },
28
+ "main": "./dist/index.js",
29
+ "types": "./dist/index.d.ts",
30
+ "bin": {
31
+ "rymi-mcp": "./dist/index.js"
32
+ },
33
+ "exports": {
34
+ ".": {
35
+ "types": "./dist/index.d.ts",
36
+ "require": "./dist/index.js"
37
+ }
38
+ },
39
+ "scripts": {
40
+ "build": "tsup src/index.ts --format cjs --dts --clean",
41
+ "dev": "tsup src/index.ts --format cjs --watch",
42
+ "lint": "tsc --noEmit",
43
+ "test": "vitest run"
44
+ },
45
+ "dependencies": {
46
+ "@modelcontextprotocol/sdk": "^1.11.1",
47
+ "@rymi/node": "^1.0.1",
48
+ "zod": "^3.23.0"
49
+ },
50
+ "devDependencies": {
51
+ "tsup": "^8.0.0",
52
+ "typescript": "^5.0.0",
53
+ "vitest": "^1.6.0"
54
+ },
55
+ "files": [
56
+ "dist",
57
+ "README.md",
58
+ "LICENSE"
59
+ ]
60
60
  }