-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (50 loc) · 1.25 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (50 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[project]
name = "mcp-python-starter"
version = "1.0.0"
description = "A feature-complete MCP server starter template in Python"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
dependencies = [
"mcp>=1.28.1",
"click>=8.1.0",
"uvicorn>=0.30.0",
]
[project.optional-dependencies]
dev = [
"ruff>=0.4.0",
"pyright>=1.1.350",
"pytest>=9.0.3",
]
# Tasks are experimental and require additional dependencies for HTTP transport
tasks = [
"starlette>=1.3.1",
"anyio>=4.13.0",
]
[project.scripts]
mcp-python-starter = "mcp_starter.server:main"
mcp-python-starter-tasks = "mcp_starter.tasks:run_task_server"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["mcp_starter"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "SIM", "RUF"]
ignore = ["E501", "N803"] # N803: Allow camelCase for MCP cross-language consistency
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "basic"
[dependency-groups]
dev = [
"ruff>=0.14.11",
"watchfiles>=1.1.1",
]