Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Dad Jokes MCP Servertell me a random dad joke"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 jokeslimit(integer, optional): Number of jokes to return (default: 5, max: 30)
Example:
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:
Local Development
Prerequisites
Python 3.11+
pip
Setup
Clone the repository:
Create a virtual environment and install dependencies:
Run the server locally:
Deployment to Smithery
Push your code to GitHub
Connect your repository to Smithery
Smithery will automatically detect the configuration and deploy your server
The server uses:
runtime: pythoninsmithery.yamlFastMCP 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.comNo API key required
Rate limiting follows icanhazdadjoke.com policies
Credits
Dad jokes provided by icanhazdadjoke.com
License
MIT License - see LICENSE file for details