-
securityA
license-
qualityAn AI-powered development toolkit for Cursor providing intelligent coding assistance through advanced reasoning, UI screenshot analysis, and code review tools.
Last updated -
1,012
240
TypeScript
MIT License
使用模型上下文协议 (MCP) 为 Cursor 集成 Draw Things API。
要在 Cursor 中设置此工具,请参阅cursor-setup.md中的详细指南。
快速设置:
~/.cursor/claude_desktop_config.json
:generateImage({"prompt": "a cute cat"})
prompt
:图像生成的文本提示(必需)negative_prompt
:图像生成的负面提示width
:图像宽度(默认值:360)height
:图像高度(默认值:360)steps
:生成的步骤数(默认值:8)model
:用于生成的模型(默认值:“flux_1_schnell_q5p.ckpt”)sampler
:采样方法(默认值:“DPM++ 2M AYS”)例子:
当在 Cursor 中用作 MCP 工具时,该工具将注册为generateImage
,并具有以下参数:
生成的图像将保存在images
目录中,文件名格式为: <sanitized_prompt>_<timestamp>.png
成功:
错误:
如果您遇到问题:
~/.cursor/logs
中的日志文件chmod +x src/index.js
麻省理工学院
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
这种集成允许 Cursor AI 使用自然语言提示通过 Draw Things API 生成图像。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaokuohsuan/draw-things-mcp-cursor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server