
greatsumini/sharp-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Image processing 🖼️ MCP server
개요
MCP (Model Context Protocol) server for image session management and processing. Provides tools for storing images in sessions and extracting image metadata and colors. - : Store base64 images in memory sessions with unique IDs - : Create sessions from image file paths (auto base64 conversion) - : List all active image sessions - : Get image dimensions and MIME type - : Extract average color from a specified region - : Remove background from images using ML-based segmentation - : Crop a rectangular region from an image - : Compress images with format conversion (JPEG, PNG, WebP) - Built with TypeScript for type safety - Uses sharp for high-performance image processing To install Sharp MCP for any client automatically via Smithery: Available clients: cursor, claude, vscode, windsurf, cline, zed, etc. Sharp MCP can be integrated with various AI coding assistants and IDEs that support the Model Context Protocol (MCP). - Node.js >= v18.0.
README
원문 README의 일부입니다. 원문 보기.
Sharp MCP
MCP (Model Context Protocol) server for image session management and processing. Provides tools for storing images in sessions and extracting image metadata and colors.
Features
- create_session: Store base64 images in memory sessions with unique IDs
- create_session_by_path: Create sessions from image file paths (auto base64 conversion)
- list_session: List all active image sessions
- get_dimensions: Get image dimensions and MIME type
- pick_color: Extract average color from a specified region
- remove_background: Remove background from images using ML-based segmentation
- extract_region: Crop a rectangular region from an image
- compress_image: Compress images with format conversion (JPEG, PNG, WebP)
- Built with TypeScript for type safety
- Uses sharp for high-performance image processing
Installation
NPM
npm install -g sharp-mcp
Smithery
To install Sharp MCP for any client automatically via Smithery:
npx -y @smithery/cli@latest install sharp-mcp --client
Available clients: cursor, claude, vscode, windsurf, cline, zed, etc.
MCP Client Integration
Sharp MCP can be integrated with various AI coding assistants and IDEs that support the Model Context Protocol (MCP).
Requirements
- Node.js >= v18.0.0
- An MCP-compatible client (Cursor, Claude Code, VS Code, Windsurf, etc.)
Add this to your Windsurf MCP config file:
{
"mcpServers": {
"sharp": {
"command": "npx",
설치
npx -y sharp-mcp설정
{
"mcpServers": {
"sharp": {
"command": "npx",
"args": ["-y", "sharp-mcp"]
}
}
}