Server data from the Official MCP Registry
Minimal MCP server that returns a random programming joke.
About
Minimal MCP server that returns a random programming joke.
Security Report
Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
14 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-hamzaaamin-get-joke": {
"args": [
"-y",
"@hamzaamin221/get-joke-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
Get Joke MCP Server
Minimal Model Context Protocol (MCP) server (Node.js) that exposes one tool: get_joke.
Setup
npm install
Run
node index.js
Or:
npm start
Test (without Inspector)
This repo includes a tiny SDK-based client that spawns the server over stdio, lists tools, and calls get_joke:
npm run test:mcp
Tool response shape
The get_joke tool returns JSON like:
{
"joke": "Why do programmers prefer dark mode? Because light attracts bugs."
}
Publish to the MCP Registry (official)
The official MCP Registry stores metadata only, so you must publish the package to npm first.
- Publish to npm (once):
npm adduser
npm publish --access public
- Publish metadata to the MCP Registry:
brew install mcp-publisher
mcp-publisher login github
mcp-publisher publish
Notes:
package.jsonincludesmcpNameandserver.jsonuses the samename(required for verification).- If you change the version, bump it in both
package.jsonandserver.json(and republish to npm).
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
