Back to Home
marswong icon

kieai-mcp-server

Verified Safe

by marswong

Overview

Provides a Model Context Protocol (MCP) server that wraps the KIE.AI Text-to-Image FLUX 2 Pro API for generating images from text prompts.

Installation

Run Command
node dist/index.js

Environment Variables

  • KIEAI_API_KEY

Security Notes

The server uses environment variables for API keys and `zod` for robust input validation, which are good security practices. The nested `JSON.parse(data.resultJson)` from an external API response is a minor theoretical concern, as a compromised external API could return maliciously crafted JSON that exploits a parser vulnerability, though modern JavaScript JSON parsers are generally robust against arbitrary code execution. No `eval` or direct system commands with user input are found.

Similar Servers

Stats

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

Tags

MCP ServerText-to-ImageAI ModelKIE.AIImage Generation