Initial project scaffold for mcdbus D-Bus MCP server

This commit is contained in:
Ryan Malloy 2026-03-05 20:09:32 -07:00
commit b383f36872
3 changed files with 56 additions and 0 deletions

14
.gitignore vendored Normal file
View File

@ -0,0 +1,14 @@
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
dist/
build/
.eggs/
*.egg
.venv/
.env
.ruff_cache/
.pytest_cache/
.mypy_cache/
*.so

39
pyproject.toml Normal file
View File

@ -0,0 +1,39 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mcdbus"
version = "2026.03.05"
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.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"]

3
src/mcdbus/__init__.py Normal file
View File

@ -0,0 +1,3 @@
"""mcdbus — D-Bus MCP server for Linux IPC."""
__version__ = "2026.03.05"