Codebase Knowledge Graph MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEMORY_FILE_PATH | No | Optional custom path for the knowledge graph persistence file (default: 'memory.json') |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_entitiesB | Create multiple new entities in the knowledge graph. |
| create_relationsB | Create multiple new relations between existing entities. |
| add_observationsC | Add observations to existing entities. |
| delete_entitiesA | Delete entities and their associated relations/observations by name. |
| delete_observationsC | Delete specific observations from entities. |
| delete_relationsC | Delete specific relations between entities. |
| read_graphA | Read the entire current knowledge graph. |
| search_nodesA | Search for nodes (entities) based on a query string across various fields. |
| open_nodesA | Retrieve specific entities by name and their direct relations. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose: creating, deleting, or querying entities, relations, or observations. No overlap between tools like create_entities and create_relations, or delete_entities and delete_observations.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_entities, delete_relations, search_nodes). No deviations or mixed conventions.
With 9 tools, the server covers the essential operations for a knowledge graph: CRUD for entities, relations, and observations, plus graph-wide and search queries. The count is well-scoped without bloat.
The tool set provides create, read (via open_nodes, read_graph, search_nodes), and delete operations for all core elements. The update aspect is partially covered by add_observations and create_relations, but missing explicit update for entity or relation properties, which is a minor gap.