Joke Generator MCP
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
Repository klonen oder herunterladen
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_mcpTesten mit dem MCP Inspector
Um den Server interaktiv zu testen, verwenden Sie den offiziellen MCP Inspector:
npx @modelcontextprotocol/inspector python -m joke_mcpDies 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.
Stellen Sie sicher, dass Ihr Code in einem öffentlichen GitHub-Repository gehostet wird.
Gehen Sie zu Smithery und klicken Sie auf „Add Server“.
Geben Sie die URL Ihres Repositorys an. Smithery liest die
smithery.yamlund konfiguriert den Build automatisch.
Lernergebnisse
Demonstriert, wie das
mcpPython SDK verwendet wird, um Tools zu erstellen.Eine standardmäßige Python-Paketstruktur eingerichtet.
Für die öffentliche Freigabe über einen MCP-Marktplatz vorbereitet.
This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceAn 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
- AlicenseNot gradedqualityDmaintenanceEnables 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
- AlicenseNot gradedqualityDmaintenanceEnables 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
- AlicenseNot gradedqualityDmaintenanceEnables 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
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)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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