Skip to main content
Glama
Yusuke-Shibata23

Cocktail

鸡尾酒 MCP 服务器

这是一个使用 TheCocktailDB API 的 MCP 服务器。连接到 Claude Desktop 后,即可通过自然语言搜索鸡尾酒配方并获取配料信息。

设置

npm install
npm run build

Claude Desktop 连接配置

claude_desktop_config.json 中添加以下内容:

{
  "mcpServers": {
    "cocktail": {
      "command": "node",
      "args": ["/path/to/cocktail-mcp-server/dist/index.js"]
    }
  }
}

工具列表

工具名称

说明

参数

search_cocktail

按名称搜索鸡尾酒配方

name: string

search_by_ingredient

根据配料反向搜索鸡尾酒

ingredient: string

get_random_cocktail

随机推荐一款鸡尾酒

get_ingredient_info

获取配料详细信息

ingredient: string

filter_cocktails

按类别/是否含酒精进行筛选

`filter_type: "category"

"alcoholic", value: string`

对话示例

ユーザー: モヒートの作り方教えて
Claude: モヒートのレシピですね!
  【材料】ライトラム 2-3 oz、ライムジュース 1 oz、砂糖 2 tsp、ミント...

ユーザー: ウォッカで作れるカクテル何がある?
Claude: ウォッカを使ったカクテルはこちらです!
  1. Moscow Mule  2. Vodka Martini  3. Cosmopolitan...

ユーザー: 今日のおすすめカクテル出して
Claude: こんなのはいかがですか? Old Fashioned...

开发

npm test            # テスト実行
npm run test:watch  # ウォッチモード

技术栈

  • TypeScript / Node.js

  • @modelcontextprotocol/sdk (MCP SDK)

  • Zod(验证)

  • Vitest(测试)

  • TheCocktailDB API(测试 API 密钥 "1"

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Yusuke-Shibata23/cocktail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server