picgo-uploader
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
PicGo Uploader MCP Server
An MCP (Model Context Protocol) server that allows interaction with a running PicGo application to upload images.
Overview
This server exposes PicGo's image uploading capabilities as an MCP tool. It connects to the PicGo application's built-in server (usually running on http://127.0.0.1:36677) and provides a tool to upload local image files.
Related MCP server: mcp-sanity-images
Prerequisites
Node.js: Ensure you have Node.js (v18 or later recommended) installed.
PicGo Application: You need the PicGo desktop application installed and running.
PicGo Server Enabled: In PicGo's settings (
PicGo 设置->设置Server), enable the server. The default port is36677. Make sure it's running.NPM or Yarn: For installing the package.
Installation
npm install -g picgo-uploaderor
yarn global add picgo-uploaderThis will install the MCP server globally and make the picgo-uploader command available.
Running the Server
Simply execute the command in your terminal:
picgo-uploaderThe server will start and listen for MCP connections via stdio. You should see a message like:
PicGo Uploader MCP server running on stdioKeep this terminal window open while you want to use the server.
Usage (MCP Tool)
Once the server is running and connected to your MCP client (like Roo Code), you can use the provided tool:
Tool: upload_image_via_picgo
Description: Uploads one or more images using the running PicGo server application.
Input Schema:
{ "type": "object", "properties": { "image_paths": { "type": "array", "items": { "type": "string" }, "description": "An array of absolute paths to the image files to upload." } }, "required": ["image_paths"] }Output: On success, returns a JSON string containing the array of uploaded image URLs provided by PicGo. On failure, returns an error message.
Example (use_mcp_tool):
<use_mcp_tool>
<server_name>picgo-uploader</server_name>
<tool_name>upload_image_via_picgo</tool_name>
<arguments>
{
"image_paths": [
"C:\\Users\\YourUser\\Pictures\\screenshot1.png",
"/home/user/images/diagram.jpg"
]
}
</arguments>
</use_mcp_tool>Note: Ensure the file paths provided in image_paths are absolute paths accessible from the machine where the picgo-uploader server is running.
Troubleshooting
Error: "PicGo server request error: connect ECONNREFUSED 127.0.0.1:36677":
Make sure the PicGo application is running.
Verify that the PicGo server is enabled in its settings and running on the default port
36677.
Error: "Image path does not exist: ":
Double-check that the provided image path is correct and absolute.
Ensure the file exists at the specified location on the machine running the
picgo-uploader.
Error: "PicGo upload failed: ...":
This indicates an error reported by PicGo itself (e.g., invalid configuration for the selected uploader, network issues). Check the PicGo application logs for more details.
Development
Clone the repository.
Install dependencies:
npm installBuild the code:
npm run buildRun in development:
node build/index.jsWatch for changes:
npm run watch(in a separate terminal)
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.
Upload, edit and share images by link: free image hosting for AI agents, no API key. Rotate, crop, resize to exact pixels or file size, filters; every edit returns a new image with its own short and direct links. Website: https://basepic.com
Convert images to PNG, JPEG, WebP, or AVIF through one public remote MCP tool.
Image infrastructure for agents. Upload, transform, and deliver images through MCP, CLI, or API.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for uploading images to ImgBB from Claude-compatible clients.3MIT
- AlicenseNot gradedqualityAmaintenanceMCP server for uploading local images to Sanity CMS. Enables AI assistants to upload files from your filesystem directly into Sanity as image assets.126 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables uploading images to ImgBB for free hosting and returns public URLs, supporting both local files and URLs.MIT
- AlicenseAqualityCmaintenanceA local (stdio) MCP server for PixelVault — agent-first image hosting, enabling upload of local files by path without base64.68 npmMIT