67dac16059
Buzz's read-only Mealie agent cannot import recipes, and the full server exposes delete_recipe and the Home Assistant shopping-list write to any client that runs it. Neither profile fits an on-demand import agent. Add IMPORT_TOOL_NAMES — the read-only allowlist plus import_recipe_url, import_recipe_text, import_recipe_image, patch_recipe, parse_ingredients and set_cover_image — and expose it through main_import(). Adding a recipe is recoverable from the Mealie UI; removing one is not, so delete_recipe stays out of the profile even though it writes. Verified over stdio: the entrypoint lists exactly those 15 tools. Co-authored-by: fredamn76 <fredrik.fallman@gmail.com> Signed-off-by: fredamn76 <fredrik.fallman@gmail.com> Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
25 lines
581 B
TOML
25 lines
581 B
TOML
[project]
|
|
name = "mealie-mcp"
|
|
version = "0.1.0"
|
|
description = "MCP tools for Mealie recipe planning"
|
|
requires-python = ">=3.11"
|
|
dependencies = ["mcp>=2.0.0", "httpx>=0.27.0"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8.0"]
|
|
|
|
[project.scripts]
|
|
mealie-mcp = "mealie_mcp.server:main"
|
|
mealie-mcp-read-only = "mealie_mcp.server:main_read_only"
|
|
mealie-mcp-import = "mealie_mcp.server:main_import"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["mealie_mcp"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|