Skip to content

Commit bc9d3d6

Browse files
committed
Add both neo4j-cypher and neo4j-memory
Signed-off-by: David Gageot <david.gageot@docker.com>
1 parent bca9b7b commit bc9d3d6

File tree

5 files changed

+260
-18
lines changed

5 files changed

+260
-18
lines changed

prompts/catalog.yaml

Lines changed: 44 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,13 +2739,54 @@ registry:
27392739
properties:
27402740
client_id:
27412741
type: string
2742+
wikipedia-mcp:
2743+
description: A Model Context Protocol (MCP) server that retrieves information from Wikipedia to provide context to LLMs.
2744+
title: Wikipedia
2745+
ref: github:docker/labs-ai-tools-for-devs?ref=main&path=prompts/mcp/wikipedia-mcp.md
2746+
readme: https://github.com/docker/labs-ai-tools-for-devs/blob/main/prompts/mcp/readmes/wikipedia-mcp.md
2747+
source: https://github.com/Rudra-ravi/wikipedia-mcp/tree/main
2748+
icon: https://avatars.githubusercontent.com/u/56668?s=200&v=4
2749+
tools:
2750+
- name: get_article
2751+
- name: get_related_topics
2752+
- name: get_summary
2753+
- name: search_wikipedia
2754+
prompts: 0
2755+
resources: {}
2756+
neo4j-cypher:
2757+
description: Interact with Neo4j using Cypher graph queries.
2758+
title: Neo4j Cypher
2759+
ref: github:docker/labs-ai-tools-for-devs?ref=main&path=prompts/mcp/neo4j-cypher.md
2760+
readme: https://github.com/docker/labs-ai-tools-for-devs/blob/main/prompts/mcp/readmes/neo4j-cypher.md
2761+
source: https://github.com/neo4j-contrib/mcp-neo4j/tree/main/servers/mcp-neo4j-cypher
2762+
icon: https://avatars.githubusercontent.com/u/916372?s=200&v=4
2763+
tools:
2764+
- name: get_neo4j_schema
2765+
- name: read_neo4j_cypher
2766+
- name: write_neo4j_cypher
2767+
secrets:
2768+
- name: neo4j.password
2769+
prompts: 0
2770+
resources: {}
2771+
config:
2772+
- name: neo4j-cypher
2773+
description: Configure the connection to Neo4j
2774+
type: object
2775+
properties:
2776+
url:
2777+
type: string
2778+
username:
2779+
type: string
2780+
required:
2781+
- url
2782+
- username
27422783
neo4j-memory:
2743-
description: Model Context Protocol with Neo4j.
2784+
description: Provide persistent memory capabilities through Neo4j graph database integration.
27442785
title: Neo4j Memory
27452786
ref: github:docker/labs-ai-tools-for-devs?ref=main&path=prompts/mcp/neo4j-memory.md
27462787
readme: https://github.com/docker/labs-ai-tools-for-devs/blob/main/prompts/mcp/readmes/neo4j-memory.md
2747-
source: https://github.com/slimslenderslacks/mcp-neo4j/tree/main/servers/mcp-neo4j-memory
2748-
icon: https://avatars.githubusercontent.com/u/182288589?s=200&v=4
2788+
source: https://github.com/neo4j-contrib/mcp-neo4j/tree/main/servers/mcp-neo4j-memory
2789+
icon: https://avatars.githubusercontent.com/u/916372?s=200&v=4
27492790
tools:
27502791
- name: add_observations
27512792
- name: create_entities
@@ -2772,17 +2813,3 @@ registry:
27722813
required:
27732814
- url
27742815
- username
2775-
wikipedia-mcp:
2776-
description: A Model Context Protocol (MCP) server that retrieves information from Wikipedia to provide context to LLMs.
2777-
title: Wikipedia
2778-
ref: github:docker/labs-ai-tools-for-devs?ref=main&path=prompts/mcp/wikipedia-mcp.md
2779-
readme: https://github.com/docker/labs-ai-tools-for-devs/blob/main/prompts/mcp/readmes/wikipedia-mcp.md
2780-
source: https://github.com/Rudra-ravi/wikipedia-mcp/tree/main
2781-
icon: https://avatars.githubusercontent.com/u/56668?s=200&v=4
2782-
tools:
2783-
- name: get_article
2784-
- name: get_related_topics
2785-
- name: get_summary
2786-
- name: search_wikipedia
2787-
prompts: 0
2788-
resources: {}

