- Home
- MCP servers
- LetzAI
LetzAI
- javascript
2
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"letz-ai-letzai-mcp": {
"command": "node",
"args": [
"C:\\\\ABSOLUTE\\\\PATH\\\\TO\\\\PARENT\\\\FOLDER\\\\letzai-mcp\\\\build\\\\index.js"
],
"env": {
"LETZAI_API_KEY": "<Your LetzAI API Key>"
}
}
}
}You set up a local MCP (Model Context Protocol) server named LetzAI to run image generation tasks from an MCP client. This server runs as a stdio process and is launched by your MCP-capable client, using your API key to access LetzAI services. Once started, you can generate images and perform related actions directly from your client with LetzAI integrated into the MCP workflow.
How to use
To use the LetzAI MCP server, configure your MCP client to start the local stdio server and supply your API key. The client will launch the node process that runs the compiled index.js file, passing your API key via environment variables. After the server starts, you can issue image generation prompts and related actions from the MCP client. For example, you can create an image from a prompt and then upscale it using the provided image IDs or URLs.
How to install
Prerequisites you need before installing the MCP server.
Install Node.js on your system.
Obtain a LetzAI API key and keep it ready.
Clone the MCP project folder or download the archive to a location outside of your Downloads folder.
Open a terminal and navigate to the project folder.
Install the required dependencies.
Compile the TypeScript files into JavaScript.
Additional notes
Two common ways to run the LetzAI MCP server are shown for different operating systems. Each method launches a Node.js process that runs the compiled index.js file, with the LETZAI_API_KEY environment variable set to your API key.
Important: After making changes to the MCP configuration, restart the client application to apply the updates.
You can test the MCP setup by creating an image with a sample prompt and then upscaling the resulting image using the provided image ID or URL.
Configuration examples
{
"mcpServers": {
"letzai_win": {
"command": "node",
"args": [
"C:\\ABSOLUTE\\PATH\\TO\\PARENT\\FOLDER\\letzai-mcp\\build\\index.js"
],
"env": {
"LETZAI_API_KEY": "<Your LetzAI API Key>"
}
},
"letzai_ubuntu": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/letzai-mcp/build/index.js"
],
"env": {
"LETZAI_API_KEY": "<Your LetzAI API Key>"
}
},
"letzai_mac": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/letzai-mcp/build/index.js"
],
"env": {
"LETZAI_API_KEY": "<Your LetzAI API Key>"
}
}
}
}
Available tools
image_create
Generates an image from a text prompt using the LetzAI MCP server.
image_upscale
Upscales a previously generated image using a specific image ID or URL.