Version 4.43 or later needs to be installed to add the server automatically
Use cases
About
Knowledge graph-based persistent memory system.
| Attribute | Details |
|---|---|
| Docker Image | mcp/memory |
| Author | modelcontextprotocol |
| Repository | https://github.com/modelcontextprotocol/servers |
| Dockerfile | https://github.com/modelcontextprotocol/servers/blob/2025.4.24/src/memory/Dockerfile |
| Docker Image built by | Docker Inc. |
| Docker Scout Health Score | |
| Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/memory --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
| Licence | MIT License |
| Tools provided by this Server | 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 |
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 |
add_observationsAdd new observations to existing entities in the knowledge graph
| Parameters | Type | Description |
|---|---|---|
observations | array |
create_entitiesCreate multiple new entities in the knowledge graph
| Parameters | Type | Description |
|---|---|---|
entities | array |
create_relationsCreate multiple new relations between entities in the knowledge graph. Relations should be in active voice
| Parameters | Type | Description |
|---|---|---|
relations | array |
delete_entitiesDelete multiple entities and their associated relations from the knowledge graph
| Parameters | Type | Description |
|---|---|---|
entityNames | array | An array of entity names to delete |
delete_observationsDelete specific observations from entities in the knowledge graph
| Parameters | Type | Description |
|---|---|---|
deletions | array |
delete_relationsDelete multiple relations from the knowledge graph
| Parameters | Type | Description |
|---|---|---|
relations | array | An array of relations to delete |
open_nodesOpen specific nodes in the knowledge graph by their names
| Parameters | Type | Description |
|---|---|---|
names | array | An array of entity names to retrieve |
read_graphRead the entire knowledge graph
search_nodesSearch for nodes in the knowledge graph based on a query
| Parameters | Type | Description |
|---|---|---|
query | string | The search query to match against entity names, types, and observation content |
{
"mcpServers": {
"memory": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/local-directory:/local-directory",
"mcp/memory"
]
}
}
}
Manual installation
You can install the MCP server using:
Installation for