Initial commit: xmcp — OpenAPI-to-MCP server

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.
This commit is contained in:
2026-10-19 02:34:04 +00:00
commit d0fc0c1bc4
14 changed files with 1940 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
[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"]