Comedy MCP Server
@Tanner253
关于 Comedy MCP Server
DEPLOYED: MCP server using C# SDK to enhance comments with jokes from JokeAPI.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"ComedyMcpServer": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"dotnet",
"run"
]
}
}
}工具
9Retrieves 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
概览
What is Comedy MCP Server?
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.
How to use Comedy MCP Server?
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.
Key features of Comedy MCP Server
- Generates random programming jokes
- Creates humorous code comments from context
- Echo service with logging demonstration
- Swagger integration for API documentation
- Health check endpoint for server status
- CORS support for MCP inspector tool
Use cases of Comedy MCP Server
- Adding humor to AI‑assisted code review sessions
- Generating funny comments to lighten development workflows
- Demonstrating MCP tool integration in .NET projects
- Testing MCP communication with Cursor IDE or other clients
FAQ from Comedy MCP Server
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.
How do I run the server in development mode?
Use dotnet run --environment Development. To debug MCP tools, run with npx @modelcontextprotocol/inspector dotnet run.
What MCP tools does Comedy MCP Server provide?
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).
How can I verify the server is running correctly?
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.
What should I do if the port is already in use?
Change the port in appsettings.json or stop the process using the current port. If dependencies are missing, run dotnet restore again.
其他 分类下的更多 MCP 服务器
Servers
modelcontextprotocolModel Context Protocol Servers
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis 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,
评论