-
Install Meshagent CLI
-
Sign Up and Authenticate with Meshagent
Follow these instructions. -
Run the MCP Neo4j Memory Service in a Room
- This command starts a Meshagent Room containing a test MCP server tool instance.
- Room and its agents will close if inactive.
NEO4J_URL
: URL for connecting to your Neo4j database (e.g.bolt://host.docker.internal:7687
)NEO4J_USERNAME
: Neo4j database username (default:neo4j
)NEO4J_PASSWORD
: Neo4j database password (default:password
)MESHAGENT_PORT
: Internal port for the MCP server (default:8001
)
-
Join Room with a Chatbot linked to the Tools
- This will launch a chatbot in the Meshagent Room that can use the Neo4j memory tools.
- Multiple toolkits can be attached to an agent in the same room.
- Room access link is provided after running this command.
-
Try it Out
- Open the provided Room link in your browser.
- Send a message to the agent (chatbot) to interact with the MCP Neo4j memory tools in real time!
Project-Level Deployment (Persistent Tools in Every Room)
To have the MCP server tools and chatbot automatically available in all new Rooms under your Meshagent project (ideal for production):-
Create Persistent MCP Neo4j Memory Service
-
Create Persistent Chatbot Service Linked to Tools
- Now, every new Room created in your Meshagent project will automatically gain the Neo4j MCP server and linked chatbot agent.
- No local or manual server management required.
Tools Available
This MCP Server provides persistent memory capabilities using Neo4j and exposes the following tools:Tool Summary
Tool | Short Description |
---|---|
add_observations | Add new observations to existing entities in the knowledge graph |
create_entities | Create multiple new entities in the knowledge graph |
create_relations | Create multiple new relations between entities in the knowledge graph. |
delete_entities | Delete multiple entities and their associated relations from the knowledge graph |
delete_observations | Delete specific observations from entities in the knowledge graph |
delete_relations | Delete multiple relations from the knowledge graph |
find_nodes | Find specific nodes in the knowledge graph by their names |
open_nodes | Open specific nodes in the knowledge graph by their names |
read_graph | Read the entire knowledge graph |
search_nodes | Search for nodes in the knowledge graph based on a query |
Tools Details
add_observations
Add new observations to existing entities in the knowledge graphParameter | Type | Description |
---|---|---|
observations | array |
create_entities
Create multiple new entities in the knowledge graphParameter | Type | Description |
---|---|---|
entities | array |
create_relations
Create multiple new relations between entities in the knowledge graph. Relations should be in active voiceParameter | Type | Description |
---|---|---|
relations | array |
delete_entities
Delete multiple entities and their associated relations from the knowledge graphParameter | Type | Description |
---|---|---|
entityNames | array | An array of entity names to delete |
delete_observations
Delete specific observations from entities in the knowledge graphParameter | Type | Description |
---|---|---|
deletions | array |
delete_relations
Delete multiple relations from the knowledge graphParameter | Type | Description |
---|---|---|
relations | array | An array of relations to delete |
find_nodes
Find specific nodes in the knowledge graph by their namesParameter | Type | Description |
---|---|---|
names | array | An array of entity names to retrieve |
open_nodes
Open specific nodes in the knowledge graph by their namesParameter | Type | Description |
---|---|---|
names | array | An array of entity names to retrieve |
read_graph
Read the entire knowledge graphsearch_nodes
Search for nodes in the knowledge graph based on a queryParameter | Type | Description |
---|---|---|
query | string | The search query to match against entity names, types, and observation content |
Meshagent & MCP Useful Links
- Meshagent Website: https://www.meshagent.com/
- Meshagent Read The Docs: https://docs.meshagent.com
- Meshagent MCP Tool Image (DockerHub): https://hub.docker.com/r/meshagent/mcp-neo4j-memory