Example MCP Server with image blocks
@larryhudson
About Example MCP Server with image blocks
An example MCP server that sends image blocks
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-example-image-block": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"npx",
"tsx",
"src/index.ts"
]
}
}
}Tools
1get a random image using the Lorem Picsum API.
Overview
What is Example MCP Server with image blocks?
An example MCP server that uses the Lorem Picsum API to return a random image. It is designed to demonstrate how MCP servers can include image blocks in their tool responses, serving as a reference for developers building MCP tools.
How to use Example MCP Server with image blocks?
Add the server’s configuration to your MCP settings JSON file. For VS Code, include it under mcp.servers; for Claude or other MCP-compatible apps, under mcpServers. The command is npx -y @larryhudson/mcp-server-example-image-block. After configuration, call the get_random_image tool to retrieve a random image.
Key features of Example MCP Server with image blocks
- Returns a random image via the Lorem Picsum API.
- Demonstrates MCP’s image content block capability.
- Built with TypeScript for type safety.
- Single tool:
get_random_image.
Use cases of Example MCP Server with image blocks
- Learning how MCP servers return image content.
- Testing MCP client image rendering features.
- Quickly obtaining a random image from Lorem Picsum.
FAQ from Example MCP Server with image blocks
—
Basic information
More Media & Design MCP servers
Floors.live — Event Floor Plan & Seating Designer
HakolsoundMCP server for Floors.live — design event floor plans, manage guest lists, and run intelligent seating assignments from Claude, ChatGPT, or Cursor. 32 tools.

Instagram + TikTok Downloader & Transcriber
IYIAInstagram + TikTok content tools inside your AI: download HD posts/reels/carousels, view Instagram stories anonymously, AI-transcribe videos (100+ languages, SRT/VTT/TXT). Requires a Repost PRO subscription.

diggercamp
Tommaso Savorana (ti es)diggercamp finds independent music by how it sounds. Paste any Bandcamp, YouTube or SoundCloud link and get the closest sonic matches from 4M+ independent tracks — matched by rhythm, timbre, key and energy, not genre tag
QR Planet QR Code MCP Server
qrplanetQR Planet QR Code MCP Server - Hosted MCP server for QR Planet. Connect AI agents and MCP-compatible clients to create, update, design, route, and analyze dynamic QR Codes using your QR Planet API key.
KiCAD MCP: AI-Assisted PCB Design
mixelpixxKiCAD MCP is a Model Context Protocol (MCP) implementation that enables Large Language Models (LLMs) like Claude to directly interact with KiCAD for printed circuit board design.
Comments