Gyazo Image Search, Upload, OCR MCP Server
Search, fetch, upload, and extract OCR and metadata from Gyazo images with the MCP server for fast image retrieval and processing.
npx -y @nota/gyazo-mcp-serverOverview
The Gyazo Image Search, Upload, OCR MCP Server is a TypeScript implementation of a Model Context Protocol (MCP) server that exposes Gyazo images and metadata to AI assistants and other MCP-aware clients. It connects to your Gyazo account using an API access token and exposes image resources via gyazo-mcp:// URIs, along with tools to search, fetch, upload, and extract OCR/text from images.
This server is useful when you need fast programmatic access to screenshots and images stored on Gyazo from within an assistant workflow. Typical uses include full-text search across image titles and descriptions, retrieving image bytes and metadata for inline context, extracting OCR text, and uploading new captures directly from an automated pipeline.
Source code and issues: https://github.com/nota/gyazo-mcp-server
Features
- Exposes Gyazo captures as MCP resources with gyazo-mcp:// URIs
- Full-text search across user uploads (title, description, app, URL, date ranges)
- Fetch raw image bytes and structured metadata (title, description, app, permalink)
- Return OCR text when available for quick text extraction from images
- Upload images to Gyazo with base64 payloads and optional metadata
- Works with JPEG, PNG and other standard image formats
- Easy integration via npm (npx) or Docker; suitable for local development and assistant integrations
Installation / Configuration
Prerequisites:
- A Gyazo account
- A Gyazo API access token (generate from https://gyazo.com/api)
Set the GYAZO_ACCESS_TOKEN environment variable with your token.
Install and run via npm (recommended):
# install globally (optional)
# run directly with npx (no global install)
GYAZO_ACCESS_TOKEN="your-access-token"
Run with Docker:
Add to Claude Desktop (example config):
Development:
# install deps
# build
# development watch mode
# optional: build Docker image
Available Resources
Each Gyazo capture is exposed as a resource with a gyazo-mcp:// URI. Resource contents include:
- Raw image content (bytes / data URL)
- Metadata: id, title, description, app name, created_at, original Gyazo URL/permalink
- OCR text if available (plain text)
- MIME type and file size
Typical resource URI format: gyazo-mcp:// Clients can request the resource to obtain both the binary image and structured metadata useful for context-aware models. Example: search call (conceptual) Result includes a list of gyazo-mcp:// URIs and metadata for each match. For source, issues and contribution details, see the project repo: https://github.com/nota/gyazo-mcp-serverAvailable Tools
Tool name Purpose gyazo_search Full-text search across captures (keyword, title, app, URL, date range). Supports pagination and returns matching URIs + metadata. gyazo_image Fetch a specific image and its metadata by ID or URL. Returns bytes and metadata. gyazo_latest_image Retrieve the most recent image for the configured account (includes OCR if available). gyazo_upload Upload an image (base64) to Gyazo with optional title, description, referer, and app name. Returns permalink URL and image ID.
Use Cases
Notes & Best Practices