@endiagram/mcp 0.1.14 → 0.1.16
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 +33 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,13 @@ Or install globally:
|
|
|
18
18
|
npm install -g @endiagram/mcp
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
##
|
|
21
|
+
## Connect
|
|
22
|
+
|
|
23
|
+
### Claude Code
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
claude mcp add endiagram npx @endiagram/mcp
|
|
27
|
+
```
|
|
22
28
|
|
|
23
29
|
### Claude Desktop
|
|
24
30
|
|
|
@@ -27,7 +33,7 @@ Add to your `claude_desktop_config.json`:
|
|
|
27
33
|
```json
|
|
28
34
|
{
|
|
29
35
|
"mcpServers": {
|
|
30
|
-
"
|
|
36
|
+
"endiagram": {
|
|
31
37
|
"command": "npx",
|
|
32
38
|
"args": ["@endiagram/mcp"]
|
|
33
39
|
}
|
|
@@ -35,10 +41,33 @@ Add to your `claude_desktop_config.json`:
|
|
|
35
41
|
}
|
|
36
42
|
```
|
|
37
43
|
|
|
38
|
-
###
|
|
44
|
+
### Cursor
|
|
45
|
+
|
|
46
|
+
Add to `.cursor/mcp.json` in your project root:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"mcpServers": {
|
|
51
|
+
"endiagram": {
|
|
52
|
+
"command": "npx",
|
|
53
|
+
"args": ["@endiagram/mcp"]
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### HTTP (zero install)
|
|
60
|
+
|
|
61
|
+
Any MCP client that supports HTTP transport:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
https://api.endiagram.com/mcp
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Smithery
|
|
39
68
|
|
|
40
69
|
```bash
|
|
41
|
-
|
|
70
|
+
smithery mcp add dushyant30suthar/endiagram
|
|
42
71
|
```
|
|
43
72
|
|
|
44
73
|
## Environment Variables
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ async function callApi(toolName, args) {
|
|
|
29
29
|
}
|
|
30
30
|
const PLAIN_LANG = " When presenting findings to the user, use plain everyday language. Never use jargon like 'betweenness centrality', 'min-cut', 'bridge node', 'dominator tree', 'vertex-disjoint paths', or 'topology classification'. Instead say 'bottleneck', 'single point of failure', 'no backup path', 'what controls what'. The raw data helps your analysis -- give the user clear, simple insights.";
|
|
31
31
|
const server = new McpServer({
|
|
32
|
-
name: "endiagram
|
|
32
|
+
name: "endiagram",
|
|
33
33
|
version: "0.1.0",
|
|
34
34
|
});
|
|
35
35
|
// --- analyze_system ---
|