prompts/mcp/neo4j-cypher.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
mcp:
3+
- container:
4+
image: mcp/neo4j-cypher:latest
5+
workdir: /app
6+
secrets:
7+
neo4j.password: NEO4J_PASSWORD
8+
environment:
9+
NEO4J_URL: "{{neo4j.url}}"
10+
NEO4J_USERNAME: "{{neo4j.username}}"
11+
source:
12+
url: https://github.com/neo4j-contrib/mcp-neo4j/tree/main/servers/mcp-neo4j-cypher
13+
---

prompts/mcp/neo4j-memory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ mcp:
99
NEO4J_URL: "{{neo4j.url}}"
1010
NEO4J_USERNAME: "{{neo4j.username}}"
1111
source:
12-
url: https://github.com/slimslenderslacks/mcp-neo4j/tree/main/servers/mcp-neo4j-memory
12+
url: https://github.com/neo4j-contrib/mcp-neo4j/tree/main/servers/mcp-neo4j-memory
1313
---

prompts/mcp/readmes/neo4j-cypher.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Neo4j Cypher MCP Server
2+
3+
Interact with Neo4j using Cypher graph queries.
4+
5+
[What is an MCP Server?](https://www.anthropic.com/news/model-context-protocol)
6+
7+
## Characteristics
8+
Attribute|Details|
9+
|-|-|
10+
**Image Source**|Official Image
11+
**Docker Image**|[mcp/neo4j-cypher](https://hub.docker.com/repository/docker/mcp/neo4j-cypher)
12+
**Author**|[neo4j-contrib](https://github.com/neo4j-contrib)
13+
**Repository**|https://github.com/neo4j-contrib/mcp-neo4j
14+
**Dockerfile**|https://github.com/neo4j-contrib/mcp-neo4j/blob/main/servers/mcp-neo4j-cypher/Dockerfile
15+
**Docker Image built by**|Docker Inc.
16+
**Docker Scout Health Score**| ![Docker Scout Health Score](https://api.scout.docker.com/v1/policy/insights/org-image-score/badge/mcp/neo4j-cypher)
17+
**Verify Signature**|`COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/neo4j-cypher --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub`
18+
**Licence**|MIT License
19+
20+
## Available Tools
21+
Tools provided by this Server|Short Description
22+
-|-
23+
`get_neo4j_schema`|List all node, their attributes and their relationships to other nodes in the neo4j database.|
24+
`read_neo4j_cypher`|Execute a read Cypher query on the neo4j database.|
25+
`write_neo4j_cypher`|Execute a write Cypher query on the neo4j database.|
26+
27+
---
28+
## Tools Details
29+
30+
#### Tool: **`get_neo4j_schema`**
31+
List all node, their attributes and their relationships to other nodes in the neo4j database.
32+
If this fails with a message that includes "Neo.ClientError.Procedure.ProcedureNotFound"
33+
suggest that the user install and enable the APOC plugin.
34+
#### Tool: **`read_neo4j_cypher`**
35+
Execute a read Cypher query on the neo4j database.
36+
Parameters|Type|Description
37+
-|-|-
38+
`query`|`string`|The Cypher query to execute.
39+
`params`|`string` *optional*|The parameters to pass to the Cypher query.
40+
41+
---
42+
#### Tool: **`write_neo4j_cypher`**
43+
Execute a write Cypher query on the neo4j database.
44+
Parameters|Type|Description
45+
-|-|-
46+
`query`|`string`|The Cypher query to execute.
47+
`params`|`string` *optional*|The parameters to pass to the Cypher query.
48+
49+
---
50+
## Use this MCP Server
51+
52+
```json
53+
{
54+
"mcpServers": {
55+
"neo4j-cypher": {
56+
"command": "docker",
57+
"args": [
58+
"run",
59+
"-i",
60+
"--rm",
61+
"-e",
62+
"NEO4J_URL",
63+
"-e",
64+
"NEO4J_USERNAME",
65+
"-e",
66+
"NEO4J_PASSWORD",
67+
"mcp/neo4j-cypher"
68+
],
69+
"env": {
70+
"NEO4J_URL": "bolt://host.docker.internal:7687",
71+
"NEO4J_USERNAME": "neo4j",
72+
"NEO4J_PASSWORD": "password"
73+
}
74+
}
75+
}
76+
}
77+
```
78+
79+
[Why is it safer to run MCP Servers with Docker?](https://www.docker.com/blog/the-model-context-protocol-simplifying-building-ai-apps-with-anthropic-claude-desktop-and-docker/)

prompts/mcp/readmes/neo4j-memory.md

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
# Neo4j Memory MCP Server
2+
3+
Provide persistent memory capabilities through Neo4j graph database integration.
4+
5+
[What is an MCP Server?](https://www.anthropic.com/news/model-context-protocol)
6+
7+
## Characteristics
8+
Attribute|Details|
9+
|-|-|
10+
**Image Source**|Official Image
11+
**Docker Image**|[mcp/neo4j-memory](https://hub.docker.com/repository/docker/mcp/neo4j-memory)
12+
**Author**|[neo4j-contrib](https://github.com/neo4j-contrib)
13+
**Repository**|https://github.com/neo4j-contrib/mcp-neo4j
14+
**Dockerfile**|https://github.com/neo4j-contrib/mcp-neo4j/blob/main/servers/mcp-neo4j-memory/Dockerfile
15+
**Docker Image built by**|Docker Inc.
16+
**Docker Scout Health Score**| ![Docker Scout Health Score](https://api.scout.docker.com/v1/policy/insights/org-image-score/badge/mcp/neo4j-memory)
17+
**Verify Signature**|`COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/neo4j-memory --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub`
18+
**Licence**|MIT License
19+
20+
## Available Tools
21+
Tools provided by this Server|Short Description
22+
-|-
23+
`add_observations`|Add new observations to existing entities in the knowledge graph|
24+
`create_entities`|Create multiple new entities in the knowledge graph|
25+
`create_relations`|Create multiple new relations between entities in the knowledge graph.|
26+
`delete_entities`|Delete multiple entities and their associated relations from the knowledge graph|
27+
`delete_observations`|Delete specific observations from entities in the knowledge graph|
28+
`delete_relations`|Delete multiple relations from the knowledge graph|
29+
`find_nodes`|Open specific nodes in the knowledge graph by their names|
30+
`read_graph`|Read the entire knowledge graph|
31+
`search_nodes`|Search for nodes in the knowledge graph based on a query|
32+
33+
---
34+
## Tools Details
35+
36+
#### Tool: **`add_observations`**
37+
Add new observations to existing entities in the knowledge graph
38+
Parameters|Type|Description
39+
-|-|-
40+
`observations`|`array`|
41+
42+
---
43+
#### Tool: **`create_entities`**
44+
Create multiple new entities in the knowledge graph
45+
Parameters|Type|Description
46+
-|-|-
47+
`entities`|`array`|
48+
49+
---
50+
#### Tool: **`create_relations`**
51+
Create multiple new relations between entities in the knowledge graph. Relations should be in active voice
52+
Parameters|Type|Description
53+
-|-|-
54+
`relations`|`array`|
55+
56+
---
57+
#### Tool: **`delete_entities`**
58+
Delete multiple entities and their associated relations from the knowledge graph
59+
Parameters|Type|Description
60+
-|-|-
61+
`entityNames`|`array`|An array of entity names to delete
62+
63+
---
64+
#### Tool: **`delete_observations`**
65+
Delete specific observations from entities in the knowledge graph
66+
Parameters|Type|Description
67+
-|-|-
68+
`deletions`|`array`|
69+
70+
---
71+
#### Tool: **`delete_relations`**
72+
Delete multiple relations from the knowledge graph
73+
Parameters|Type|Description
74+
-|-|-
75+
`relations`|`array`|An array of relations to delete
76+
77+
---
78+
#### Tool: **`find_nodes`**
79+
Open specific nodes in the knowledge graph by their names
80+
Parameters|Type|Description
81+
-|-|-
82+
`names`|`array`|An array of entity names to retrieve
83+
84+
---
85+
#### Tool: **`read_graph`**
86+
Read the entire knowledge graph
87+
#### Tool: **`search_nodes`**
88+
Search for nodes in the knowledge graph based on a query
89+
Parameters|Type|Description
90+
-|-|-
91+
`query`|`string`|The search query to match against entity names, types, and observation content
92+
93+
---
94+
## Use this MCP Server
95+
96+
```json
97+
{
98+
"mcpServers": {
99+
"neo4j-memory": {
100+
"command": "docker",
101+
"args": [
102+
"run",
103+
"-i",
104+
"--rm",
105+
"-e",
106+
"NEO4J_URL",
107+
"-e",
108+
"NEO4J_USERNAME",
109+
"-e",
110+
"NEO4J_PASSWORD",
111+
"mcp/neo4j-memory"
112+
],
113+
"env": {
114+
"NEO4J_URL": "bolt://host.docker.internal:7687",
115+
"NEO4J_USERNAME": "neo4j",
116+
"NEO4J_PASSWORD": "password"
117+
}
118+
}
119+
}
120+
}
121+
```
122+
123+
[Why is it safer to run MCP Servers with Docker?](https://www.docker.com/blog/the-model-context-protocol-simplifying-building-ai-apps-with-anthropic-claude-desktop-and-docker/)

0 commit comments

Comments
 (0)