Run the EverArt agent and toolkit in a Meshagent Room (Cloud Example)

Environment Variables Required:

  • EVERART_API_KEY: Your EverArt API key
  1. Install Meshagent:
    pip install "meshagent[all]"
    
  2. Sign up and Authenticate
  3. Launch the EverArt MCP Server in a Room
    meshagent service test \
      --room=test \
      --role=agent \
      --image=meshagent/mcp-everart:latest \
      --env MESHAGENT_PORT=8001 \
      --env EVERART_API_KEY=your_key_here \
      --port="num=8001 path=/webhook liveness=/ type=meshagent.callable" \
      --name=mcp-everart-service
    
    • This command starts an MCP server inside a Meshagent room, accessible to users and agents in that room. (Rooms close if inactive.)
  4. Start a Chatbot with the EverArt Toolkit in the Room
    meshagent chatbot join \
      --room=test \
      --agent-name=sample \
      --name=sample \
      --toolkit=mcp-everart
    
    • The chatbot agent can now access and use the EverArt image generation tools.
    • Multiple toolkits can be loaded per agent in a room.
    • A link to the live room will be displayed in your CLI output. Use this link to interact with the chatbot and tools in the browser.

Tools Available

Summary

ToolShort Description
generate_imageGenerate images using EverArt Models and returns a clickable link to view the generated image.

Tool Details

Tool: generate_image

Generate images using EverArt Models and returns a clickable link to view the generated image. The tool will return a URL that can be clicked to view the image in a browser.

Available models:

  • 5000:FLUX1.1: Standard quality
  • 9000:FLUX1.1-ultra: Ultra high quality
  • 6000:SD3.5: Stable Diffusion 3.5
  • 7000:Recraft-Real: Photorealistic style
  • 8000:Recraft-Vector: Vector art style

Parameters:

ParameterTypeDescription
promptstringText description of desired image
image_countnumber (optional)Number of images to generate
modelstring (optional)Model ID (see available models above)

The response will contain a direct link to view the generated image.


Meshagent & MCP Resources