BasePic

Upload, edit and share images by link: free image hosting for AI agents, no API key.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
93%
命名质量
95%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,036token 数(工具定义)
~1.9 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.81%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "basepic": {
      "url": "https://basepic.com/mcp"
    }
  }
}

远程端点

https://basepic.com/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🔴upload_image(url, image_base64, filename, return_preview)

Upload an image to BasePic and get links: page_url (short link to share), image_url (direct image) and download_url. Give either a public "url" (an image, or a post on X/Instagram/Facebook) or "image_base64". Returns an id for edit_image and a delete_key. Images up to 50 MB. The image is private: only people with the link can see it.

输入模式

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public https link to the image"
    },
    "image_base64": {
      "type": "string",
      "description": "The image as base64 (a data: URL works too)"
    },
    "filename": {
      "type": "string",
      "description": "Optional file name, e.g. \"beach.jpg\""
    },
    "return_preview": {
      "type": "boolean",
      "description": "Also return a small preview of the image so you can look at it (default false)"
    }
  }
}
🟡edit_image(id, operations, format, quality, max_kb, ...)

Edit an uploaded image: rotate, flip, crop (pixels or aspect ratio), resize (width/height, percent, megapixels), grayscale (black & white), sepia, brightness, contrast, warm, cool, invert, blur, sharpen — applied in order. Optionally change the format (jpeg/png/webp) or make the file at most max_kb kilobytes. Creates a NEW image with its own page_url, image_url and download_url; the original stays unchanged.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Image id returned by upload_image or edit_image (e.g. \"vqSvesFU\")"
    },
    "operations": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "op"
        ],
        "properties": {
          "op": {
            "type": "string",
            "enum": [
              "rotate",
              "flip",
              "crop",
              "resize",
              "grayscale",
              "sepia",
              "brightness",
              "contrast",
              "warm",
              "cool",
              "invert",
              "blur",
              "sharpen"
            ]
          },
          "degrees": {
            "type": "integer",
            "description": "rotate: 90, 180, 270 (clockwise) or -90"
          },
          "direction": {
            "type": "string",
            "enum": [
              "horizontal",
              "vertical"
            ],
            "description": "flip"
          },
          "aspect": {
            "type": "string",
            "description": "crop: centered crop to a ratio like \"1:1\", \"4:5\", \"16:9\""
          },
          "x": {
            "type": "integer"
          },
          "y": {
            "type": "integer"
          },
          "width": {
            "type": "integer",
            "description": "crop width, or resize target width (keeps proportions)"
          },
          "height": {
            "type": "integer",
            "description": "crop height, or resize target height (keeps proportions)"
          },
          "percent": {
            "type": "number",
            "description": "resize: 1–400"
          },
          "megapixels": {
            "type": "number",
            "description": "resize: target megapixels"
          },
          "value": {
            "type": "number",
            "description": "brightness / contrast: -100 to 100"
          },
          "radius": {
            "type": "integer",
            "description": "blur: 1–10"
          }
        }
      },
      "maxItems": 20,
      "description": "Example: [{\"op\":\"rotate\",\"degrees\":90},{\"op\":\"resize\",\"width\":1080},{\"op\":\"grayscale\"}]"
    },
    "format": {
      "type": "string",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ]
    },
    "quality": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "max_kb": {
      "type": "integer",
      "minimum": 5,
      "description": "Largest file size in KB (jpeg/webp)"
    },
    "filename": {
      "type": "string"
    },
    "return_preview": {
      "type": "boolean",
      "description": "Also return a small preview of the image so you can look at it (default false)"
    }
  },
  "required": [
    "id"
  ]
}
🟢get_image(id, return_preview)

Get the links and details (size, dimensions, type) of an image on BasePic by its id.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Image id returned by upload_image or edit_image (e.g. \"vqSvesFU\")"
    },
    "return_preview": {
      "type": "boolean",
      "description": "Also return a small preview of the image so you can look at it (default false)"
    }
  },
  "required": [
    "id"
  ]
}
🔴delete_image(id, delete_key)

Delete an image from BasePic. Needs the delete_key returned when it was uploaded or created by edit_image. Its links stop working.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Image id returned by upload_image or edit_image (e.g. \"vqSvesFU\")"
    },
    "delete_key": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "delete_key"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具