loading…
Search for a command to run...
loading…
Allows users to upload images and paint selections with a brush tool to generate and save black-and-white masks. It provides an interface for visual selection t
Allows users to upload images and paint selections with a brush tool to generate and save black-and-white masks. It provides an interface for visual selection that integrates with MCP clients for image processing workflows.
An MCP App that lets you drop an image onto a canvas, paint a selection with a brush tool, and send the resulting mask to the server.
npm install
npm run build
npm run serve # serve pre-built dist/
npm start # build + serve
npm run dev # watch + serve (rebuilds on change)
Server starts at http://localhost:3001/mcp (stateless streamable HTTP).
Set PORT env var to change the port.
Masks are saved to ./output/ as <name>_mask_<timestamp>.png.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"mask-editor": {
"url": "http://localhost:3001/mcp"
}
}
}
Restart Claude Desktop. The open-mask-editor tool will appear in the tools list.
Open Settings → MCP and add a new server:
http://localhost:3001/mcpIn .continue/config.json:
{
"mcpServers": [
{
"name": "mask-editor",
"transport": {
"type": "http",
"url": "http://localhost:3001/mcp"
}
}
]
}
The server uses the Streamable HTTP transport (stateless). Point your client at:
http://localhost:3001/mcp
No API key or session setup required.
git clone --branch "v$(npm view @modelcontextprotocol/ext-apps version)" --depth 1 \
https://github.com/modelcontextprotocol/ext-apps.git /tmp/mcp-ext-apps
cd /tmp/mcp-ext-apps/examples/basic-host && npm install
SERVERS='["http://localhost:3001/mcp"]' npm run start
Open http://localhost:8080, then call the open-mask-editor tool.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mask-editor": {
"command": "npx",
"args": []
}
}
}