openflowkit 0.2.1 → 0.2.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.
- package/README.md +2 -1
- package/openflowkit-mcp.js +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -9,10 +9,11 @@ npx openflowkit validate flow.ofk # line-by-line errors; exit 1
|
|
|
9
9
|
npx openflowkit discover . # propose an architecture model from the repo
|
|
10
10
|
npx openflowkit map . --html map.html # what the repo is made of, as a page
|
|
11
11
|
npx openflowkit --help # every command
|
|
12
|
+
npx -y openflowkit mcp # the MCP server for Claude Code, Cursor and other agents
|
|
12
13
|
```
|
|
13
14
|
|
|
14
15
|
Install it once with `npm i -g openflowkit`, then run `openflowkit …`.
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
For Claude Code: `claude mcp add openflowkit -- npx -y openflowkit mcp`. The engine is [`@vrun-design/openflowkit-mcp`](https://www.npmjs.com/package/@vrun-design/openflowkit-mcp); both names run the same thing. Docs: [docs.openflowkit.com/cli](https://docs.openflowkit.com/cli/).
|
|
17
18
|
|
|
18
19
|
MIT licensed.
|
package/openflowkit-mcp.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// The MCP server,
|
|
2
|
+
// The MCP server, as `openflowkit-mcp` after `npm i -g openflowkit` (or `npx -y -p openflowkit openflowkit-mcp`).
|
|
3
3
|
import '@vrun-design/openflowkit-mcp/dist/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openflowkit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"mcpName": "io.github.openflowkit/openflowkit-mcp",
|
|
4
5
|
"description": "The OpenFlowKit CLI: render Mermaid, D2, Structurizr or OpenFlow DSL to SVG, validate diagrams in CI, map a repo. Same as @vrun-design/openflowkit-mcp.",
|
|
5
6
|
"keywords": ["diagram", "cli", "mermaid", "d2", "structurizr", "svg", "architecture", "mcp", "openflowkit"],
|
|
6
7
|
"homepage": "https://docs.openflowkit.com/cli/",
|
|
@@ -11,5 +12,5 @@
|
|
|
11
12
|
"bin": { "openflowkit": "./openflowkit.js", "openflowkit-mcp": "./openflowkit-mcp.js" },
|
|
12
13
|
"files": ["openflowkit.js", "openflowkit-mcp.js", "README.md", "LICENSE"],
|
|
13
14
|
"engines": { "node": ">=20.11" },
|
|
14
|
-
"dependencies": { "@vrun-design/openflowkit-mcp": "
|
|
15
|
+
"dependencies": { "@vrun-design/openflowkit-mcp": "0.2.2" }
|
|
15
16
|
}
|