Letz AI MCP Server

Letz AI MCP Setup Guide

This guide will walk you through the process of setting up and using the Letz AI MCP (Model Context Protocol) for image generation.

Prerequisites

Before you begin, ensure that you have the following:

Setup Steps

1. Download the Git Folder

Download the repository containing the Letz AI MCP project and place it in a location outside of your Downloads folder. For example:

C:\Letz AI\mcp\letzai

Alternatively, you can use git clone to clone the repository:

git clone <repository-url> C:\Letz AI\mcp\letzai

2. Install Dependencies

Navigate to the project folder using your terminal or command prompt:

cd C:\Letz AI\mcp\letzai

Run the following command to install all required dependencies:

npm install

3. Compile the Project

After installing the dependencies, compile the TypeScript files into JavaScript using the following command:

npx tsc

This will generate the compiled JavaScript files in the build folder.

4. Restart Claude App

After running npx tsc, you must restart the Claude Desktop App for it to recognize the updated MCP configuration and compiled files.

5. Set Up MCP Configuration in Claude Desktop App

  1. Open the Claude Desktop App.
  2. Click on the Menu Icon in the top-left corner.
  3. From the dropdown, select File.
  4. Navigate to Settings.
  5. Under the Developer section, you will see an option for Edit Config.
  6. Click on Edit Config — this will open the configuration folder.
  7. Locate the file claude_desktop_config.json and edit it as needed.

Windows Configuration:

{ "mcpServers": { "letzai": { "command": "node", "args": ["C:\\Letz AI\\mcp\\letzai\\build\\index.js"], "env": { "LETZAI_API_KEY": "<Your Letz AI API Key>" } } } }

Ubuntu Configuration:

{ "mcpServers": { "letzai": { "command": "node", "args": ["/home/your-username/LetzAI/mcp/letzai/build/index.js"], "env": { "LETZAI_API_KEY": "<Your Letz AI API Key>" } } } }

macOS Configuration:

{ "mcpServers": { "letzai": { "command": "node", "args": ["/Users/your-username/LetzAI/mcp/letzai/build/index.js"], "env": { "LETZAI_API_KEY": "<Your Letz AI API Key>" } } } }

Configuration Explanation

  • command: The command to run the application. We use node to run the JavaScript file generated by TypeScript.
  • args: This is the path to the compiled index.js file. Make sure the path is correct according to where your files are located after compilation. If you've placed the folder at C:\Letz AI\mcp\letzai, the path will be:
C:\\Letz AI\\mcp\\letzai\\build\\index.js

6. Run the MCP Server

Now that everything is set up, you can start using the Letz AI MCP in the Claude Desktop App. The server should be ready for image generation tasks once the app is running with the correct API key in the environment.

Important: After making changes to the configuration, you must restart Claude for the changes to take effect.

7. Testing the New MCP in Claude

Once you've set up the MCP in the Claude Desktop App, you can test it by running the following prompt:

  • Create image with LetzAi using prompt: "@mischstrotz winning World Cup" after you receive the image, upscale it.

This will create the image based on the provided prompt and automatically upscale it after the image is generated. This ensures both image creation and upscaling functionalities are working correctly with the Letz AI MCP in Claude. Claude will open the image in your preferred browser.

Troubleshooting

  • Node.js not found: Ensure that Node.js is installed and added to your system's PATH environment variable.
  • Invalid API Key: Double-check that you have correctly added your API key under the LETZAI_API_KEY variable in the Claude Desktop App settings.
  • File Path Issues: Make sure that the path to the index.js file is correct. If you're unsure about the path, use the absolute path to the file.

For more detailed documentation and support, visit Letz AI Docs.

-
security - not tested
F
license - not found
-
quality - not tested

A Model Context Protocol server that enables Claude AI to generate and upscale images using the Letz AI API.

  1. Prerequisites
    1. Setup Steps
      1. 1. Download the Git Folder
      2. 2. Install Dependencies
      3. 3. Compile the Project
      4. 4. Restart Claude App
      5. 5. Set Up MCP Configuration in Claude Desktop App
      6. Configuration Explanation
      7. 6. Run the MCP Server
      8. 7. Testing the New MCP in Claude
    2. Troubleshooting