
Get Joke
io.github.HamzaaaminPublished by GitHub account Hamzaaaminv0.1.1Updated Oct 24, 2026
Minimal MCP server that returns a random programming joke.
Overview
A minimal local MCP server that gives an assistant one tool, get_joke, returning a random programming joke.
- What you can do
- Return a random programming joke as a JSON object with a joke field.
- When to use it
- Only for demos, testing an MCP client setup, or adding a light touch of humor; it offers no real work capability.
- Requirements
- A local Node.js runtime to run the npm package over stdio; no accounts, keys or network access are declared.
Installation
In SourceWeft
- Open Get Joke in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Get Joke MCP Server
Minimal Model Context Protocol (MCP) server (Node.js) that exposes one tool: get_joke.
Setup
Run
Or:
Test (without Inspector)
This repo includes a tiny SDK-based client that spawns the server over stdio, lists tools, and calls get_joke:
Tool response shape
The get_joke tool returns JSON like:
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):
- Publish metadata to the MCP Registry:
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).
Source: README.md at commit befeaa1
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts