Joke Generator MCP
Joke Generator MCP
Pythonで構築されたシンプルなModel Context Protocol(MCP)サーバーで、開発者向けおよびプログラミング関連のジョークを提供します。
目的
このプロジェクトは、MCPサーバーの構造、テスト、デプロイ方法を理解するためのMCP学習ワークフローの一環として構築されています。
Related MCP server: Jokes MCP Server
機能
ツール:
get_random_joke:ランダムな開発者ジョークを返します。get_joke_by_topic:特定のプログラミングトピック(例:Python、JavaScript、CSS)に基づいたジョークを返します。
セットアップとインストール
リポジトリをクローンまたはダウンロード
依存関係のインストール: Python 3.10以上がインストールされていることを確認してください。パッケージをローカルにインストールします:
pip install -e .
使用法(ローカルテスト)
stdioを使用してMCPサーバーを直接実行できます:
python -m joke_mcpMCP Inspectorでのテスト
サーバーを対話的にテストするには、公式のMCP Inspectorを使用します:
npx @modelcontextprotocol/inspector python -m joke_mcpこれにより、このサーバーが提供するツールを呼び出せるローカルWebインターフェースが起動します。
Smitheryへのデプロイ
このプロジェクトには、Smitheryマーケットプレイスへの簡単なデプロイのためのsmithery.yaml設定ファイルが含まれています。
コードが公開のGitHubリポジトリでホストされていることを確認してください。
Smitheryにアクセスし、「Add Server」をクリックします。
リポジトリのURLを入力します。Smitheryが
smithery.yamlを読み取り、ビルドを自動的に設定します。
学習成果
mcpPython SDKを使用してツールを作成する方法を実演しました。標準的なPythonパッケージ構造をセットアップしました。
MCPマーケットプレイスを通じた公開共有の準備をしました。
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