openai-tool2mcp

[project] name = "openai-tool2mcp" version = "0.0.1" description = "A MCP wrapper server for OpenAI built-in tools. You can use openai search and computer use on Claude APP!" authors = [{ name = "Yunsung Lee", email = "dldbstjd9751@gmail.com" }] readme = "README.md" keywords = ['python'] requires-python = ">=3.10,<4.0" classifiers = [ "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Libraries :: Python Modules", ] dependencies = [ "fastapi>=0.100.0", "uvicorn>=0.23.0", "pydantic>=2.0.0", "openai>=1.0.0", "python-dotenv>=1.0.0", "requests>=2.0.0", "mcp[cli]>=1.4.0", "httpx>=0.28.1", ] [project.urls] Homepage = "https://alohays.github.io/openai-tool2mcp/" Repository = "https://github.com/alohays/openai-tool2mcp" Documentation = "https://alohays.github.io/openai-tool2mcp/" [dependency-groups] dev = [ "pytest>=7.2.0", "pre-commit>=2.20.0", "tox-uv>=1.11.3", "deptry>=0.22.0", "mypy>=0.991", "pytest-cov>=4.0.0", "ruff>=0.9.2", "mkdocs>=1.4.2", "mkdocs-material>=8.5.10", "mkdocstrings[python]>=0.26.1", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.setuptools] py-modules = ["openai_tool2mcp"] [tool.mypy] files = ["openai_tool2mcp"] disallow_untyped_defs = true disallow_any_unimported = true no_implicit_optional = true check_untyped_defs = true warn_return_any = true warn_unused_ignores = true show_error_codes = true [tool.pytest.ini_options] testpaths = ["tests"] [tool.ruff] target-version = "py310" line-length = 120 fix = true [tool.ruff.lint] select = [ # flake8-2020 "YTT", # flake8-bandit "S", # flake8-bugbear "B", # flake8-builtins "A", # flake8-comprehensions "C4", # flake8-debugger "T10", # flake8-simplify "SIM", # isort "I", # mccabe "C90", # pycodestyle "E", "W", # pyflakes "F", # pygrep-hooks "PGH", # pyupgrade "UP", # ruff "RUF", # tryceratops "TRY", ] ignore = [ # LineTooLong "E501", # DoNotAssignLambda "E731", ] [tool.ruff.lint.per-file-ignores] "tests/*" = ["S101"] [tool.ruff.format] preview = true [tool.coverage.report] skip_empty = true [tool.coverage.run] branch = true source = ["openai_tool2mcp"] [project.scripts] openai-tool2mcp = "openai_tool2mcp.cli:main"