Bar Assistant
БесплатноНе проверенMCP server for Bar Assistant that enables searching cocktails, managing ingredients, shelves, shopping lists, and collections via natural language.
Описание
MCP server for Bar Assistant that enables searching cocktails, managing ingredients, shelves, shopping lists, and collections via natural language.
README
MCP (Model Context Protocol) server for Bar Assistant, a cocktail recipe and bar management application.
Features
This MCP server provides tools for:
- Cocktails: Search, list, and get detailed cocktail information
- Ingredients: Search and browse ingredients
- Shelf Management: View and modify what's in your bar
- Shopping List: Manage your shopping list
- Collections: Browse cocktail collections
- Reference Data: List tags, glasses, and methods
Installation
Using pip
pip install bar-assistant-mcp
From source
git clone https://github.com/yourusername/bar-assistant-mcp.git
cd bar-assistant-mcp
pip install -e .
Configuration
The server requires the following environment variables:
| Variable | Required | Description |
|---|---|---|
BAR_ASSISTANT_URL |
Yes | Base URL of your Bar Assistant API (e.g., https://erikbarapi.duckdns.org) |
BAR_ASSISTANT_TOKEN |
Yes | API token from Bar Assistant |
BAR_ASSISTANT_BAR_ID |
No | Bar ID (default: 1) |
Getting an API Token
- Log into your Bar Assistant instance
- Go to Profile → Personal Access Tokens
- Create a new token with appropriate permissions
- Copy the token (it's only shown once)
Configuration
Claude Code (Linux/WSL)
Create or edit .mcp.json in your home directory or project directory:
{
"mcpServers": {
"bar-assistant": {
"command": "/path/to/bar-assistant-mcp/.venv/bin/python",
"args": ["-m", "bar_assistant_mcp.server"],
"env": {
"BAR_ASSISTANT_URL": "https://your-bar-assistant-url.com",
"BAR_ASSISTANT_TOKEN": "your-api-token"
}
}
}
}
Then restart Claude Code. The MCP server will be available when working in that directory.
Claude Desktop (Windows)
Edit %APPDATA%\Claude\claude_desktop_config.json (typically C:\Users\YourName\AppData\Roaming\Claude\claude_desktop_config.json):
{
"mcpServers": {
"bar-assistant": {
"command": "python",
"args": ["-m", "bar_assistant_mcp.server"],
"env": {
"BAR_ASSISTANT_URL": "https://your-bar-assistant-url.com",
"BAR_ASSISTANT_TOKEN": "your-api-token"
}
}
}
}
Note for Windows: You'll need to install the package first:
pip install bar-assistant-mcp
Or if running from source, use the full path to python in the venv.
Claude Desktop (macOS)
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"bar-assistant": {
"command": "/path/to/bar-assistant-mcp/.venv/bin/python",
"args": ["-m", "bar_assistant_mcp.server"],
"env": {
"BAR_ASSISTANT_URL": "https://your-bar-assistant-url.com",
"BAR_ASSISTANT_TOKEN": "your-api-token"
}
}
}
}
Available Tools
Cocktails
| Tool | Description |
|---|---|
bar_search_cocktails |
Search cocktails by name |
bar_get_cocktail |
Get detailed cocktail info |
bar_list_cocktails |
List cocktails with filters |
bar_makeable_cocktails |
Get cocktails you can make with shelf ingredients |
bar_favorite_cocktails |
Get favorite cocktails |
Ingredients
| Tool | Description |
|---|---|
bar_search_ingredients |
Search ingredients by name |
bar_get_ingredient |
Get detailed ingredient info |
bar_list_ingredients |
List ingredients with filters |
bar_ingredient_cocktails |
Get cocktails using an ingredient |
Shelf & Shopping
| Tool | Description |
|---|---|
bar_get_shelf |
Get shelf ingredients |
bar_add_to_shelf |
Add ingredients to shelf |
bar_remove_from_shelf |
Remove ingredients from shelf |
bar_get_shopping_list |
Get shopping list |
bar_add_to_shopping_list |
Add to shopping list |
Collections & Reference
| Tool | Description |
|---|---|
bar_list_collections |
List cocktail collections |
bar_get_collection |
Get collection details |
bar_list_tags |
List all tags |
bar_list_glasses |
List glass types |
bar_list_methods |
List preparation methods |
bar_stats |
Get bar statistics |
Development
Setup
git clone https://github.com/yourusername/bar-assistant-mcp.git
cd bar-assistant-mcp
pip install -e ".[dev]"
Testing
# Run the test script
cd mcpb
python test_mcp.py --list
# Call a specific tool
python test_mcp.py --call bar_search_cocktails '{"query": "margarita"}'
Building MCPB Package
cd mcpb
python build_mcpb.py
License
MIT
Установка Bar Assistant
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/talvola/bar-assistant-mcpFAQ
Bar Assistant MCP бесплатный?
Да, Bar Assistant MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Bar Assistant?
Нет, Bar Assistant работает без API-ключей и переменных окружения.
Bar Assistant — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Bar Assistant в Claude Desktop, Claude Code или Cursor?
Открой Bar Assistant на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Bar Assistant with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
