Back to Home
eagleisbatman icon

profile-memory-mcp-server

by eagleisbatman

Overview

External service for managing user profiles and conversation-based memory, including LLM-powered fact extraction from chat.

Installation

Run Command
npm start

Environment Variables

  • DATABASE_URL
  • OPENAI_API_KEY
  • PORT
  • CORS_ORIGIN
  • NODE_ENV

Security Notes

CRITICAL SQL INJECTION: The `update_profile` endpoint dynamically constructs the SQL `SET` clause by interpolating field keys (`${key}`) directly from `req.body.fields` into the SQL string. This allows for SQL injection if a malicious user provides crafted keys in the `fields` object, potentially leading to unauthorized data manipulation or deletion. INFORMATION LEAKAGE: Error messages expose internal server details, which could aid attackers. The default CORS origin `*` is broad and should be tightened in production deployments to specific origins to prevent unintended cross-origin access, though it might be intended for internal use as an MCP server.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassLow
Avg Tokens650
Stars0
Forks0
Last Update2025-11-28

Tags

Profile ManagementMemoryAILLMPostgreSQL