
okooo5km/memory-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
okooo5km/memory-mcp-server — это кандидат на MCP-сервер, импортированный из https://github.com/okooo5km/memory-mcp-server.
Обзор
okooo5km/memory-mcp-server — это кандидат на MCP-сервер, импортированный из https://github.com/okooo5km/memory-mcp-server.
Обзор (машинный перевод)
Сервер Model Context Protocol, предоставляющий возможности управления графами знаний. Этот сервер позволяет LLM создавать, читать, обновлять и удалять сущности и связи в постоянном графе знаний, помогая ассистентам искусственного интеллекта сохранять память между разговорами. Это реализация Swift официального TypeScript Memory MCP Server.
Примечание: Для этой версии Swift требуется macOS 14.0 или новее. Для более широкой поддержки платформ (включая Windows, Linux и macOS 11.0+) обратите внимание на реализацию языка Go: memory-mcp-server-go.
✨ Особенности
- Хранение графа знаний: Поддерживать постоянный граф сущностей и их взаимосвязей
- Управление сущностями: Создание, получение, обновление и удаление сущностей с пользовательскими типами
- Отслеживание отношений: Определять и управлять отношениями между объектами в активном голосовом виде
- Система наблюдения: Добавлять и удалять наблюдения об объектах со временем
- Мощный поиск: Найдите релевантные узлы по названию, типу или содержимому наблюдения
- Постоянное хранилище: данные сохраняются между сессиями в простом формате JSON
Доступные инструменты
create_entities- Создать несколько новых сущностей в графе знаний
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Memory MCP Server
A Model Context Protocol server that provides knowledge graph management capabilities. This server enables LLMs to create, read, update, and delete entities and relations in a persistent knowledge graph, helping AI assistants maintain memory across conversations. This is a Swift implementation of the official TypeScript Memory MCP Server.
Note: This Swift version requires macOS 14.0 or later. For broader platform support (including Windows, Linux, and macOS 11.0+), check out the Go language implementation: memory-mcp-server-go.
✨ Features
- Knowledge Graph Storage: Maintain a persistent graph of entities and their relationships
- Entity Management: Create, retrieve, update, and delete entities with custom types
- Relation Tracking: Define and manage relationships between entities in active voice
- Observation System: Add and remove observations about entities over time
- Powerful Search: Find relevant nodes by name, type, or observation content
- Persistent Storage: Data persists between sessions in a simple JSON format
Available Tools
-
create_entities- Create multiple new entities in the knowledge graphentities(array, required): Array of entity objects to createname(string): The name of the entityentityType(string): The type of the entityobservations(array of strings): Observations associated with the entity
-
create_relations- Create multiple new relations between entitiesrelations(array, required): Array of relation objectsfrom(string): The name of the entity where the relation startsto(string): The name of the entity where the relation endsrelationType(string): The type of the relation (in active voice)
-
add_observations- Add new observations to existing entitiesobservations(array, required): Array of observation additionsentityName(string): The name of the entity to add observations tocontents(array of strings): The observations to add
-
delete_entities- Delete multiple entities and their associated relationsentityNames(array, required): Array of entity names to delete
-
delete_observations- Delete specific observations from entitiesdeletions(array, required): Array of observation deletionsentityName(string): The name of the entity containing the observationsobservations(array of strings): The observations to delete
-
delete_relations- Delete multiple relations from the knowledge graphrelations(array, required): Array of relation objects to deletefrom(string): The source entity nameto(string): The target entity name
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
"mcpServers": {
"memory": {
"command": "memory-mcp-server",
"env": {
"MEMORY_FILE_PATH": "/path/to/your/memory.json"
}
}
}