Back to Home
marswong icon

kie-ai-mcp-server

Verified Safe

by marswong

Overview

This MCP server provides a tool for generating images from text prompts using the FLUX 2 Pro model via the KIE.AI API.

Installation

Run Command
npm start

Environment Variables

  • KIEAI_API_KEY
  • PORT

Security Notes

The server uses 'process.env.KIEAI_API_KEY' for authentication with an external AI service, preventing hardcoded secrets. Input to the 'text_to_image_flux_2_pro' tool is rigorously validated using Zod schemas, mitigating input-based vulnerabilities. The server acts as a proxy to an external AI API ('https://api.kie.ai'), thus inheriting any security considerations or data handling practices of that third-party service. 'p-retry' is used for robust API calls. No 'eval' or obvious code obfuscation is present.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens50
Stars0
Forks0
Last Update2025-12-05

Tags

MCPText-to-ImageAIServerAPI