Skip to main content
Glama
aidevshakil

Joke Generator MCP

by aidevshakil

Joke Generator MCP

A simple Model Context Protocol (MCP) server built with Python that provides developer and programming jokes.

Objective

This project is built as part of an MCP learning workflow to understand how MCP servers are structured, tested, and deployed.

Related MCP server: Jokes MCP Server

Features

  • Tools:

    • get_random_joke: Returns a random developer joke.

    • get_joke_by_topic: Returns a joke based on a specific programming topic (e.g., Python, JavaScript, CSS).

Setup & Installation

  1. Clone or Download the Repository

  2. Install Dependencies: Ensure you have Python 3.10+ installed. Install the package locally:

    pip install -e .

Usage (Local Testing)

You can run the MCP server directly using stdio:

python -m joke_mcp

Testing with the MCP Inspector

To interactively test the server, use the official MCP Inspector:

npx @modelcontextprotocol/inspector python -m joke_mcp

This will start a local web interface where you can invoke the tools provided by this server.

Deployment to Smithery

This project includes a smithery.yaml configuration file for easy deployment to the Smithery marketplace.

  1. Ensure your code is hosted on a public GitHub repository.

  2. Go to Smithery and click "Add Server".

  3. Provide your repository URL. Smithery will read the smithery.yaml and configure the build automatically.

Learning Outcomes

  • Demonstrated how to use the mcp Python SDK to create tools.

  • Set up a standard Python package structure.

  • Prepared for public sharing via an MCP marketplace.

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides jokes on demand, allowing users to request different types of jokes (Chuck Norris, Dad jokes, etc.) through natural language in both GitHub Copilot and Microsoft Copilot Studio.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to fetch jokes from various categories including Chuck Norris and dad jokes through a standardized MCP interface. Demonstrates integration between Microsoft Copilot Studio and MCP servers for humor-based interactions.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to fetch various types of jokes including Chuck Norris and Dad jokes through an MCP server that integrates with Microsoft Copilot Studio and GitHub Copilot.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to fetch jokes from various categories including Chuck Norris jokes and Dad jokes through a standardized MCP interface. Provides integration with Microsoft Copilot Studio and GitHub Copilot for AI-powered humor delivery.
    MIT

View all related MCP servers

Related MCP Connectors

  • Jokes MCP — wraps JokeAPI v2 (free, no auth)

  • Dad Jokes MCP — wraps icanhazdadjoke.com (free, no auth)

  • Chuck Norris MCP — wraps chucknorris.io (free, no auth)

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aidevshakil/mcp-learning'

If you have feedback or need assistance with the MCP directory API, please join our Discord server