Back to Home
jqlts1 icon

thebrain-mcp-server

by jqlts1

Overview

Integrates TheBrain knowledge graph with AI assistants by providing a Model Context Protocol (MCP) server, a RESTful API, and a Spaced Repetition System (SRS) for efficient knowledge recall.

Installation

Run Command
docker-compose up -d

Environment Variables

  • THEBRAIN_API_KEY
  • THEBRAIN_BRAIN_ID
  • WEB_PASSWORD

Security Notes

The server includes a hardcoded default password ('123456') for API authentication if the 'WEB_PASSWORD' environment variable is not explicitly set. This is a critical security vulnerability that could lead to unauthorized access. Additionally, the FastAPI CORS is configured to 'allow_origins=['*']', which permits cross-origin requests from any domain, posing a risk in production environments if not restricted. While API keys are read from environment variables, the default password significantly lowers the security posture.

Similar Servers

Stats

Interest Score32
Security Score3
Cost ClassLow
Stars1
Forks0
Last Update2026-01-19

Tags

TheBrainKnowledge GraphMCPREST APISpaced RepetitionAI Integration