Mask Editor
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.
README
Mask Editor
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.
Setup
npm install
npm run build
Running
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.
Connecting an MCP Client
Claude Desktop
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.
Cursor
Open Settings → MCP and add a new server:
- Type: HTTP
- URL:
http://localhost:3001/mcp
VS Code (Continue extension)
In .continue/config.json:
{
"mcpServers": [
{
"name": "mask-editor",
"transport": {
"type": "http",
"url": "http://localhost:3001/mcp"
}
}
]
}
Any MCP client (generic)
The server uses the Streamable HTTP transport (stateless). Point your client at:
http://localhost:3001/mcp
No API key or session setup required.
Testing with basic-host
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.
Usage
- Drop an image onto the canvas (or click Upload Image)
- Paint a selection using the brush — adjust size with the slider
- Click Confirm Mask to generate a black/white mask and send it to the server
- The saved file path is shown in the status bar
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.