mcp-memgraph
v0.4.2MCP 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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
query * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
node_labels * | array | The 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.
| Parameter | Type | Description |
|---|---|---|
end_node_labels * | array | The labels of the end node of the relationship. |
relationship_type * | string | The type of the relationship to get the details of. |
start_node_labels * | array | The 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.
| Parameter | Type | Description |
|---|---|---|
enum_name * | string | The name of the enum to get the details of. |