[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mcp-openapi-proxy"
requires-python = ">=3.10"
version = "0.1.0"
description = "MCP server for exposing OpenAPI specifications as MCP tools."
readme = "README.md"
authors = [
{ name = "Matthew Hand", email = "matthewhandau@gmail.com" }
]
dependencies = [
"mcp[cli]>=1.2.0",
"python-dotenv>=1.0.1",
"requests>=2.25.0",
"fastapi>=0.100.0", # For OpenAPI parsing utils if used later, and data validation
"pydantic>=2.0",
"prance>=23.6.21.0",
"openapi-spec-validator>=0.7.1",
"jmespath>=1.0.1",
]
[project.scripts]
mcp-openapi-proxy = "mcp_openapi_proxy:main" # Correct entry pointing to __init__.py:main
[dependency-groups]
dev = [
"pytest>=8.3.4",
"pytest-asyncio>=0.21.0",
]
[tool.pytest.ini_options]
markers = [
"integration: mark a test as an integration test"
]
env = [
"OPENAPI_SPEC_URL=https://glama.ai/api/mcp/openapi.json"
]
[tool.setuptools.packages]
find = {include = ["mcp_openapi_proxy", "mcp_openapi_proxy.*"]}