Skip to main content
Glama
MWG-Logan

Central-Memory-MCP

by MWG-Logan

Central Memory MCP Server (.NET 10 Azure Functions)

Trust Score

Model Context Protocol (MCP) compliant memory & knowledge graph server implemented in .NET 10 (Azure Functions isolated worker). Provides durable project memory (entities, relations, observations) for AI assistants with workspace isolation and simple HTTP tool endpoints.

Implemented MCP Tools

Current function set (alpha stage):

  • read_graph - returns all entities for a workspace (relations currently queried separately and joined)

  • upsert_entity - create or update entity (preserves existing Id if name exists)

  • upsert_relation - create or update relation between two entities (requires GUIDs or resolvable names)

  • get_entity_relations - list relations originating from a specific entity

  • Health & Ready endpoints (/api/health, /api/ready)

Planned (not yet implemented): search_entities, search_relations, stats, temporal, batch operations, merge/detect duplicates.

Related MCP server: Knowledge Graph MCP Server

Data Model

  • Entities table: PartitionKey = WorkspaceName, RowKey = Guid (Id)

  • Relations table: PartitionKey = WorkspaceName, RowKey = Guid (Id)

  • Workspaces table (future expansion)

Observations stored as a single delimited string ("||") internally; split into List at read time.

Quick Start

dotnet restore
dotnet build
func start --port 7071
curl http://localhost:7071/api/health

To read the graph, invoke the read_graph MCP tool from the client and supply the workspaceName parameter.

Directory Layout

flowchart TD
    A[CentralMemoryMcp.Functions]
    A --> P[Program.cs]
    A --> SR[ServiceRegistration.cs]
    A --> F[Functions]
    F --> GF[GraphFunctions.cs]
    F --> HF[HealthFunctions.cs]
    A --> S[Services]
    S --> KGS[KnowledgeGraphService.cs]
    A --> ST[Storage]
    ST --> TSS[TableStorageService.cs]
    A --> M[Models]
    M --> GM[GraphModels.cs]
    A --> CFG[appsettings.json]
    A --> HOST[host.json]

Usage Notes

  • Use workspaceName consistently; workspaceId in docs replaced.

  • Upsert preserves entity identity by lookup on (WorkspaceName + Name).

  • Relation upsert requires entity GUIDs or resolves names; fails if names missing.

Logging & Telemetry

Add Application Insights connection to capture request latency & storage dependency tracking (future enhancement).

Roadmap

Add search, pagination, stats aggregation, batch operations, duplicate detection, merge strategy, semantic vector layer.

License

MIT.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A TypeScript-based MCP server that provides project-specific knowledge graph memory for LLM agents to store and retrieve entities, relations, and observations. It features disk-persistent storage and supports cross-project knowledge sharing to enhance agent long-term memory.
    14
    19
    7
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    A TypeScript MCP server for managing persistent knowledge graphs with entities, directional relations, and time-based observations. It enables users to create, search, and track structured information with built-in concurrency control and JSON file storage.
    -
  • A
    license
    A
    quality
    A
    maintenance
    MCP server for Statewave, an open-source memory runtime for AI agents. Provides persistent memory, context retrieval, and memory compilation through the Model Context Protocol.
    6
    25
    3
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Persistent knowledge graph MCP server with SQLite backend, offering graph traversal, fuzzy search, and temporal queries for entities and relations. It serves as a drop-in replacement for the npm mcp-server-memory with enhanced capabilities.
    12
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MWG-Logan/Central-Memory-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server