MCP server generated from an OpenAPI document with FastMCP v4. Configurable via env vars (spec URL/file, transport stdio/http, host, port, API token), built with uv, multi-stage Dockerfile with non-root runtime.
22 lines
435 B
TOML
22 lines
435 B
TOML
[project]
|
|
name = "xmcp"
|
|
version = "0.1.0"
|
|
description = "MCP server generated from an OpenAPI specification, built with FastMCP"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"fastmcp>=4.1,<5",
|
|
"httpx2>=2.5",
|
|
"pyyaml>=6.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
xmcp = "xmcp.server:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/xmcp"]
|