MASSIVE UPGRADE: Added 27 comprehensive tools covering ALL Mailu API endpoints: 📧 USER ENDPOINTS (5 tools): - list_users, create_user, get_user, update_user, delete_user 🌐 DOMAIN ENDPOINTS (7 tools): - list_domains, create_domain, get_domain, update_domain, delete_domain - generate_dkim_keys, list_domain_users 👥 DOMAIN MANAGER ENDPOINTS (4 tools): - list_domain_managers, create_domain_manager, get_domain_manager, delete_domain_manager 📍 ALIAS ENDPOINTS (6 tools): - list_aliases, create_alias, get_alias, update_alias, delete_alias, find_aliases_by_domain 🔄 ALTERNATIVE DOMAIN ENDPOINTS (4 tools): - list_alternative_domains, create_alternative_domain, get_alternative_domain, delete_alternative_domain 🔗 RELAY ENDPOINTS (5 tools): - list_relays, create_relay, get_relay, update_relay, delete_relay ✨ FEATURES: - Complete parameter coverage for all API endpoints - Comprehensive error handling with try/catch blocks - Proper request body construction for create/update operations - All tools support the full Mailu API specification - Backward compatible with existing basic tools 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
101 lines
2.2 KiB
TOML
101 lines
2.2 KiB
TOML
[project]
|
|
name = "mcp-mailu"
|
|
version = "0.2.0"
|
|
description = "FastMCP server for Mailu email server API integration"
|
|
authors = [
|
|
{name = "Ryan Malloy", email = "ryan@supported.systems"}
|
|
]
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
requires-python = ">=3.10"
|
|
keywords = [
|
|
"mcp",
|
|
"fastmcp",
|
|
"mailu",
|
|
"email",
|
|
"mail-server",
|
|
"api",
|
|
"integration",
|
|
"smtp",
|
|
"imap"
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: System Administrators",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
|
"Topic :: Communications :: Email",
|
|
"Topic :: System :: Systems Administration",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
dependencies = [
|
|
"fastmcp>=0.1.0",
|
|
"httpx>=0.25.0",
|
|
"pydantic>=2.0.0",
|
|
"python-dotenv>=1.0.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://git.supported.systems/MCP/mcp-mailu"
|
|
Documentation = "https://git.supported.systems/MCP/mcp-mailu#readme"
|
|
Repository = "https://git.supported.systems/MCP/mcp-mailu.git"
|
|
Issues = "https://git.supported.systems/MCP/mcp-mailu/issues"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"black>=23.0.0",
|
|
"ruff>=0.1.0",
|
|
"mypy>=1.0.0",
|
|
"build>=0.10.0",
|
|
"twine>=4.0.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatchling.build.targets.sdist]
|
|
include = [
|
|
"/src",
|
|
"/tests",
|
|
"/examples",
|
|
"README.md",
|
|
"LICENSE",
|
|
"MANIFEST.in",
|
|
]
|
|
|
|
[tool.uv]
|
|
dev-dependencies = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"black>=23.0.0",
|
|
"ruff>=0.1.0",
|
|
"mypy>=1.0.0",
|
|
"twine>=6.1.0",
|
|
]
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ['py38']
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py38"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.8"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
disallow_untyped_defs = true
|
|
|
|
[project.scripts]
|
|
mcp-mailu = "mcp_mailu.server:main"
|