- Explore MCP Servers
- mcp-dbmem
Mcp Dbmem
What is Mcp Dbmem
mcp-dbmem is a poorly written Go-based memory management system designed for the Metoro Control Protocol (MCP). It provides a persistent knowledge graph implementation using PostgreSQL as the backend storage.
Use cases
Use cases for mcp-dbmem include managing complex relationships in datasets, facilitating research in AI, and providing a structured way to store and query information in applications.
How to use
To use mcp-dbmem, you can either run it via Docker or as a binary. For Docker, use the command provided in the installation section, ensuring the necessary environment variables are set. For binary, execute the mcp-dbmem binary with the required environment variables.
Key features
Key features of mcp-dbmem include creating and managing entities, relations, and observations in the knowledge graph, searching and querying the graph, and full graph reading capabilities.
Where to use
mcp-dbmem can be used in fields that require knowledge graph management, such as data science, artificial intelligence, and any application that benefits from structured data representation.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Dbmem
mcp-dbmem is a poorly written Go-based memory management system designed for the Metoro Control Protocol (MCP). It provides a persistent knowledge graph implementation using PostgreSQL as the backend storage.
Use cases
Use cases for mcp-dbmem include managing complex relationships in datasets, facilitating research in AI, and providing a structured way to store and query information in applications.
How to use
To use mcp-dbmem, you can either run it via Docker or as a binary. For Docker, use the command provided in the installation section, ensuring the necessary environment variables are set. For binary, execute the mcp-dbmem binary with the required environment variables.
Key features
Key features of mcp-dbmem include creating and managing entities, relations, and observations in the knowledge graph, searching and querying the graph, and full graph reading capabilities.
Where to use
mcp-dbmem can be used in fields that require knowledge graph management, such as data science, artificial intelligence, and any application that benefits from structured data representation.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
MCP-DBMEM
A poorly written Go-based memory management system for the Metoro Control Protocol (MCP), providing a persistent knowledge graph implementation.
Overview
MCP-DBMEM is a memory management service that implements a knowledge graph using PostgreSQL as the backend storage. It provides a set of tools for managing entities, relations, and observations within the knowledge graph.
Features
- Create and manage entities in the knowledge graph
- Create and manage relations between entities
- Add and manage observations for entities
- Search and query the knowledge graph
- Delete entities, relations, and observations
- Full graph reading capabilities
Tools
The service provides the following tools:
create_entities
: Create multiple new entities in the knowledge graphcreate_relations
: Create multiple new relations between entities (in active voice)add_observations
: Add new observations to existing entitiesdelete_entities
: Delete multiple entities and their associated relationsdelete_observations
: Delete specific observations from entitiesdelete_relations
: Delete multiple relations from the graphread_graph
: Read the entire knowledge graphsearch_nodes
: Search for nodes based on a queryopen_nodes
: Open specific nodes by their names
Installation
Claude
Docker
{
"mcpServers": {
"memory": {
"command": "docker",
"env": {
"DB_ADDRESS": "localhost",
"DB_USER": "mcp-dbmem",
"DB_PASSWORD": "mcp-dbmem",
"DB_DATABASE": "mcp-dbmem"
},
"args": [
"run",
"-i",
"--rm",
"tyrm/mcp-dbmem",
"direct"
]
}
}
}
Binary
{
"mcpServers": {
"memory": {
"command": "/path/to/mcp-dbmem",
"env": {
"DB_ADDRESS": "localhost",
"DB_USER": "mcp-dbmem",
"DB_PASSWORD": "mcp-dbmem",
"DB_DATABASE": "mcp-dbmem"
},
"args": [
"direct"
]
}
}
}
Development
Prerequisites
- Go 1.x
- PostgreSQL
- Make (for build commands)
Building
make build
Running
./bin/mcp-dbmem
Project Structure
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.