Skip to content

Commit 56933c8

Browse files
authored
Merge pull request #20 from akollegger/missing-apoc
(mcp-neo4j-cypher) get_neo4j_schema() missing APOC
2 parents 4651a34 + 467ef26 commit 56933c8

File tree

1 file changed

+4
-1
lines changed
  • servers/mcp-neo4j-cypher/src/mcp_neo4j_cypher

1 file changed

+4
-1
lines changed

servers/mcp-neo4j-cypher/src/mcp_neo4j_cypher/server.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ def create_mcp_server(neo4j_driver: AsyncDriver, database: str = "neo4j") -> Fas
8484
mcp: FastMCP = FastMCP("mcp-neo4j-cypher", dependencies=["neo4j", "pydantic"])
8585

8686
async def get_neo4j_schema() -> list[types.TextContent]:
87-
"""List all node, their attributes and their relationships to other nodes in the neo4j database"""
87+
"""List all node, their attributes and their relationships to other nodes in the neo4j database.
88+
If this fails with a message that includes "Neo.ClientError.Procedure.ProcedureNotFound"
89+
suggest that the user install and enable the APOC plugin.
90+
"""
8891

8992
get_schema_query = """
9093
call apoc.meta.data() yield label, property, type, other, unique, index, elementType

0 commit comments

Comments
 (0)