What are the prerequisites to run Comedy MCP Server?
.NET 8.0 SDK or later, Node.js 14+ (for MCP inspector), a code editor (Cursor IDE recommended), and Git.
@Tanner253
Basic information
DEPLOYED: MCP server using C# SDK to enhance comments with jokes from JokeAPI.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ComedyMcpServer": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"dotnet",
"run"
]
}
}
}Retrieves a random programming-related joke
None
A string containing the joke
Generates a funny comment related to specific code context
`codeContext`: The code snippet or context
A humorous comment related to the code
Demonstration tool that echoes messages with logging
`message`: The message to echo
The echoed message
A Model Context Protocol (MCP) server that provides comedy-related tools and services for AI assistants, built with ASP.NET Core. It integrates with Cursor IDE and offers tools for generating programming jokes and funny code comments.
Clone the repository, set up the .env file, restore dependencies with dotnet restore, and build with dotnet build. Run with dotnet run (development, production, or with MCP Inspector via npx @modelcontextprotocol/inspector dotnet run). Verify by opening http://localhost:5000 or testing tools with node test-mcp.js.
.NET 8.0 SDK or later, Node.js 14+ (for MCP inspector), a code editor (Cursor IDE recommended), and Git.
Use `dotnet run --environment Development`. To debug MCP tools, run with `npx @modelcontextprotocol/inspector dotnet run`.
Three tools: `GetProgrammingJoke` (no parameters, returns a random joke), `GetCodeComment` (requires `codeContext` and `topic` parameters, returns a funny comment), and `EchoWithLog` (echoes a message with logging).
Open `http://localhost:5000` to see the "Comedy MCP Server is running!" message, access Swagger at `/swagger`, or run the included `node test-mcp.js` script.
Change the port in `appsettings.json` or stop the process using the current port. If dependencies are missing, run `dotnet restore` again.
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
A search tool helps dev to solve the naming things problem.

Model Context Protocol Servers
MCP Toolbox for Databases is an open source MCP server for databases.

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.
Comments