Skip to content

一个基于 Model Context Protocol (MCP) 的图片转Base64服务器,专为AI助手设计,让AI能够"看到"和处理图片

Notifications You must be signed in to change notification settings

code-tinker/image2base64-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCP Tools - Image to Base64 Server

A Model Context Protocol (MCP) based image to Base64 server designed for Cursor to actually "see" and process images.

🌟 Features

  • 🖼️ Image to Base64: Convert local images or remote image URLs to Base64 format
  • 🌐 Remote URL Support: Automatically download and process web images
  • 📋 Multi-format Support: Support PNG, JPEG, GIF, WebP, SVG and other image formats
  • High Performance: Use Sharp library for efficient image processing and optimization
  • 🔗 MCP Protocol: Standardized AI tool interface for seamless integration with AI assistants
  • 🎯 Auto Optimization: Intelligently convert to JPEG format to reduce file size
  • 📦 NPX Support: Support running directly through npx without installation

📦 Installation and Usage

Using with Cursor

Add to your Cursor MCP configuration file:

{
  "mcpServers": {
    "image-to-base64": {
      "command": "npx",
      "args": ["@code-tinker/mcp-image-to-base64"]
    }
  }
}

use case

image

About

一个基于 Model Context Protocol (MCP) 的图片转Base64服务器,专为AI助手设计,让AI能够"看到"和处理图片

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published