Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Mcp Server Example Image Block

    An example MCP server that sends image blocks

    1 stars
    JavaScript
    Updated May 24, 2025

    Table of Contents

    • Overview
    • Usage
    • Using with VS Code
    • Using with Claude or other MCP-compatible applications
    • Available Tools
    • Technical Details
    • Development
    • License

    Table of Contents

    • Overview
    • Usage
    • Using with VS Code
    • Using with Claude or other MCP-compatible applications
    • Available Tools
    • Technical Details
    • Development
    • License

    Documentation

    Example MCP Server with image blocks

    Overview

    An example MCP server that returns a random image from the Lorem Picsum API. This is just an example to show how MCP servers can return image blocks.

    See also: Image Content in the Model Context Protocol specification

    Usage

    Using with VS Code

    Add this to your settings JSON file:

    json
    {
      "mcp": {
        "servers": {
          "random_image": {
            "command": "npx",
            "args": [
              "-y",
              "@larryhudson/mcp-server-example-image-block"
            ],
          }
        }
      }
    }

    Using with Claude or other MCP-compatible applications

    Add this to your MCP configuration JSON file:

    json
    {
      "mcpServers": {
        "random_image": {
          "command": "npx",
          "args": ["-y", "@larryhudson/mcp-server-example-image-block"],
        }
      }
    }

    Available Tools

    • get_random_image - get a random image using the Lorem Picsum API.

    Technical Details

    Built with:

    • Model Context Protocol (MCP): Framework for allowing AI assistants to interact with external tools
    • TypeScript: For type safety and better developer experience

    Development

    You can use the Model Context Protocol inspector to try out the server:

    bash
    npx @modelcontextprotocol/inspector npx tsx src/index.ts

    License

    MIT

    Similar MCP

    Based on tags & features

    • WA

      Waha Mcp

      JavaScript00
    • WI

      Wizzy Mcp Tmdb

      JavaScript00
    • RI

      Rijksmuseum Mcp

      JavaScript·
      59
    • MC

      Mcp Server Playwright

      JavaScript·
      262

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • WA

      Waha Mcp

      JavaScript00
    • WI

      Wizzy Mcp Tmdb

      JavaScript00
    • RI

      Rijksmuseum Mcp

      JavaScript·
      59
    • MC

      Mcp Server Playwright

      JavaScript·
      262

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k