Skip to main content
Glama

Image Processing MCP Server

by duke0317

crop_image

Precisely crop images by defining specific pixel coordinates for the left, top, right, and bottom boundaries. Ideal for extracting exact sections of images for focused processing or analysis.

Instructions

裁剪图片

Input Schema

NameRequiredDescriptionDefault
bottomYes裁剪区域下边界坐标(像素)
image_sourceYes图片源,可以是文件路径或base64编码的图片数据
leftYes裁剪区域左边界坐标(像素)
rightYes裁剪区域右边界坐标(像素)
topYes裁剪区域上边界坐标(像素)

Input Schema (JSON Schema)

{ "properties": { "bottom": { "description": "裁剪区域下边界坐标(像素)", "exclusiveMinimum": 0, "title": "Bottom", "type": "integer" }, "image_source": { "description": "图片源,可以是文件路径或base64编码的图片数据", "title": "Image Source", "type": "string" }, "left": { "description": "裁剪区域左边界坐标(像素)", "minimum": 0, "title": "Left", "type": "integer" }, "right": { "description": "裁剪区域右边界坐标(像素)", "exclusiveMinimum": 0, "title": "Right", "type": "integer" }, "top": { "description": "裁剪区域上边界坐标(像素)", "minimum": 0, "title": "Top", "type": "integer" } }, "required": [ "image_source", "left", "top", "right", "bottom" ], "title": "crop_imageArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/duke0317/ps-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server