@mag.ni/process 1.0.2 → 1.0.3
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 +13 -45
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,39 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
MCP server for [MagniProcess](https://process.mag.ni) by [MagniFinance](https://mag.ni) — design workflows that guide AI agents through tasks, decisions, and reporting.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
Add to your `.mcp.json` (project root or `~/.claude.json`):
|
|
8
|
-
|
|
9
|
-
```json
|
|
10
|
-
{
|
|
11
|
-
"mcpServers": {
|
|
12
|
-
"process": {
|
|
13
|
-
"command": "npx",
|
|
14
|
-
"args": ["-y", "@mag.ni/process"]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
```
|
|
5
|
+
## Install
|
|
19
6
|
|
|
20
|
-
|
|
7
|
+
Run one command in your terminal:
|
|
21
8
|
|
|
22
|
-
|
|
9
|
+
**Mac / Linux:**
|
|
10
|
+
```bash
|
|
11
|
+
claude mcp add process -- npx -y "@mag.ni/process"
|
|
12
|
+
```
|
|
23
13
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"process": {
|
|
28
|
-
"command": "cmd",
|
|
29
|
-
"args": ["/c", "npx", "-y", "@mag.ni/process"]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
14
|
+
**Windows:**
|
|
15
|
+
```bash
|
|
16
|
+
claude mcp add process -- cmd /c npx -y "@mag.ni/process"
|
|
33
17
|
```
|
|
34
18
|
|
|
35
|
-
|
|
19
|
+
Restart Claude Code. On first use, a browser window opens for authentication. After signing in, the token is stored locally and reused automatically.
|
|
36
20
|
|
|
37
|
-
|
|
21
|
+
Updates are picked up automatically when the MCP server restarts — no manual upgrade needed.
|
|
22
|
+
|
|
23
|
+
> **Why project-level?** Each MCP server instance maintains its own agent session. Installing globally causes session conflicts when multiple projects try to claim different agent identities simultaneously. Project-level installation keeps each project's session isolated.
|
|
38
24
|
|
|
39
25
|
## Configuration
|
|
40
26
|
|
|
@@ -46,24 +32,6 @@ All settings have sensible defaults. Override via the `env` block in `.mcp.json`
|
|
|
46
32
|
| `PROCESSES_AUTH_URL` | `https://auth.mag.ni` | OAuth authorization server |
|
|
47
33
|
| `PROCESSES_OAUTH_CLIENT_ID` | `process-mcp` | OAuth client ID |
|
|
48
34
|
| `PROCESSES_OAUTH_CALLBACK_PORT` | `19823` | Local port for OAuth callback |
|
|
49
|
-
| `SENTRY_DSN` | _(disabled)_ | Error reporting endpoint |
|
|
50
|
-
|
|
51
|
-
Example with custom API URL (e.g. for staging):
|
|
52
|
-
|
|
53
|
-
```json
|
|
54
|
-
{
|
|
55
|
-
"mcpServers": {
|
|
56
|
-
"process": {
|
|
57
|
-
"command": "npx",
|
|
58
|
-
"args": ["-y", "@mag.ni/process"],
|
|
59
|
-
"env": {
|
|
60
|
-
"PROCESSES_API_URL": "https://process.office.mag.ni",
|
|
61
|
-
"PROCESSES_AUTH_URL": "https://auth.office.mag.ni"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
35
|
|
|
68
36
|
## Available Tools
|
|
69
37
|
|
package/package.json
CHANGED