@notus-os/mcp 0.1.20 → 0.1.22

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
@@ -2,13 +2,19 @@
2
2
 
3
3
  Claude Code and remote MCP clients as an interface to notusOS. Published to npm; installed locally by strategists via `npx`.
4
4
 
5
- Admins get the full tool surface. Non-admin notusOS team members get read-only tools for their assigned clients; write workflows stay in notusOS.
5
+ Admins get the full tool surface. Non-admin notusOS team members get read-only tools for every non-excluded client in organizations where they are a strategist; write workflows stay in notusOS. CS assignment remains available as a roster filter, but does not grant or remove access.
6
6
 
7
7
  Full documentation lives at [www.notusos.com/documentation](https://www.notusos.com/documentation).
8
8
  For the private Luca Wetzel workflow that creates scheduled Content Engine posts
9
9
  from structured call-breakdown packages, see
10
10
  [create_content_engine_post_package](https://www.notusos.com/documentation/create-content-engine-post-package).
11
11
 
12
+ Remote MCP deploys with Railway from this package directory:
13
+
14
+ ```bash
15
+ railway up
16
+ ```
17
+
12
18
  ## Quick start
13
19
 
14
20
  ```bash
@@ -53,9 +59,15 @@ The remote server advertises OAuth protected-resource metadata at
53
59
  `/.well-known/oauth-protected-resource`; notusOS serves the authorization-code
54
60
  flow at `/oauth/authorize` and `/api/mcp/oauth/token`.
55
61
 
56
- For container deploys, use `apps/mcp-server` as the service root. Its local
57
- `Dockerfile` starts `notusos-mcp serve`; set `NOTUSOS_API_URL`,
58
- `NOTUSOS_AUTH_BASE_URL`, and `NOTUSOS_MCP_PUBLIC_URL`.
62
+ For container deploys, use the **repository root** as the Railway Root Directory
63
+ (the Dockerfile copies `shared/` + `apps/mcp-server/`). Its `Dockerfile` starts
64
+ `notusos-mcp serve`. Automatic notusOS scheduling lives on the persistent
65
+ `scheduled-clock` service; durable execution lives on `background-worker`.
66
+
67
+ Required MCP env vars:
68
+ - `NOTUSOS_API_URL` — notusOS app origin (e.g. `https://app.notusos.com`)
69
+ - `NOTUSOS_AUTH_BASE_URL` — same as API URL in production
70
+ - `NOTUSOS_MCP_PUBLIC_URL` — public MCP URL
59
71
 
60
72
  ## Development
61
73
 
@@ -82,9 +94,9 @@ After any change that affects auth or the tool surface, run through:
82
94
  2. `npx @notus-os/mcp status` — confirms the token is stored.
83
95
  3. Register in Claude Code (see config above) and restart.
84
96
  4. In Claude Code, invoke the canary flow:
85
- - "list my clients" → `list_clients` returns real data
97
+ - "list every client I can access" → `list_clients` returns clients across strategist organizations, including clients assigned to teammates
86
98
  - "give me the full picture for <client name>" → `get_client_detail` with a picked id
87
- - "what posts does <client> have?" → `list_posts` via the target ids from above
99
+ - "which posts brought the most ICP people?" → `get_analytics_posts`, then `get_analytics_post_detail` for exact counts, signal records, and ICP buckets
88
100
  5. Revoke in Settings → API Keys → retry any tool → expect a user-facing `AUTH_EXPIRED` with the "run notusos-mcp login" suggestion.
89
101
  6. Impersonation boundary check: attempt to target a client whose org the strategist is not in → expect `FORBIDDEN`.
90
102