[project]
name = "mcp-maf"
version = "1.0.0"
description = "Microsoft Agent Framework with MCP Protocol"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "Jimmy Liao", email = "jimmy@leapdesign.ai"}
]
keywords = ["mcp", "microsoft", "agent", "framework", "ai", "llm", "sse", "azure"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
# FastAPI & Server
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"python-dotenv>=1.0.0",
"python-multipart>=0.0.6",
# Azure & Microsoft Agent Framework
"azure-ai-projects>=1.0.0",
"azure-identity>=1.14.0",
"openai>=1.3.0",
# MCP & Async
"httpx>=0.25.0",
"aiofiles>=23.2.0",
"pydantic>=2.5.0",
# Utils
"ujson>=5.8.0",
"requests>=2.31.0",
]
[project.optional-dependencies]
dev = [
# Testing
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.12.0",
"httpx>=0.25.0",
# Linting & Formatting
"ruff>=0.1.5",
"mypy>=1.7.0",
"black>=23.11.0",
# Type stubs
"types-requests>=2.31.0",
]
[project.urls]
Homepage = "https://github.com/jimmyliao/mcp-maf"
Documentation = "https://github.com/jimmyliao/mcp-maf/blob/main/README.md"
Repository = "https://github.com/jimmyliao/mcp-maf"
Issues = "https://github.com/jimmyliao/mcp-maf/issues"
[project.scripts]
mcp-maf = "mcp_maf.server:main"
mcp-maf-server = "mcp_maf.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/mcp_maf"]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --cov=mcp_maf --cov-report=term --cov-report=html"
testpaths = ["tests"]
asyncio_mode = "auto"
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.ruff]
line-length = 100
target-version = "py311"
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"W", # pycodestyle warnings
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.isort]
known-first-party = ["mcp_maf"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true