mcdbus/pyproject.toml
Ryan Malloy c8a1ce0fdb Add desktop notification confirmation fallback, update README for PyPI
When MCP elicitation is unavailable (most clients), fall back to
org.freedesktop.Notifications with Approve/Deny action buttons.
Opt-in via MCDBUS_NOTIFY_CONFIRM=1. Silence (timeout) is denial.

Fixes signal race where NotificationClosed stomped ActionInvoked
result in the same event loop iteration.
2026-03-06 14:47:39 -07:00

43 lines
850 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mcdbus"
version = "2026.03.06"
description = "D-Bus MCP server — bridge Linux IPC into the Model Context Protocol"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [{name = "Ryan Malloy", email = "ryan@supported.systems"}]
dependencies = [
"fastmcp>=2.14.5",
"dbus-fast>=3.1.2",
]
[project.urls]
Source = "https://git.supported.systems/warehack.ing/mcdbus"
[project.scripts]
mcdbus = "mcdbus.server:main"
[tool.hatch.build.targets.wheel]
packages = ["src/mcdbus"]
[dependency-groups]
dev = [
"ruff>=0.9.0",
"pytest>=8.0",
"pytest-asyncio>=0.25",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.ruff]
target-version = "py311"
line-length = 99
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP"]