@mosadd/mcp 3.0.0-alpha.4 → 3.0.0-alpha.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 +24 -14
- package/dist/bin/mcp.js +1 -1
- package/dist/{chunk-YDFU6S5E.js → chunk-4C36JDTJ.js} +482 -117
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/__tests__/integration.test.ts +1 -1
- package/src/providers/supabase-dm.ts +2 -2
- package/src/providers/supabase.ts +2 -2
- package/src/tools/index.ts +11 -3
- package/src/tools/knowledge.ts +52 -11
- package/src/tools/mail.ts +70 -2
- package/src/tools/mcall.ts +216 -0
- package/src/tools/mdm-voice.ts +206 -0
- package/src/tools/mdm.ts +58 -2
- package/src/tools/mirc-edge.ts +190 -0
- package/src/tools/mirc-members.ts +1 -1
- package/src/tools/mirc-messages.ts +7 -2
- package/src/tools/mirc.ts +1 -1
- package/src/tools/mroom-messages.ts +1 -1
- package/src/tools/mroom.ts +33 -1
package/README.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
MCP server for [mosadd](https://mosadd.dev) — exposes the OS modules (m\*) as Model Context Protocol tools so any agent runtime can talk to mosadd: Claude Code, Cursor, Windsurf, Cline, ChatGPT Apps, Lovable, Bolt, Goose, Manus, custom.
|
|
4
4
|
|
|
5
|
-
> **3.0.0-alpha** —
|
|
5
|
+
> **3.0.0-alpha.4** — **52 live tools across 6 live modules** (mDM incl. voice, mIRC, mROOM, mAIL, mTALK, mRAG) + the `comms_capabilities` discovery tool, wired to the mosadd backend (BYOK) as a strangler-fig step. Phase 2 routes through the hosted gateway at `mcp.mosadd.com` with the 167-event radar in front.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
### Claude Code
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
claude mcp add mosadd npx
|
|
12
|
+
claude mcp add mosadd -- npx -y @mosadd/mcp@alpha
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
### Cursor
|
|
@@ -21,7 +21,7 @@ claude mcp add mosadd npx -- -y @mosadd/mcp
|
|
|
21
21
|
"mcpServers": {
|
|
22
22
|
"mosadd": {
|
|
23
23
|
"command": "npx",
|
|
24
|
-
"args": ["-y", "@mosadd/mcp"],
|
|
24
|
+
"args": ["-y", "@mosadd/mcp@alpha"],
|
|
25
25
|
"env": {
|
|
26
26
|
"MOSADD_SUPABASE_URL": "https://<your-project>.supabase.co",
|
|
27
27
|
"MOSADD_SUPABASE_ANON_KEY": "<anon key>",
|
|
@@ -35,12 +35,12 @@ claude mcp add mosadd npx -- -y @mosadd/mcp
|
|
|
35
35
|
### Standalone
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
MOSADD_SUPABASE_URL=... MOSADD_SUPABASE_ANON_KEY=... MOSADD_USER_JWT=... npx @mosadd/mcp
|
|
38
|
+
MOSADD_SUPABASE_URL=... MOSADD_SUPABASE_ANON_KEY=... MOSADD_USER_JWT=... npx @mosadd/mcp@alpha
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
## BYOK — get your env values
|
|
42
42
|
|
|
43
|
-
While the hosted gateway is in development, the alpha runs in **local BYOK mode** — you supply your own Supabase credentials to talk to your own
|
|
43
|
+
While the hosted gateway is in development, the alpha runs in **local BYOK mode** — you supply your own Supabase credentials to talk to your own mosadd backend.
|
|
44
44
|
|
|
45
45
|
- `MOSADD_SUPABASE_URL` — your Supabase project URL (e.g. `https://abc.supabase.co`)
|
|
46
46
|
- `MOSADD_SUPABASE_ANON_KEY` — the public anon key from project settings
|
|
@@ -53,12 +53,16 @@ In Phase 2, run `mosadd login` to OAuth into hub.mosadd.com — no JWT-juggling
|
|
|
53
53
|
|
|
54
54
|
## Tools shipped in alpha
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
|
59
|
-
|
|
60
|
-
| `mDM_list` |
|
|
61
|
-
|
|
|
56
|
+
**52 live tools across 6 live modules** (mDM, mIRC, mROOM, mAIL, mTALK, mRAG) + the `comms_capabilities` discovery tool. Highlights per module:
|
|
57
|
+
|
|
58
|
+
| Module | Tools | What it does |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| **mDM** (12) | `mDM_list_contacts`, `mDM_send`, `mDM_send_unencrypted`, `mDM_edit`, `mDM_delete`, `mDM_list`, `mDM_publish_keys`, `mDM_respond_request` + 4 voice ops | 1:1 text + voice. Multi-thread per contact, X3DH / Double-Ratchet E2EE on `mDM_send` |
|
|
61
|
+
| **mIRC** (20) | `mIRC_create/list/get/update/delete`, member RBAC ops, `mIRC_post_message`, `mIRC_list_messages` + admin | Persistent Discord/Slack-style channels |
|
|
62
|
+
| **mROOM** (9) | `mROOM_create`, **`mROOM_create_guest_link`**, `mROOM_join/leave/close/list`, `mROOM_send_message`, `mROOM_list_messages` | Ephemeral rooms + single-call no-account guest links |
|
|
63
|
+
| **mTALK** (5) | `mTALK_open`, `mTALK_join`, `mTALK_press`, `mTALK_release`, `mTALK_state` | Half-duplex push-to-talk: one speaker, FIFO queue, anti-hog auto-release |
|
|
64
|
+
| **mAIL** (4) | `mAIL_send`, `mAIL_view`, `mAIL_list`, `mAIL_delete` | Mail; every user gets `<id>@mosadd.com` |
|
|
65
|
+
| **mRAG** (2) | `mRAG_ingest`, `mRAG_search` | RAG recall over the user's own data (hybrid vector + BM25) |
|
|
62
66
|
|
|
63
67
|
All tool names follow [RFC 0001](https://github.com/Hei33enberg/mosadd-os/blob/main/docs/rfcs/0001-module-naming.md) — `m<MODULE>_<operation>` snake_case.
|
|
64
68
|
|
|
@@ -86,7 +90,7 @@ Agent (Claude / Cursor / ...)
|
|
|
86
90
|
│ supabase.functions.invoke('message-send', ...)
|
|
87
91
|
│ + Authorization: Bearer <MOSADD_USER_JWT>
|
|
88
92
|
▼
|
|
89
|
-
|
|
93
|
+
mosadd backend Edge Function
|
|
90
94
|
│
|
|
91
95
|
│ RLS-checked insert
|
|
92
96
|
▼
|
|
@@ -103,14 +107,20 @@ For PTT / CALL / ROOM (real-time media), the architecture separates **control pl
|
|
|
103
107
|
|
|
104
108
|
| Env | Description | Required |
|
|
105
109
|
|---|---|---|
|
|
106
|
-
| `MOSADD_SUPABASE_URL` | Supabase project URL | yes |
|
|
107
|
-
| `MOSADD_SUPABASE_ANON_KEY` | Supabase anon key | yes |
|
|
110
|
+
| `MOSADD_SUPABASE_URL` | Supabase project URL — DM / IRC / ROOM / KB backend | yes (BYOK) |
|
|
111
|
+
| `MOSADD_SUPABASE_ANON_KEY` | Supabase anon key | yes (BYOK) |
|
|
108
112
|
| `MOSADD_USER_JWT` | User session token | yes (for tools that touch user data) |
|
|
113
|
+
| `MOSADD_RESEND_API_KEY` | Resend API key — enables `mAIL` outbound | no (mAIL disabled if unset) |
|
|
114
|
+
| `MOSADD_LIVEKIT_URL` | LiveKit `wss://…` URL — enables `mTALK` / `mROOM` voice | no (voice disabled if unset) |
|
|
115
|
+
| `MOSADD_LIVEKIT_API_KEY` | LiveKit API key | no (with `…_URL` / `…_API_SECRET`) |
|
|
116
|
+
| `MOSADD_LIVEKIT_API_SECRET` | LiveKit API secret | no |
|
|
109
117
|
| `MOSADD_API_KEY` | Hub API key (Phase 2 hosted mode) | no |
|
|
110
118
|
| `MOSADD_HUB_URL` | Override hub url | no |
|
|
111
119
|
| `MOSADD_MODE` | `local` / `cloud` / `self-host` | no (auto-detected) |
|
|
112
120
|
| `MOSADD_LOG_LEVEL` | `debug` / `info` / `warn` / `error` | no (default `info`) |
|
|
113
121
|
|
|
122
|
+
Missing optional keys fail closed — that channel is simply absent from `comms_capabilities`.
|
|
123
|
+
|
|
114
124
|
## License
|
|
115
125
|
|
|
116
126
|
Apache-2.0. See repo [LICENSE](https://github.com/Hei33enberg/mosadd-os/blob/main/LICENSE) and [NOTICE](https://github.com/Hei33enberg/mosadd-os/blob/main/NOTICE).
|