{"at":"2026-11-23T00:01:19.149Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:01:19.770Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T00:01:20.021Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:01:20.709Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"mcp-drawthings","version":"1.0.0"}}}}
{"at":"2026-11-23T00:01:20.709Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:01:20.709Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:01:20.713Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Check if the Draw Things API server is running and accessible","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"check_status"},{"description":"Get the current Draw Things configuration including the loaded model and settings","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"get_config"},{"description":"Generate an image from a text prompt using the Draw Things app. The image will be saved to disk and the file path returned.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"cfg_scale":{"description":"Classifier-free guidance scale (default: 7.5)","maximum":30,"minimum":1,"type":"number"},"height":{"description":"Height of the generated image in pixels (default: 512)","maximum":2048,"minimum":64,"type":"integer"},"model":{"description":"Model filename to use for generation (use list_models to see available models)","type":"string"},"negative_prompt":{"description":"Elements to exclude from the generated image","type":"string"},"output_path":{"description":"Custom file path to save the generated image","type":"string"},"prompt":{"description":"Text description of the image to generate","type":"string"},"seed":{"description":"Random seed for reproducibility (-1 for random)","type":"integer"},"steps":{"description":"Number of inference steps (default: 20)","maximum":150,"minimum":1,"type":"integer"},"width":{"description":"Width of the generated image in pixels (default: 512)","maximum":2048,"minimum":64,"type":"integer"}},"required":["prompt"],"type":"object"},"name":"generate_image"},{"description":"Transform an existing image using a text prompt (img2img). Either image_path or image_base64 must be provided.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"cfg_scale":{"description":"Classifier-free guidance scale (default: 7.5)","maximum":30,"minimum":1,"type":"number"},"denoising_strength":{"description":"Strength of the transformation (0.0-1.0, default: 0.75). Lower values keep more of the original image.","maximum":1,"minimum":0,"type":"number"},"image_base64":{"description":"Base64-encoded source image (alternative to image_path)","type":"string"},"image_path":{"description":"Path to the source image file to transform","type":"string"},"negative_prompt":{"description":"Elements to exclude from the transformed image","type":"string"},"output_path":{"description":"Custom file path to save the transformed image","type":"string"},"prompt":{"description":"Text description of the desired transformation","type":"string"},"seed":{"description":"Random seed for reproducibility (-1 for random)","type":"integer"},"steps":{"description":"Number of inference steps (default: 20)","maximum":150,"minimum":1,"type":"integer"}},"required":["prompt"],"type":"object"},"name":"transform_image"}]}}}
