Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (63 loc) · 2.74 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (63 loc) · 2.74 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
60
61
62
63
64
65
66
67
68
[project]
name = "mcp-stdio"
dynamic = ["version"]
description = "Stdio-to-HTTP gateway — connects MCP clients to remote HTTP MCP servers"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [{ name = "Shigechika AIKAWA" }]
keywords = ["mcp", "stdio", "gateway", "proxy", "relay", "claude", "bridge", "oauth", "sse", "streamable-http"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"httpx>=0.25.0",
]
[project.scripts]
mcp-stdio = "mcp_stdio.cli:main"
[project.urls]
Homepage = "https://github.com/shigechika/mcp-stdio"
Issues = "https://github.com/shigechika/mcp-stdio/issues"
[project.optional-dependencies]
# pytest-timeout guards the #270 Phase 2 PR D cancellation tests. run()
# installs signal handlers, so those tests must drive it from the MAIN
# thread — a regression that reinstates the pre-PR-D deafness therefore
# hangs the suite with no escape, and the timeout is what turns that into
# a loud failure instead of a stalled CI job.
dev = ["pytest>=8.0", "pytest-httpx>=0.35.0", "pytest-timeout>=2.3"]
# Integration harness only (#367): the reference peer (python-sdk v2, the
# first official implementation of spec rev 2026-07-28) and its ASGI
# runner. NEVER a runtime dependency — [project].dependencies stays
# httpx-only, and nothing under src/ imports either of these.
#
# A RANGE, not an exact pin: a 2.x minor that breaks the harness is itself
# interop signal worth seeing, and the blast radius is bounded because the
# integration workflow is advisory. Revisit only after >=2 spurious
# breakages. uvicorn is declared even though `mcp` already depends on it —
# tests_integration imports it directly, and declaring what you import
# survives a future SDK that drops the transitive dep.
integration = [
"mcp>=2.0,<3",
"uvicorn>=0.30",
]
# --token-store-firestore only. NEVER a runtime dependency for the same
# reason as `integration` above — [project].dependencies stays httpx-only.
# server.py imports google.cloud.firestore lazily, inside the code path
# that only runs when --token-store-firestore is actually passed, so a
# plain `pip install mcp-stdio` never needs this package on disk.
firestore = ["google-cloud-firestore>=2.0.0"]
[tool.hatch.version]
path = "src/mcp_stdio/__init__.py"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"