You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: servers/mcp-neo4j-data-modeling/README.md
+34-8Lines changed: 34 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,6 @@ A Model Context Protocol (MCP) server implementation that provides tools for cre
10
10
11
11
The server provides these resources:
12
12
13
-
-`resource://init`
14
-
- Create an empty data model to start with
15
-
- Returns: Empty DataModel with no nodes or relationships
16
-
17
13
-`resource://schema/node`
18
14
- Get the JSON schema for a Node object
19
15
- Returns: JSON schema defining the structure of a Node
@@ -29,6 +25,11 @@ The server provides these resources:
29
25
-`resource://schema/data_model`
30
26
- Get the JSON schema for a DataModel object
31
27
- Returns: JSON schema defining the structure of a DataModel
28
+
29
+
-`resource://neo4j_data_ingest_process`
30
+
- Get a detailed explanation of the recommended process for ingesting data into Neo4j using the data model
31
+
- Returns: Markdown document explaining the ingest process
32
+
32
33
33
34
### 🛠️ Tools
34
35
@@ -54,11 +55,11 @@ The server offers these core tools:
54
55
- Returns: True if valid, raises ValueError if invalid
55
56
56
57
#### 👁️ Visualization Tools
57
-
-`visualize_data_model`
58
-
- Generate and open an interactive visualization of the data modelin your browser
58
+
-`get_mermaid_config_str`
59
+
- Generate a Mermaid diagram configuration string for the data model, suitable for visualization in tools that support Mermaid
59
60
- Input:
60
61
-`data_model` (DataModel): The data model to visualize
61
-
- Returns: None (opens browser visualization)
62
+
- Returns: Mermaid configuration string representing the data model
62
63
63
64
#### 🔄 Import/Export Tools
64
65
@@ -76,6 +77,31 @@ These tools provide integration with **[Arrows](https://arrows.app/)** - a graph
76
77
-`data_model` (DataModel): The data model to export
77
78
- Returns: JSON string compatible with Arrows app
78
79
80
+
#### 📝 Cypher Ingest Tools
81
+
82
+
These tools may be used to create Cypher ingest queries based on the data model. These queries may then be used by other MCP servers or applications to load data into Neo4j.
83
+
84
+
-`get_constraints_cypher_queries`
85
+
- Generate Cypher queries to create constraints (e.g., unique keys) for all nodes in the data model
86
+
- Input:
87
+
-`data_model` (DataModel): The data model to generate constraints for
88
+
- Returns: List of Cypher statements for constraints
89
+
90
+
-`get_node_cypher_ingest_query`
91
+
- Generate a Cypher query to ingest a list of node records into Neo4j
92
+
- Input:
93
+
-`node` (Node): The node definition (label, key property, properties)
0 commit comments