Skip to content

Commit d0189de

Browse files
authored
Memory - add mcp registry config (#225)
* add mcp registry config * update dockerfile and readme with mcp registry config
1 parent 63ee5b4 commit d0189de

File tree

6 files changed

+112
-0
lines changed

6 files changed

+112
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish Memory MCP to Github MCP Registry
2+
3+
on:
4+
workflow_dispatch: # Allows manual triggering of the workflow
5+
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
id-token: write # For OIDC
11+
contents: read
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
# MCP publishing (works for all package types)
18+
- name: Download MCP Publisher
19+
run: |
20+
LATEST_VERSION=$(curl -s https://api.github.com/repos/modelcontextprotocol/registry/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
21+
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/${LATEST_VERSION}/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz
22+
- name: Publish to MCP Registry
23+
run: |
24+
chmod +x mcp-publisher
25+
cd servers/mcp-neo4j-memory/
26+
../../mcp-publisher login github-oidc
27+
../../mcp-publisher publish
28+

.github/workflows/publish-memory.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,24 @@ jobs:
5555
run: |
5656
cd servers/mcp-neo4j-memory/
5757
uv publish
58+
59+
mcp-registry-publish:
60+
runs-on: ubuntu-latest
61+
needs: pypi-publish
62+
permissions:
63+
id-token: write # For OIDC
64+
contents: read
65+
66+
steps:
67+
- uses: actions/checkout@v4
68+
69+
- name: Download MCP Publisher
70+
run: |
71+
LATEST_VERSION=$(curl -s https://api.github.com/repos/modelcontextprotocol/registry/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
72+
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/${LATEST_VERSION}/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz
73+
- name: Publish to MCP Registry
74+
run: |
75+
chmod +x mcp-publisher
76+
cd servers/mcp-neo4j-memory/
77+
../../mcp-publisher login github-oidc
78+
../../mcp-publisher publish

servers/mcp-neo4j-memory/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Changed
66

77
### Added
8+
* Add config and Github workflow to add server to Github MCP Registry
89

910
## v0.4.1
1011

servers/mcp-neo4j-memory/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
LABEL io.modelcontextprotocol.server.name="io.github.neo4j-contrib/mcp-neo4j-memory"
2+
13
FROM python:3.11-slim
24

35
# Set working directory

servers/mcp-neo4j-memory/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 🧠🕸️ Neo4j Knowledge Graph Memory MCP Server
22

3+
mcp-name: io.github.neo4j-contrib/mcp-neo4j-memory
4+
35
## 🌟 Overview
46

57
A Model Context Protocol (MCP) server implementation that provides persistent memory capabilities through Neo4j graph database integration.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
3+
"name": "io.github.neo4j-contrib/mcp-neo4j-memory",
4+
"description": "MCP Neo4j Knowledge Graph Memory Server",
5+
"repository": {
6+
"url": "https://github.com/neo4j-contrib/mcp-neo4j",
7+
"source": "github",
8+
"subfolder": "servers/mcp-neo4j-memory"
9+
},
10+
"version": "1.0.0",
11+
"packages": [
12+
{
13+
"registryType": "pypi",
14+
"identifier": "mcp-neo4j-memory",
15+
"version": "0.4.1",
16+
"transport": {
17+
"type": "stdio"
18+
},
19+
"environmentVariables": [
20+
{
21+
"name": "NEO4J_URI",
22+
"description": "Neo4j connection URI",
23+
"isRequired": true,
24+
"format": "string",
25+
"isSecret": false
26+
},
27+
{
28+
"name": "NEO4J_USERNAME",
29+
"description": "Neo4j username",
30+
"isRequired": true,
31+
"format": "string",
32+
"isSecret": false
33+
},
34+
{
35+
"name": "NEO4J_PASSWORD",
36+
"description": "Neo4j password",
37+
"isRequired": true,
38+
"format": "string",
39+
"isSecret": true
40+
},
41+
{
42+
"name": "NEO4J_DATABASE",
43+
"description": "Neo4j database name",
44+
"isRequired": false,
45+
"format": "string",
46+
"isSecret": false
47+
},
48+
{
49+
"name": "NEO4J_NAMESPACE",
50+
"description": "Tool namespace prefix",
51+
"isRequired": false,
52+
"format": "string",
53+
"isSecret": false
54+
}
55+
]
56+
}
57+
]
58+
}

0 commit comments

Comments
 (0)