mirror of
https://github.com/mcp-use/mcp-use.git
synced 2026-09-14 18:06:01 +08:00
104 lines
2.3 KiB
TOML
104 lines
2.3 KiB
TOML
[project]
|
|
name = "mcp-use"
|
|
version = "1.7.0"
|
|
description = "Full Stack MCP framework for python, build MCP agents, clients, and servers."
|
|
authors = [
|
|
{name = "mcp-use, Inc.", email = "dev@mcp-use.io"},
|
|
{name = "Pietro Zullo", email = "pietro.zullo@gmail.com"}
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = {text = "MIT"}
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
]
|
|
dependencies = [
|
|
"mcp>=1.24.0,<2.0.0",
|
|
"langchain>=1.0.0",
|
|
"websockets>=15.0",
|
|
"httpx>=0.27.1",
|
|
"pydantic>=2.11.0,<3.0.0",
|
|
"jsonschema-pydantic>=0.1.0",
|
|
"python-dotenv>=1.0.0",
|
|
"posthog>=3.0.0",
|
|
"scarf-sdk>=0.1.0",
|
|
"authlib>=1.0.0",
|
|
"rich>=13.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4.0",
|
|
"pytest-asyncio>=1.3.0",
|
|
"pytest-cov>=4.1.0",
|
|
"black>=23.9.0",
|
|
"isort>=5.12.0",
|
|
"mypy>=1.5.0",
|
|
"ruff>=0.1.0",
|
|
"fastapi>=0.100.0",
|
|
"prek>=0.2.0",
|
|
"ty>=0.0.1a7"
|
|
]
|
|
anthropic = [
|
|
"langchain_anthropic",
|
|
]
|
|
openai = [
|
|
"langchain_openai",
|
|
]
|
|
search = [
|
|
"fastembed>=0.3.0",
|
|
]
|
|
e2b = [
|
|
"e2b-code-interpreter>=1.5.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"W", # pycodestyle warnings
|
|
"B", # flake8-bugbear
|
|
"UP", # pyupgrade
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"__init__.py" = ["F401"] # Unused imports
|
|
"tests/**/*.py" = ["F811", "F401", "B017"] # Redefinition in test files
|
|
"mcp_use/connectors/websocket.py" = ["C901"] # Function too complex
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["mcp_use"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
line-ending = "auto"
|
|
|
|
[tool.ty.environment]
|
|
python-version = "3.11"
|
|
|
|
[tool.ty.src]
|
|
exclude = ["tests/**"]
|
|
|
|
[tool.ty.rules]
|
|
possibly-missing-attribute = "ignore"
|
|
|
|
[project.scripts]
|
|
create-mcp-use = "mcp_use.server.templates.cli:main"
|