Back to Home
erichowens icon

prompt-learning-mcp

Verified Safe

by erichowens

Overview

Stateful prompt optimization and learning from performance history for LLM-based agents.

Installation

Run Command
npm run start

Environment Variables

  • VECTOR_DB_URL
  • REDIS_URL
  • OPENAI_API_KEY

Security Notes

The server uses environment variables for API keys and database URLs, avoiding hardcoded secrets. It employs LLM calls for evaluation and optimization, which are generally safe if prompts do not introduce code execution. The `cli.ts` and `setup.ts` scripts utilize `execSync` and `node -e` for system commands and configuration, respectively. While these carry inherent risks, they are used within the context of installation and CLI operations, where the user has initiated the commands. Input validation for `transcript_path` in `handleHook` is limited to existence, but in the context of Claude Code hooks, this path is expected to be controlled by the system. Overall, the security posture is strong for its intended purpose.

Similar Servers

Stats

Interest Score9
Security Score8
Cost ClassHigh
Avg Tokens5000
Stars1
Forks1
Last Update2025-12-16

Tags

Prompt EngineeringLLM OptimizationRAGAI/MLDeveloper Tools