Skip to main content
Glama
aidevshakil

Joke Generator MCP

by aidevshakil

Joke Generator MCP

Ein einfacher Model Context Protocol (MCP)-Server, der mit Python erstellt wurde und Entwickler- und Programmierwitze bereitstellt.

Ziel

Dieses Projekt wurde im Rahmen eines MCP-Lernworkflows erstellt, um zu verstehen, wie MCP-Server strukturiert, getestet und bereitgestellt werden.

Related MCP server: Jokes MCP Server

Funktionen

  • Tools:

    • get_random_joke: Gibt einen zufälligen Entwicklerwitz zurück.

    • get_joke_by_topic: Gibt einen Witz basierend auf einem bestimmten Programmierthema zurück (z. B. Python, JavaScript, CSS).

Einrichtung & Installation

  1. Repository klonen oder herunterladen

  2. Abhängigkeiten installieren: Stellen Sie sicher, dass Python 3.10+ installiert ist. Installieren Sie das Paket lokal:

    pip install -e .

Verwendung (Lokaler Test)

Sie können den MCP-Server direkt mit stdio ausführen:

python -m joke_mcp

Testen mit dem MCP Inspector

Um den Server interaktiv zu testen, verwenden Sie den offiziellen MCP Inspector:

npx @modelcontextprotocol/inspector python -m joke_mcp

Dies startet eine lokale Web-Oberfläche, über die Sie die von diesem Server bereitgestellten Tools aufrufen können.

Bereitstellung auf Smithery

Dieses Projekt enthält eine smithery.yaml-Konfigurationsdatei für eine einfache Bereitstellung im Smithery-Marktplatz.

  1. Stellen Sie sicher, dass Ihr Code in einem öffentlichen GitHub-Repository gehostet wird.

  2. Gehen Sie zu Smithery und klicken Sie auf „Add Server“.

  3. Geben Sie die URL Ihres Repositorys an. Smithery liest die smithery.yaml und konfiguriert den Build automatisch.

Lernergebnisse

  • Demonstriert, wie das mcp Python SDK verwendet wird, um Tools zu erstellen.

  • Eine standardmäßige Python-Paketstruktur eingerichtet.

  • Für die öffentliche Freigabe über einen MCP-Marktplatz vorbereitet.

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