[project]
name = "mcp-opinion-trade"
version = "0.1.0"
description = "MCP server for Opinion.trade prediction markets on BNB Chain - supports trading and market data"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "Opinion.trade MCP", email = "mcp@opinion.trade" }
]
license = { text = "MIT" }
keywords = ["mcp", "opinion-trade", "prediction-markets", "trading", "bnb-chain", "web3"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"mcp>=0.1.0",
"opinion-clob-sdk>=0.4.1",
"httpx>=0.24.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.5.0",
"python-dotenv>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
[project.scripts]
mcp-opinion-trade = "mcp_opinion.__main__:main"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.black]
line-length = 100
target-version = ['py310']
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=mcp_opinion --cov-report=term-missing"
asyncio_mode = "auto"