Server definition
- Hash
- sha256:452f2f8a309eb8b82b8b88be6b312efbeec552c439e704a9df3302f35879fab6
- What it is
- What a remote MCP server returned when asked what it offers: 14 tools
The blob, as servednamed by its sha256
{
"instructions": "stagenth 旗下「PDF 工具箱」MCP 服务。客户端通过 Authorization: Bearer <API_TOKEN> 认证。每个工具在对应用户的上下文中执行,用户间数据隔离。提供工具:pdf_merge / pdf_split / pdf_compress / pdf_watermark / pdf_image_watermark / pdf_encrypt / pdf_decrypt / img_convert / img_to_pdf / pdf_to_img(纯本地二进制文件操作,产物落文件中转站返下载 URL,按次计费)。",
"tools": [
{
"description": "图片格式转换 / 压缩(1 credit/次)。失败自动退款。",
"inputSchema": {
"properties": {
"file_id": {
"description": "目标图片文件 ID",
"title": "File Id",
"type": "integer"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"quality": {
"default": 85,
"description": "jpg/webp 质量(1-100)",
"maximum": 100,
"minimum": 1,
"title": "Quality",
"type": "integer"
},
"to_format": {
"description": "目标格式:png / jpg / webp / bmp / gif / tiff",
"title": "To Format",
"type": "string"
}
},
"required": [
"file_id",
"to_format"
],
"title": "img_convertArguments",
"type": "object"
},
"name": "img_convert",
"outputSchema": null
},
{
"description": "把多张图片按顺序合成一个 PDF(每图一页,1 credit/次)。失败自动退款。",
"inputSchema": {
"properties": {
"file_ids": {
"description": "要合成 PDF 的图片文件 ID 列表(按顺序,每张一页)",
"items": {
"type": "integer"
},
"title": "File Ids",
"type": "array"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
}
},
"required": [
"file_ids"
],
"title": "img_to_pdfArguments",
"type": "object"
},
"name": "img_to_pdf",
"outputSchema": null
},
{
"description": "压缩 PDF 体积(清理冗余 + 重压缩流/图片/字体,1 credit/次)。失败自动退款。",
"inputSchema": {
"properties": {
"file_id": {
"description": "要压缩的 PDF 文件 ID",
"title": "File Id",
"type": "integer"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
}
},
"required": [
"file_id"
],
"title": "pdf_compressArguments",
"type": "object"
},
"name": "pdf_compress",
"outputSchema": null
},
{
"description": "用已知密码解密 PDF、输出无密码版本(1 credit/次)。密码错误会报错并退款。",
"inputSchema": {
"properties": {
"file_id": {
"description": "已加密的 PDF 文件 ID",
"title": "File Id",
"type": "integer"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"password": {
"description": "该 PDF 的打开密码",
"title": "Password",
"type": "string"
}
},
"required": [
"file_id",
"password"
],
"title": "pdf_decryptArguments",
"type": "object"
},
"name": "pdf_decrypt",
"outputSchema": null
},
{
"description": "给 PDF 设打开密码(AES-256,1 credit/次)。失败自动退款。",
"inputSchema": {
"properties": {
"file_id": {
"description": "目标 PDF 文件 ID",
"title": "File Id",
"type": "integer"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"password": {
"description": "打开密码",
"title": "Password",
"type": "string"
}
},
"required": [
"file_id",
"password"
],
"title": "pdf_encryptArguments",
"type": "object"
},
"name": "pdf_encrypt",
"outputSchema": null
},
{
"description": "按页码范围把 PDF 提取成新文件(如从 300 页报告抽出第 12-18 页),返下载 URL。",
"inputSchema": {
"properties": {
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "PDF 内容 base64(与 file_id 二选一)",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "PDF 文件 ID(与 data_base64 二选一)",
"title": "File Id"
},
"page_range": {
"description": "要提取的页码:如 3-10 / 5 / 1,3,5-7",
"title": "Page Range",
"type": "string"
}
},
"required": [
"page_range"
],
"title": "pdf_extract_pagesArguments",
"type": "object"
},
"name": "pdf_extract_pages",
"outputSchema": null
},
{
"description": "给每页居中贴一个半透明图片水印(1 credit/次)。失败自动退款。",
"inputSchema": {
"properties": {
"file_id": {
"description": "目标 PDF 文件 ID",
"title": "File Id",
"type": "integer"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"image_file_id": {
"description": "水印图片文件 ID(PNG/JPG,建议带透明背景的 logo)",
"title": "Image File Id",
"type": "integer"
},
"opacity": {
"default": 0.18,
"description": "水印透明度(0.02-1.0)",
"maximum": 1,
"minimum": 0.02,
"title": "Opacity",
"type": "number"
}
},
"required": [
"file_id",
"image_file_id"
],
"title": "pdf_image_watermarkArguments",
"type": "object"
},
"name": "pdf_image_watermark",
"outputSchema": null
},
{
"description": "把多个 PDF 按顺序合并成一个文件(1 credit/次)。纯本地操作,失败自动退款。",
"inputSchema": {
"properties": {
"file_ids": {
"description": "要合并的 PDF 文件 ID 列表(已上传文件中转站,按顺序合并,至少 2 个)",
"items": {
"type": "integer"
},
"title": "File Ids",
"type": "array"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
}
},
"required": [
"file_ids"
],
"title": "pdf_mergeArguments",
"type": "object"
},
"name": "pdf_merge",
"outputSchema": null
},
{
"description": "读取或写入 PDF 元数据:不带写参数=返回标题/作者/页数等;带任一写参数=写入并返新 PDF。",
"inputSchema": {
"properties": {
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "写入作者;缺省不写",
"title": "Author"
},
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "PDF 内容 base64(与 file_id 二选一)",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "PDF 文件 ID(与 data_base64 二选一)",
"title": "File Id"
},
"keywords": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "写入关键词;缺省不写",
"title": "Keywords"
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "写入主题;缺省不写",
"title": "Subject"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "写入标题;缺省不写",
"title": "Title"
}
},
"title": "pdf_metadataArguments",
"type": "object"
},
"name": "pdf_metadata",
"outputSchema": null
},
{
"description": "给 PDF 每页加页码(可选前后缀)+ 可选页眉(1 credit/次,中英皆可)。失败自动退款。",
"inputSchema": {
"properties": {
"file_id": {
"description": "目标 PDF 文件 ID",
"title": "File Id",
"type": "integer"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"header": {
"default": "",
"description": "可选页眉文字(每页顶部居中);留空=不加",
"title": "Header",
"type": "string"
},
"position": {
"default": "bottom-center",
"description": "页码位置:bottom-center / bottom-left / bottom-right / top-center / top-left / top-right",
"title": "Position",
"type": "string"
},
"prefix": {
"default": "",
"description": "页码前缀,如 '第 '",
"title": "Prefix",
"type": "string"
},
"start": {
"default": 1,
"description": "起始页号(默认 1)",
"title": "Start",
"type": "integer"
},
"suffix": {
"default": "",
"description": "页码后缀,如 ' 页' 或 '/10'",
"title": "Suffix",
"type": "string"
}
},
"required": [
"file_id"
],
"title": "pdf_numberArguments",
"type": "object"
},
"name": "pdf_number",
"outputSchema": null
},
{
"description": "整理 PDF 页面:旋转指定页 / 删除指定页(1 credit/次,至少给一个操作)。失败自动退款。",
"inputSchema": {
"properties": {
"angle": {
"default": 90,
"description": "旋转角度:90 / 180 / 270(顺时针)",
"title": "Angle",
"type": "integer"
},
"delete": {
"default": "",
"description": "要删除的页码,形如 '2,4'(按原页码);留空=不删除",
"title": "Delete",
"type": "string"
},
"file_id": {
"description": "目标 PDF 文件 ID",
"title": "File Id",
"type": "integer"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"rotate": {
"default": "",
"description": "要旋转的页码,形如 '1-3,5'(页码从 1 起);留空=不旋转",
"title": "Rotate",
"type": "string"
}
},
"required": [
"file_id"
],
"title": "pdf_organizeArguments",
"type": "object"
},
"name": "pdf_organize",
"outputSchema": null
},
{
"description": "抽取指定页另存为新 PDF(1 credit/次)。失败自动退款。",
"inputSchema": {
"properties": {
"file_id": {
"description": "要拆分的 PDF 文件 ID",
"title": "File Id",
"type": "integer"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"pages": {
"description": "要抽取的页码,形如 '1-3,5,8'(页码从 1 起)",
"title": "Pages",
"type": "string"
}
},
"required": [
"file_id",
"pages"
],
"title": "pdf_splitArguments",
"type": "object"
},
"name": "pdf_split",
"outputSchema": null
},
{
"description": "把 PDF 每页渲染成图片、打包成 ZIP(1 credit/次)。失败自动退款。",
"inputSchema": {
"properties": {
"dpi": {
"default": 150,
"description": "渲染分辨率 DPI(36-600)",
"maximum": 600,
"minimum": 36,
"title": "Dpi",
"type": "integer"
},
"file_id": {
"description": "要转成图片的 PDF 文件 ID",
"title": "File Id",
"type": "integer"
},
"filename": {
"default": "",
"description": "可选输出文件名(.zip)",
"title": "Filename",
"type": "string"
},
"image_format": {
"default": "png",
"description": "输出图片格式:png / jpg",
"title": "Image Format",
"type": "string"
}
},
"required": [
"file_id"
],
"title": "pdf_to_imgArguments",
"type": "object"
},
"name": "pdf_to_img",
"outputSchema": null
},
{
"description": "给每页加居中、45° 半透明文字水印(1 credit/次)。失败自动退款。",
"inputSchema": {
"properties": {
"file_id": {
"description": "目标 PDF 文件 ID",
"title": "File Id",
"type": "integer"
},
"filename": {
"default": "",
"description": "可选输出文件名",
"title": "Filename",
"type": "string"
},
"text": {
"description": "水印文字(中英皆可)",
"title": "Text",
"type": "string"
}
},
"required": [
"file_id",
"text"
],
"title": "pdf_watermarkArguments",
"type": "object"
},
"name": "pdf_watermark",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:452f2f8a309eb8b82b8b88be6b312efbeec552c439e704a9df3302f35879fab6 | sha256sum