Elasticsearch Knowledge Graph for MCP
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
ES_NODE | No | Elasticsearch node URL | http://localhost:9200 |
ES_PASSWORD | No | Elasticsearch password (if authentication is enabled) | |
ES_USERNAME | No | Elasticsearch username (if authentication is enabled) | |
KG_DEFAULT_ZONE | No | Default memory zone to use | default |
KG_INDEX_PREFIX | No | Prefix for Elasticsearch indices | knowledge-graph |
MEMORY_FILE_PATH | No | Path to memory JSON file (for import/export) |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
create_entities | Create entities in knowledge graph (memory) |
update_entities | Update entities in knowledge graph (memory) |
delete_entities | Delete entities from knowledge graph (memory) |
create_relations | Create relationships between entities in knowledge graph (memory) |
delete_relations | Delete relationships from knowledge graph (memory) |
search_nodes | Search entities using ElasticSearch query syntax. Supports boolean operators (AND, OR, NOT), fuzzy matching ( |
open_nodes | Get details about specific entities in knowledge graph (memory) and their relations |
add_observations | Add observations to an existing entity in knowledge graph (memory) |
mark_important | Mark entity as important in knowledge graph (memory) by boosting its relevance score |
get_recent | Get recently accessed entities from knowledge graph (memory) and their relations |
list_zones | List all available memory zones with metadata. |
create_zone | Create a new memory zone with optional description. |
delete_zone | Delete a memory zone and all its entities/relations. |
copy_entities | Copy entities between zones with optional relation handling. |
move_entities | Move entities between zones (copy + delete from source). |
merge_zones | Merge multiple zones with conflict resolution options. |
zone_stats | Get statistics for entities and relationships in a zone. |