Back to Home
j0hanz icon

prompt-tuner-mcp-server

Verified Safe

by j0hanz

Overview

A Model Context Protocol (MCP) server that refines, enhances, and structures user prompts for optimal AI interaction using various LLM providers.

Installation

Run Command
npx -y @j0hanz/prompt-tuner-mcp-server@latest

Environment Variables

  • LLM_PROVIDER
  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • GOOGLE_API_KEY

Security Notes

The server demonstrates strong security practices for its use case. It strictly validates and trims all input prompts using Zod schemas, rejecting unknown fields to prevent unexpected behavior. API keys for LLM providers are exclusively sourced from environment variables, preventing hardcoding. Sensitive information in debug logs is redacted and truncated. The internal error handling classifies and manages LLM-specific errors, including authentication and rate limiting. Protocol-level safeguards ensure strict version negotiation and server initialization before processing requests, preventing premature interactions. There are no indications of 'eval' or malicious patterns directly processing user input. Dependencies related to templating engines (like Pug for HTML reports in dev tools) are not used for processing runtime user input in a way that would introduce injection vulnerabilities.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassHigh
Avg Tokens2000
Stars0
Forks0
Last Update2026-01-19

Tags

mcpprompt-engineeringllmaitypescript