ai.smithery/aamangeldi-dad-jokes-mcp

السجل الرسمي البحث والويب

Get a random dad joke or search by keyword to fit any moment. Retrieve specific jokes by ID for re…

ماذا يمكنك أن تفعل مع ai.smithery/aamangeldi-dad-jokes-mcp؟

  • 🎭 Get random dad jokes
  • 🔍 Search jokes by keyword
  • 🆔 Retrieve specific jokes by ID
  • ⚡ Fast and lightweight
  • 🚀 Ready for Smithery deployment

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http aamangeldi-dad-jokes-mcp 'https://server.smithery.ai/@aamangeldi/dad-jokes-mcp/mcp' --header 'Authorization: <Bearer token for Smithery authentication>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "aamangeldi-dad-jokes-mcp": {
            "type": "http",
            "url": "https://server.smithery.ai/@aamangeldi/dad-jokes-mcp/mcp",
            "headers": {
                "Authorization": "<Bearer token for Smithery authentication>"
            }
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Dad Jokes MCP Server
  2. Features
  3. Tools
  4. Local Development
  5. Deployment to Smithery
  6. Configuration
  7. Credits
  8. License

Dad Jokes MCP Server

A lightweight Model Context Protocol (MCP) server that provides dad jokes from icanhazdadjoke.com.

Features

  • 🎭 Get random dad jokes
  • 🔍 Search jokes by keyword
  • 🆔 Retrieve specific jokes by ID
  • ⚡ Fast and lightweight
  • 🚀 Ready for Smithery deployment

Tools

get_random_joke_tool

Get a random dad joke.

Example:

{}
search_jokes_tool

Search for dad jokes containing a specific term.

Parameters:

  • term (string, required): Search term to find jokes
  • limit (integer, optional): Number of jokes to return (default: 5, max: 30)

Example:

{
  "term": "pizza",
  "limit": 3
}
get_joke_by_id_tool

Retrieve a specific joke by its ID.

Parameters:

  • joke_id (string, required): The ID of the joke to retrieve

Example:

{
  "joke_id": "R7UfaahVfFd"
}

Local Development

Prerequisites
  • Python 3.11+
  • pip
Setup
  1. Clone the repository: bash git clone https://github.com/aamangeldi/dad-jokes-mcp.git cd dad-jokes-mcp
  2. Create a virtual environment and install dependencies: bash python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install fastmcp smithery httpx
  3. Run the server locally: bash fastmcp run server.py

Deployment to Smithery

  1. Push your code to GitHub
  2. Connect your repository to Smithery
  3. Smithery will automatically detect the configuration and deploy your server

The server uses:

  • runtime: python in smithery.yaml
  • FastMCP for the server implementation
  • @smithery.server() decorator for configuration

Configuration

The server requires no authentication or configuration. It uses the free icanhazdadjoke.com API with the following defaults:

  • API: https://icanhazdadjoke.com
  • No API key required
  • Rate limiting follows icanhazdadjoke.com policies

Credits

Dad jokes provided by icanhazdadjoke.com

License

MIT License - see LICENSE file for details

الأسئلة الشائعة

ما هو ai.smithery/aamangeldi-dad-jokes-mcp؟

Get a random dad joke or search by keyword to fit any moment. Retrieve specific jokes by ID for re…

كيف أثبّت ai.smithery/aamangeldi-dad-jokes-mcp؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http aamangeldi-dad-jokes-mcp 'https://server.smithery.ai/@aamangeldi/dad-jokes-mcp/mcp' --header 'Authorization: <Bearer token for Smithery authentication>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج ai.smithery/aamangeldi-dad-jokes-mcp إلى مفتاح API؟

نعم. يتطلب Authorization، وتضبطها في إعداداته.

هل ai.smithery/aamangeldi-dad-jokes-mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون ai.smithery/aamangeldi-dad-jokes-mcp؟

ينشره aamangeldi. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.