@mag.ni/process 1.0.1 → 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/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,40 +1,26 @@
|
|
|
1
1
|
# @mag.ni/process
|
|
2
2
|
|
|
3
|
-
MCP server for [
|
|
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
|
-
##
|
|
5
|
+
## Install
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Run one command in your terminal:
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"process": {
|
|
13
|
-
"command": "npx",
|
|
14
|
-
"args": ["-y", "@mag.ni/process"]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
9
|
+
**Mac / Linux:**
|
|
10
|
+
```bash
|
|
11
|
+
claude mcp add process -- npx -y "@mag.ni/process"
|
|
18
12
|
```
|
|
19
13
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
```json
|
|
25
|
-
{
|
|
26
|
-
"mcpServers": {
|
|
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/dist/index.d.ts
CHANGED
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* MCP Processes - Server Entry Point
|
|
4
4
|
*
|
|
5
|
-
* Connects AI agents to
|
|
6
|
-
*
|
|
7
|
-
* decision points, and reporting. Each step in a process carries instructions
|
|
5
|
+
* Connects AI agents to MagniProcess — design workflows that guide agents
|
|
6
|
+
* through tasks, decisions, and reporting. Each step carries instructions
|
|
8
7
|
* written by the user, and the agent advances by choosing actions that the
|
|
9
8
|
* process designer defined.
|
|
10
9
|
*/
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;;GAOG"}
|
package/dist/index.js
CHANGED
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* MCP Processes - Server Entry Point
|
|
4
4
|
*
|
|
5
|
-
* Connects AI agents to
|
|
6
|
-
*
|
|
7
|
-
* decision points, and reporting. Each step in a process carries instructions
|
|
5
|
+
* Connects AI agents to MagniProcess — design workflows that guide agents
|
|
6
|
+
* through tasks, decisions, and reporting. Each step carries instructions
|
|
8
7
|
* written by the user, and the agent advances by choosing actions that the
|
|
9
8
|
* process designer defined.
|
|
10
9
|
*/
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO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K,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IACrC,MAAM,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACzB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mag.ni/process",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "MCP server for
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "MCP server for MagniProcess by MagniFinance — design workflows that guide AI agents through tasks, decisions, and reporting",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|