Skip to content

Commit 59ecf05

Browse files
committed
shorten tools names < 60 chars
1 parent 3c73e69 commit 59ecf05

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ Thumbs.db
4747
__pycache__
4848
servers/mcp-neo4j-data-modeling/test.ipynb
4949
servers/mcp-neo4j-data-modeling/src/mcp_neo4j_data_modeling/temp.html
50+
mcp.json

servers/mcp-neo4j-data-modeling/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Next
22

33
### Fixed
4+
* Shorten tool names to comply with Cursor name length restrictions
45

56
### Changed
67
* Removed NVL visualization due to compatibility issues

servers/mcp-neo4j-data-modeling/src/mcp_neo4j_data_modeling/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def get_mermaid_config_str(data_model: DataModel) -> str:
127127
return dm_validated.get_mermaid_config_str()
128128

129129
@mcp.tool()
130-
def get_node_cypher_ingest_query_for_many_records(
130+
def get_node_cypher_ingest_query(
131131
node: Node = Field(description="The node to get the Cypher query for."),
132132
) -> str:
133133
"""
@@ -141,7 +141,7 @@ def get_node_cypher_ingest_query_for_many_records(
141141
return node.get_cypher_ingest_query_for_many_records()
142142

143143
@mcp.tool()
144-
def get_relationship_cypher_ingest_query_for_many_records(
144+
def get_relationship_cypher_ingest_query(
145145
data_model: DataModel = Field(
146146
description="The data model snippet that contains the relationship, start node and end node."
147147
),

0 commit comments

Comments
 (0)