Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DRAWTHINGS_HOSTNoDraw Things API hostlocalhost
DRAWTHINGS_PORTNoDraw Things API port7860
DRAWTHINGS_OUTPUT_DIRNoDirectory for generated images~/Pictures/drawthings-mcp

Tools

Functions exposed to the LLM to take actions

NameDescription
check_status

Check if the Draw Things API server is running and accessible

get_config

Get the current Draw Things configuration including the loaded model and settings

generate_image

Generate an image from a text prompt using the Draw Things app. The image will be saved to disk and the file path returned.

transform_image

Transform an existing image using a text prompt (img2img). Either image_path or image_base64 must be provided.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/james-see/mcp-drawthings'

If you have feedback or need assistance with the MCP directory API, please join our Discord server