k_base
Verified Safeby ArshavirH
Overview
A persistent, semantic memory layer for AI agents and human teams to store, retrieve, and evolve project context over time.
Installation
npx -y @modelcontextprotocol/inspector java -jar build/libs/kbase-*.jar --spring.profiles.active=mcpEnvironment Variables
- OPENAI_API_KEY
- SPRING_DATASOURCE_URL
- SPRING_DATASOURCE_USERNAME
- SPRING_DATASOURCE_PASSWORD
Security Notes
The application uses Spring Boot's `@Valid` for input validation. Database credentials for local setup are hardcoded in `application.yaml` and `docker-compose.yaml` (username: postgres, password: user123), which are expected for development but should be externalized for production. CORS is wide open by default (`allowedOriginPatterns("*")`) which is generally not recommended for production. Filter expressions in `KnowledgeQueryService` use string escaping (`s.replace("'", "''")`) for project codes and tags, which is an effort to prevent injection but relies on the underlying `PgVectorStore` to correctly parameterize queries.
Similar Servers
memorizer-v1
A .NET-based service for AI agents to store, retrieve, and search through long-term memories using vector embeddings, PostgreSQL (pgvector), and a Model Context Protocol (MCP) API, featuring versioning, relationships, and asynchronous chunking.
pluggedin-app
A testing environment for MCP (Model Context Protocol) servers, enabling interaction via a chat interface powered by Large Language Models (LLMs) and LangChain ReAct framework.
Simple-Memory-Extension-MCP-Server
A persistent key-value memory store for AI agents, designed to extend context windows and enable semantic search over stored memories.
post-cortex
Post-Cortex transforms ephemeral AI conversations into persistent, searchable knowledge, enabling AI assistants to maintain memory across sessions with semantic search and automatic knowledge graph construction.