Back to MCP directory
publicPublicdnsLocal runtime

cowsay-mcp

Cowsay MCP服务器为LLM提供ASCII艺术牛生成功能,支持自定义消息和多种牛角色,包括经典牛、企鹅、麋鹿等,让语言模型能够创建有趣的ASCII艺术。

article

README

🚀 cowsay-mcp

Cowsay MCP 服务器,为大语言模型(LLMs)提供 ASCII 艺术牛的功能。此实现允许语言模型生成带有自定义消息的有趣 ASCII 艺术牛。

🚀 快速开始

你可以按照以下步骤安装并运行 cowsay-mcp

✨ 主要特性

  • cowsay:生成一头牛说出你消息的 ASCII 艺术图。
  • cowthink:生成一头牛思考你消息的 ASCII 艺术图。
  • list_cows:列出所有可用的牛角色。

📦 安装指南

通过 Smithery 安装

要通过 Smithery 为 Claude Desktop 自动安装 cowsay-mcp,请运行以下命令:

npx -y @smithery/cli install @mrseanchow/cowsay-mcp --client claude

手动安装

npm install -g cowsay-mcp

使用 npx

npx -y cowsay-mcp

🚀 运行方式

在 Cursor 上运行

将以下内容添加到你的 mcp.json 文件中:

{
  "mcpServers": {
    "cowsay-mcp": {
      "command": "npx",
      "args": ["-y", "cowsay-mcp"]
    }
  }
}

在 Windsurf 上运行

将以下内容添加到你的 ./codeium/windsurf/model_config.json 文件中:

{
  "mcpServers": {
    "cowsay-mcp": {
      "command": "npx",
      "args": ["-y", "cowsay-mcp"]
    }
  }
}

🎨 可用的牛角色

服务器提供了各种各样的牛角色,包括但不限于:

  • default:经典的牛。
  • small:默认牛的较小版本。
  • tux:企鹅角色。
  • moose:驼鹿角色。
  • sheep:绵羊角色。
  • dragon:龙角色。
  • elephant:大象角色。
  • skeleton:骷髅角色。
  • stimpy:斯丁比角色。

还有更多!使用 list_cows 工具查看所有可用角色。

💻 使用示例

cowsay 工具

{
  "name": "cowsay",
  "parameters": {
    "message": "Hello from LLM!",
    "cow": "tux"
  }
}

cowthink 工具

{
  "name": "cowthink",
  "parameters": {
    "message": "What should I say next?",
    "cow": "moose"
  }
}

list_cows 工具

{
  "name": "list_cows",
  "parameters": {}
}

📄 许可证

本项目采用 MIT 许可证,详情请参阅 LICENSE 文件。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client