项目文件夹

文件
wehub-resource-sync c889a57b6b
Test Suites / Build CI Environment (push) Has been cancelled
Test Suites / Basic Tests (push) Has been cancelled
Test Suites / End-to-End Tests (push) Has been cancelled
Test Suites / CLI Tests (push) Has been cancelled
Test Suites / Slow End-to-End Tests (push) Has been cancelled
Test Suites / Graph Database Tests (push) Has been cancelled
Test Suites / Vector DB Tests (push) Has been cancelled
Test Suites / Temporal Graph Test (push) Has been cancelled
Test Suites / Search Test on Different DBs (push) Has been cancelled
Test Suites / Example Tests (push) Has been cancelled
Test Suites / Notebook Tests (push) Has been cancelled
Test Suites / OS and Python Tests Ubuntu (push) Has been cancelled
Test Suites / OS and Python Tests Extended (push) Has been cancelled
Test Suites / LLM Test Suite (push) Has been cancelled
Test Suites / S3 File Storage Test (push) Has been cancelled
Test Suites / Run Integration Tests (push) Has been cancelled
Test Suites / MCP Tests (push) Has been cancelled
Test Suites / Docker Compose Test (push) Has been cancelled
Test Suites / Docker CI test (push) Has been cancelled
Test Suites / Relational DB Migration Tests (push) Has been cancelled
Test Suites / Distributed Cognee Test (push) Has been cancelled
Test Suites / DB Examples Tests (push) Has been cancelled
Test Suites / Test Completion Status (push) Has been cancelled
Test Suites / Claude Code Review (push) Has been cancelled
Test Suites / basic checks (push) Has been cancelled
build | Build and Push Cognee MCP Docker Image to dockerhub / docker-build-and-push (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
build | Build and Push Docker Image to dockerhub / docker-build-and-push (push) Has been cancelled
Weighted Edges Tests / Test Weighted Edges Core Functionality (3.11) (push) Has been cancelled
Weighted Edges Tests / Test Weighted Edges Core Functionality (3.12) (push) Has been cancelled
Weighted Edges Tests / Test Weighted Edges with Different Graph Databases (kuzu, kuzu) (push) Has been cancelled
Weighted Edges Tests / Test Weighted Edges with Different Graph Databases (neo4j, neo4j) (push) Has been cancelled
Weighted Edges Tests / Test Weighted Edges Examples (push) Has been cancelled
Weighted Edges Tests / Code Quality for Weighted Edges (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:02:24 +08:00

73 行
2.2 KiB
TOML

[project]
name = "cognee-mcp"
version = "0.5.4"
description = "Cognee MCP server"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
# For local cognee repo usage remove comment below and add absolute path to cognee. Then run `uv sync --reinstall` in the mcp folder on local cognee changes.
#"cognee[postgres,docs,neo4j] @ file:/Users/igorilic/Desktop/cognee",
"cognee[postgres-binary,docs,neo4j]>=1.1.0,<2.0.0",
"mcp>=1.12.0,<2.0.0",
"uv>=0.6.3,<1.0.0",
"httpx>=0.27.0,<1.0.0",
]
authors = [
{ name = "Boris Arzentar", email = "boris@topoteretes.com" },
{ name = "Igor Ilic", email = "igor@topoteretes.com" },
{ name = "Laszlo Hajdu", email = "laszlo@topoteretes.com" },
]
[build-system]
requires = [ "hatchling", ]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
# The MCP App workspace bundle is gitignored (built artifact). `artifacts`
# tells Hatch to include it in wheels when present, without erroring on
# editable installs where the bundle hasn't been built yet (e.g. e2e CI).
# The release pipeline runs `npm run build` before `uv build`, so PyPI
# wheels always carry the bundle.
artifacts = ["src/app_bundles/**/*"]
[dependency-groups]
dev = [
"debugpy>=1.8.12,<2.0.0",
"pytest>=7.4.0,<9",
"pytest-asyncio>=0.21.1,<2",
]
postgres-binary = [
"psycopg2-binary>=2.9.10,<3.0.0",
"pgvector>=0.3.5,<0.4",
"asyncpg>=0.30.0,<1.0.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.hatch.metadata]
allow-direct-references = true
[tool.uv]
# onnxruntime is pulled in transitively via cognee[docs] -> unstructured.
# 1.24.x dropped cp310 wheels (the MCP CI step uses Python 3.10), and
# cp314 wheels start at 1.24.1. cognee's own pyproject applies the same
# split inside its [fastembed] extra, but cognee-mcp doesn't pull that
# extra, so we must mirror the constraint here to keep `uv lock --upgrade`
# from picking a 1.24.x for python<3.14.
constraint-dependencies = [
"onnxruntime<=1.23.2 ; python_version < '3.14'",
"onnxruntime>=1.24.1 ; python_version >= '3.14'",
]
# Note: exclude newer packages that are less than 2 days old
exclude-newer = "2 days"
[project.scripts]
cognee = "src:main"
cognee-mcp = "src:main_mcp"