Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LLM_MODEL | Yes | Model name/ID (e.g., qwen2.5:7b, gpt-4o, claude-sonnet-4-20250514). | |
| LLM_API_KEY | No | API key for the LLM provider. Required for cloud providers like OpenAI or Anthropic, but not needed for local Ollama. | |
| LLM_API_URL | Yes | API endpoint URL (e.g., http://localhost:11434/v1 for Ollama, https://api.openai.com/v1 for OpenAI, or https://api.anthropic.com/v1 for Anthropic). | |
| SEARCH_API_KEY | No | API key for the selected web search provider. | |
| SEARCH_PROVIDER | No | Optional web search provider for context enrichment. Supported providers include: tavily, brave, serper, serpapi, exa, or searxng. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| optimize_prompt | Optimize a prompt for a specific AI platform. Supports 7 categories and 58+ platforms including Midjourney, DALL-E, Stable Diffusion, Sora, Runway, HeyGen, ElevenLabs, Suno, Claude, ChatGPT, DeepSeek, Cursor, Jasper, and more. Also supports custom registered platforms. Category and platform are auto-detected when omitted. |
| list_categories | List all available prompt optimization categories with platform counts including custom platforms |
| list_platforms | List available platforms for a category, including custom registered platforms. |
| list_modes | List available output modes for prompt optimization (concise, detailed, structured, step-by-step, bullet-points, technical, simple) |
| register_platform | Register a new custom AI platform for prompt optimization. The platform must belong to an existing category. Use instructions or instructions_file to provide detailed guidance on how prompts should be optimized for this platform. |
| update_platform | Update a custom platform or add/override instructions on a built-in platform. For built-in platforms, only instructions, instructions_file, and syntax_hints_append are supported. |
| unregister_platform | Remove a custom platform registration. Cannot remove built-in platforms, but can remove instruction overrides from them. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| categories | Full category configuration with all platforms and modes |