Gyazo MCP server

Integrates with Gyazo to retrieve Gyazo images and metadata, enabling image analysis and content processing.
Back to servers
Setup instructions
Provider
yuiseki
Release date
Jan 26, 2025
Language
TypeScript
Stats
21 stars

Gyazo MCP server provides access to Gyazo images for AI assistants through the Model Context Protocol. This server allows AI systems to search, fetch, upload, and interact with Gyazo images using specialized tools and resources, all through a standardized interface.

Features

Resources

  • Access Gyazo images via gyazo-mcp:// URIs
  • Each image includes:
    • Original image content
    • Metadata (title, description, app, URL)
    • OCR data (if available)
  • Supports various image formats (JPEG, PNG, etc.)

Tools

  • gyazo_search: Search for captures uploaded by users

    • Search by keyword, title, app, URL, or date range
    • Supports pagination
    • Returns matching image URIs and metadata
  • gyazo_image: Fetch specific image content and metadata

    • Retrieve images by ID or URL
    • Returns both image content and detailed metadata
  • gyazo_latest_image: Fetch the most recent image

    • Returns image content and metadata
    • Includes OCR text if available
  • gyazo_upload: Upload images to Gyazo

    • Upload with base64 encoded image data
    • Add optional metadata
    • Returns the uploaded image's permalink URL and ID

Installation

Prerequisites

  • Create a Gyazo account if you don't have one: https://gyazo.com
  • Get your Gyazo API access token:
    1. Visit https://gyazo.com/api
    2. Click "Register applications" button
    3. Click "New Application" button
    4. Fill in the form (you can use http://localhost for the Callback URL)
    5. Click "Submit" button
    6. Click application name to view details
    7. Scroll down to "Your Access Token"
    8. Click "Generate" button
    9. Copy "Your access token" value

NPM Package Installation

Install the Gyazo MCP server via npm:

npm install -g @notainc/gyazo-mcp-server

Configuration

Setting Up with Claude Desktop

To use with Claude Desktop, add the server configuration:

On MacOS: Edit ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: Edit %APPDATA%/Claude/claude_desktop_config.json

Using NPM Package (Recommended)

{
  "mcpServers": {
    "gyazo-mcp-server": {
      "command": "npx",
      "args": ["@notainc/gyazo-mcp-server"],
      "env": {
        "GYAZO_ACCESS_TOKEN": "your-access-token-here"
      }
    }
  }
}

Using Docker (Optional)

{
  "mcpServers": {
    "gyazo-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GYAZO_ACCESS_TOKEN",
        "gyazo-mcp-server"
      ],
      "env": {
        "GYAZO_ACCESS_TOKEN": "your-access-token-here"
      }
    }
  }
}

Usage

After installation and configuration, Claude will automatically connect to the Gyazo MCP server when launched. You can then access Gyazo images and use the provided tools directly through Claude's interface.

Example Commands

To search for images:

  • "Find my Gyazo screenshots related to 'website design'"
  • "Search for Gyazo images from last week"

To view specific images:

  • "Show me my latest Gyazo screenshot"
  • "Get the details of this Gyazo image: [image-id]"

To upload images:

  • "Upload this image to my Gyazo account"
  • "Save this screenshot to Gyazo with the title 'Website Mockup'"

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "gyazo-mcp-server" '{"command":"npx","args":["@notainc/gyazo-mcp-server"],"env":{"GYAZO_ACCESS_TOKEN":"your-access-token-here"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "gyazo-mcp-server": {
            "command": "npx",
            "args": [
                "@notainc/gyazo-mcp-server"
            ],
            "env": {
                "GYAZO_ACCESS_TOKEN": "your-access-token-here"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "gyazo-mcp-server": {
            "command": "npx",
            "args": [
                "@notainc/gyazo-mcp-server"
            ],
            "env": {
                "GYAZO_ACCESS_TOKEN": "your-access-token-here"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later