Back to Home
ArshavirH icon

k_base

Verified Safe

by ArshavirH

Overview

A persistent, semantic memory layer for AI agents and human teams to store, retrieve, and evolve project context over time.

Installation

Run Command
npx -y @modelcontextprotocol/inspector java -jar build/libs/kbase-*.jar --spring.profiles.active=mcp

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens250
Stars0
Forks0
Last Update2025-11-29

Tags

Semantic MemoryAI AgentsKnowledge BaseSpring BootpgvectorMCP Protocol