Skip to main content
Glama
rldiao
by rldiao

Mealie MCP 服务器

该项目使 AI 助手能够通过 MCP 客户端(例如 Claude Desktop)与您的Mealie食谱数据库进行交互。

先决条件

  • Python 3.12+

  • 使用 API 密钥运行 Mealie 实例

  • 软件包管理器uv

Related MCP server: clickhouse-mcp-server

与 Claude Desktop 一起使用

选项 1:使用 fastmcp(推荐)

直接使用fastmcp命令安装服务器:

fastmcp install src/server.py \
  --env-var MEALIE_BASE_URL=https://your-mealie-instance.com \
  --env-var MEALIE_API_KEY=your-mealie-api-key

选项 2:手动配置

将服务器添加到您的claude_desktop_config.json

{
  "mcpServers": {
    "mealie-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/repo/src",
        "run",
        "server.py"
      ],
      "env": {
        "MEALIE_BASE_URL": "https://your-mealie-instance.com",
        "MEALIE_API_KEY": "your-mealie-api-key"
      }
    }
  }
}

发展

  1. 克隆存储库并导航到项目目录

  2. 使用 uv 安装依赖项:

uv sync
  1. 复制提供的模板文件:

cp .env.template .env
  1. 使用您的 Mealie 实例详细信息编辑.env文件:

MEALIE_BASE_URL=https://your-mealie-instance.com
MEALIE_API_KEY=your-mealie-api-key
  1. 运行 MCP 检查器

uv run mcp dev src/server.py

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access 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/rldiao/mealie-mcp-server'

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