Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
[project]
name = "kubeflow-mcp"
version = "0.1.0-dev"
requires-python = ">=3.10"
description = "Model Context Protocol server for AI-assisted development with Kubeflow"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [{name = "Kubeflow Authors"}]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"fastmcp>=2.0.0",
"pydantic>=2.0",
"pyyaml>=6.0",
"click>=8.0",
]

[project.optional-dependencies]
trainer = ["kubeflow>=0.4.0"]
optimizer = ["kubeflow>=0.4.0"]
hub = ["kubeflow>=0.4.0", "model-registry>=0.3.6"]
agents = [
"llama-index-core>=0.12",
"llama-index-llms-ollama>=0.4",
"rich>=13.0",
]
all = ["kubeflow>=0.4.0"]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=4.0",
"pytest-benchmark>=4.0",
"ruff>=0.9",
"mypy>=1.10",
]
docs = [
"sphinx>=7.0",
"furo>=2024.1.29",
"sphinx-copybutton>=0.5",
"sphinx-design>=0.5",
]

[project.scripts]
kubeflow-mcp = "kubeflow_mcp.cli:cli"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["src/kubeflow_mcp"]

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-v --tb=short"

[tool.ruff]
target-version = "py310"
line-length = 100
src = ["src", "tests"]

[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]

[tool.ruff.lint.isort]
known-first-party = ["kubeflow_mcp"]

[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
1 change: 1 addition & 0 deletions src/kubeflow_mcp/agents/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Sample agents for kubeflow-mcp."""
Loading