Example MCP Server with image blocks
@larryhudson
基本信息
关于 Example MCP Server with image blocks
An example MCP server that sends image blocks
Example MCP Server with image blocks 配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-server-example-image-block": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"npx",
"tsx",
"src/index.ts"
]
}
}
}Example MCP Server with image blocks 工具
1get a random image using the Lorem Picsum API.
概览
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
—
媒体与设计 分类下的更多 MCP 服务器
Aura AI
auraai.appAccess 20+ AI video and image models from Google, OpenAI, xAI, ByteDance, and more. Generate and edit videos with Veo 3.1, Sora 2, Seedance, Kling O3, and images with FLUX, Nano Banana, Seedram 4, GPT Image — all in one

InstantClips
InstantStudioAIInstantClips turns an e-commerce product into short-form vertical video for TikTok, Instagram Reels and Stories. Import a product from its page URL or photos, generate on-brand video ads, and manage brands/products throu

Sleek
SleekDesign your mobile app UI with AI, then have your coding agent build the real app from it.
SVGator
SVGatorDrive your SVGator account from any AI assistant. Prompt an animation, get an editable project back, and export it as SVG, Lottie, GIF, MP4, and more, then open it in the editor to finish by hand.

UGCfy AI
UGCfy AIBreak down any TikTok or Instagram Reels ad and rewrite it for your product, right inside Claude, Cursor, or ChatGPT. Hooks, UGC scripts, and CPM. Free, no API key.
评论