Minimal MCP server that returns a random programming joke.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Minimal Model Context Protocol (MCP) server (Node.js) that exposes one tool: get_joke.
Or:
This repo includes a tiny SDK-based client that spawns the server over stdio, lists tools, and calls get_joke:
The get_joke tool returns JSON like:
The official MCP Registry stores metadata only, so you must publish the package to npm first.
Notes:
package.json includes mcpName and server.json uses the same name (required for verification).package.json and server.json (and republish to npm).Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/get-joke)<a href="https://allmcps.com/mcp/get-joke"><img src="https://allmcps.com/api/badge/get-joke?style=directory" alt="Get Joke on AllMCPs" /></a>