Server definition
- Hash
- sha256:5661b396d5f0252a88ef6cce4893e4bc4f7f49947fda419b3685418d83215940
- What it is
- What a remote MCP server returned when asked what it offers: 8 tools
The blob, as servednamed by its sha256
{
"instructions": "stagenth 旗下「图片工具箱」MCP 服务。客户端通过 Authorization: Bearer <API_TOKEN> 认证。每个工具在对应用户的上下文中执行,用户间数据隔离。提供工具:img_info(看图片信息,免费)/ img_resize(缩放)/ img_compress(压缩/换格式)/ img_crop(裁剪)/ img_watermark(文字水印,中文无需系统字体)。纯本地处理,产物落文件中转站返下载 URL,按次计费。",
"tools": [
{
"description": "压缩图片、可顺带换格式(1 credit/次)。产物存文件中转站返下载 URL。失败自动退款。",
"inputSchema": {
"properties": {
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "图片内容 base64(与 file_id 二选一)",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "已上传的图片 ID(与 data_base64 二选一)",
"title": "File Id"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"quality": {
"default": 75,
"description": "压缩质量 1-95,越低越小;默认 75",
"maximum": 95,
"minimum": 1,
"title": "Quality",
"type": "integer"
},
"to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "输出格式 png/jpeg/webp;缺省自动(有透明→webp,否则 jpeg)",
"title": "To"
}
},
"title": "img_compressArguments",
"type": "object"
},
"name": "img_compress",
"outputSchema": null
},
{
"description": "图片格式转换(png/jpeg/webp 互转),产物落文件中转站返下载 URL(1 credit/次)。",
"inputSchema": {
"properties": {
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "图片内容 base64",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "图片文件 ID(与 data_base64 二选一)",
"title": "File Id"
},
"filename": {
"default": "",
"description": "输出文件名(可选)",
"title": "Filename",
"type": "string"
},
"quality": {
"anyOf": [
{
"maximum": 100,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "jpeg/webp 质量 1-100;缺省用推荐值",
"title": "Quality"
},
"to": {
"description": "目标格式 png / jpeg / webp",
"title": "To",
"type": "string"
}
},
"required": [
"to"
],
"title": "img_convertArguments",
"type": "object"
},
"name": "img_convert",
"outputSchema": null
},
{
"description": "矩形裁剪图片(1 credit/次)。先用 img_info 看尺寸再定坐标。产物存文件中转站返下载 URL。失败自动退款。",
"inputSchema": {
"properties": {
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "图片内容 base64(与 file_id 二选一)",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "已上传的图片 ID(与 data_base64 二选一)",
"title": "File Id"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"height": {
"description": "裁剪高(px)",
"minimum": 1,
"title": "Height",
"type": "integer"
},
"left": {
"description": "裁剪起点 X(px,左上角为原点)",
"minimum": 0,
"title": "Left",
"type": "integer"
},
"to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "输出格式 png/jpeg/webp;缺省跟随源格式",
"title": "To"
},
"top": {
"description": "裁剪起点 Y(px)",
"minimum": 0,
"title": "Top",
"type": "integer"
},
"width": {
"description": "裁剪宽(px),越界自动收敛到图内",
"minimum": 1,
"title": "Width",
"type": "integer"
}
},
"required": [
"left",
"top",
"width",
"height"
],
"title": "img_cropArguments",
"type": "object"
},
"name": "img_crop",
"outputSchema": null
},
{
"description": "读取图片 EXIF 元数据(拍摄参数 / 是否含 GPS 定位);strip=true 时输出抹除元数据的隐私安全版。免费(0)。",
"inputSchema": {
"properties": {
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "图片内容 base64",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "图片文件 ID(与 data_base64 二选一)",
"title": "File Id"
},
"filename": {
"default": "",
"description": "输出文件名(strip 时可选)",
"title": "Filename",
"type": "string"
},
"strip": {
"default": false,
"description": "true=同时生成去除 EXIF/GPS 元数据的干净图",
"title": "Strip",
"type": "boolean"
}
},
"title": "img_exifArguments",
"type": "object"
},
"name": "img_exif",
"outputSchema": null
},
{
"description": "查看图片元信息:格式/宽高/颜色模式/是否透明/文件大小 + EXIF 摘要。免费(0 credit)。\n\n 处理前先调它看清图片尺寸与格式,再决定 resize/compress/crop 参数。\n ",
"inputSchema": {
"properties": {
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "图片内容 base64(与 file_id 二选一)",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "已上传到文件中转站的图片 ID(与 data_base64 二选一)",
"title": "File Id"
}
},
"title": "img_infoArguments",
"type": "object"
},
"name": "img_info",
"outputSchema": null
},
{
"description": "缩放图片(1 credit/次)。等比 fit 或精确拉伸,产物存文件中转站返下载 URL。失败自动退款。",
"inputSchema": {
"properties": {
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "图片内容 base64(与 file_id 二选一)",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "已上传的图片 ID(与 data_base64 二选一)",
"title": "File Id"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"height": {
"anyOf": [
{
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "目标高(px);与 width 至少给一个",
"title": "Height"
},
"keep_aspect": {
"default": true,
"description": "等比缩放(默认)。false=按 width×height 拉伸(两者都要给)",
"title": "Keep Aspect",
"type": "boolean"
},
"to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "输出格式 png/jpeg/webp;缺省跟随源格式",
"title": "To"
},
"width": {
"anyOf": [
{
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "目标宽(px);与 height 至少给一个",
"title": "Width"
}
},
"title": "img_resizeArguments",
"type": "object"
},
"name": "img_resize",
"outputSchema": null
},
{
"description": "旋转 / 镜像翻转图片(angle 与 flip 至少给一个),产物返下载 URL(1 credit/次)。",
"inputSchema": {
"properties": {
"angle": {
"default": 0,
"description": "顺时针旋转角度:0/90/180/270",
"title": "Angle",
"type": "integer"
},
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "图片内容 base64",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "图片文件 ID(与 data_base64 二选一)",
"title": "File Id"
},
"filename": {
"default": "",
"description": "输出文件名(可选)",
"title": "Filename",
"type": "string"
},
"flip": {
"default": "none",
"description": "翻转:none / h(水平镜像)/ v(垂直镜像)",
"title": "Flip",
"type": "string"
}
},
"title": "img_rotateArguments",
"type": "object"
},
"name": "img_rotate",
"outputSchema": null
},
{
"description": "给图片加文字水印(1 credit/次)。中文水印无需系统字体;产物存文件中转站返下载 URL。失败自动退款。",
"inputSchema": {
"properties": {
"color": {
"default": "#888888",
"description": "文字颜色(#hex 或颜色名),默认 #888888",
"title": "Color",
"type": "string"
},
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "图片内容 base64(与 file_id 二选一)",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "已上传的图片 ID(与 data_base64 二选一)",
"title": "File Id"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"font_size": {
"anyOf": [
{
"maximum": 400,
"minimum": 8,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "字号(px);缺省按图宽自动",
"title": "Font Size"
},
"opacity": {
"default": 35,
"description": "不透明度 1-100,默认 35",
"maximum": 100,
"minimum": 1,
"title": "Opacity",
"type": "integer"
},
"position": {
"default": "bottom-right",
"description": "位置:center/top-left/top-right/bottom-left/bottom-right/tile(30°斜排平铺)",
"title": "Position",
"type": "string"
},
"text": {
"description": "水印文字(中英文均可,最长 64 字符)",
"title": "Text",
"type": "string"
},
"to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "输出格式 png/jpeg/webp;缺省跟随源格式",
"title": "To"
}
},
"required": [
"text"
],
"title": "img_watermarkArguments",
"type": "object"
},
"name": "img_watermark",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:5661b396d5f0252a88ef6cce4893e4bc4f7f49947fda419b3685418d83215940 | sha256sum