mcp-memgraph

v0.4.2
mcp-memgraph Checked 2 hours ago Published 11 days ago

MCP integration and utilities for Memgraph MCP server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_databases List Databases

List databases this session can access. The active one is flagged.

use_database Use Database

Switch the active database for this MCP session. The new name must be one of the databases your token authorizes. Switching persists for the duration of the MCP session and does not require a new login.

ParameterTypeDescription
name *string

run_cypher_query Run Cypher Query

Run a Cypher query on Memgraph and return one row per result, with each value returned in a type-preserving form: nodes, relationships and paths are tagged objects carrying their id, labels/type and endpoints; primitives, maps, lists, temporals and points keep their shape. Write operations are blocked if the server is in read-only mode.

ParameterTypeDescription
query *stringThe Cypher query to execute on the Memgraph database.

search_schema Search Schema

Search the entire graph schema (nodes, relationships and enums) by a regex pattern. Matches against labels, types, descriptions, and property keys/descriptions.

ParameterTypeDescription
pattern *stringA case-insensitive regex pattern to search for (e.g. "person", "pay.*ment").

get_node_schema Get Node Schema

Get the full schema definition of a node by its labels. Returns properties, indexes, constraints, and all relationships where this node appears.

ParameterTypeDescription
node_labels *arrayThe labels of the node to get the details of.

get_relationship_schema Get Relationship Schema

Get the full schema definition of a relationship by its type and connected node labels. Returns properties and indexes.

ParameterTypeDescription
end_node_labels *arrayThe labels of the end node of the relationship.
relationship_type *stringThe type of the relationship to get the details of.
start_node_labels *arrayThe labels of the start node of the relationship.

get_enum_schema Get Enum Schema

Get the schema definition of an enum by its name. Returns the enum name and its values.

ParameterTypeDescription
enum_name *stringThe name of the enum to get the details of.