Skip to content

Commit bad3f30

Browse files
authored
release: mcp fixes (topoteretes#2248)
<!-- .github/pull_request_template.md --> ## Description <!-- Please provide a clear, human-generated description of the changes in this PR. DO NOT use AI-generated descriptions. We want to understand your thought process and reasoning. --> ## Acceptance Criteria <!-- * Key requirements to the new feature or modification; * Proof that the changes work and meet the requirements; --> ## Type of Change <!-- Please check the relevant option --> - [ ] Bug fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Code refactoring - [ ] Other (please specify): ## Screenshots <!-- ADD SCREENSHOT OF LOCAL TESTS PASSING--> ## Pre-submission Checklist <!-- Please check all boxes that apply before submitting your PR --> - [ ] **I have tested my changes thoroughly before submitting this PR** (See `CONTRIBUTING.md`) - [ ] **This PR contains minimal changes necessary to address the issue/feature** - [ ] My code follows the project's coding standards and style guidelines - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added necessary documentation (if applicable) - [ ] All new and existing tests pass - [ ] I have searched existing PRs to ensure this change hasn't been submitted already - [ ] I have linked any relevant issues in the description - [ ] My commits have clear and descriptive messages ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin.
2 parents 038996c + 2241b30 commit bad3f30

3 files changed

Lines changed: 5508 additions & 4588 deletions

File tree

cognee-mcp/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[project]
22
name = "cognee-mcp"
3-
version = "0.5.2"
3+
version = "0.5.3"
44
description = "Cognee MCP server"
55
readme = "README.md"
66
requires-python = ">=3.10"
77

88
dependencies = [
99
# For local cognee repo usage remove comment bellow and add absolute path to cognee. Then run `uv sync --reinstall` in the mcp folder on local cognee changes.
1010
#"cognee[postgres,codegraph,gemini,huggingface,docs,neo4j] @ file:/Users/igorilic/Desktop/cognee",
11-
"cognee[postgres,docs,neo4j]==0.5.2",
11+
"cognee[postgres,docs,neo4j]==0.5.3",
1212
"fastmcp>=2.10.0,<3.0.0",
1313
"mcp>=1.12.0,<2.0.0",
1414
"uv>=0.6.3,<1.0.0",

cognee-mcp/src/server.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
import subprocess
77
from pathlib import Path
88
from typing import Optional
9-
from cognee.modules.data.methods import (
10-
get_datasets_by_name,
11-
get_last_added_data,
12-
)
9+
from cognee.modules.data.methods.get_datasets_by_name import get_datasets_by_name
10+
from cognee.modules.data.methods.get_last_added_data import get_last_added_data
1311
from cognee.modules.users.methods import get_default_user
1412
from cognee.shared.logging_utils import get_logger, setup_logging, get_log_file_location
1513
from cognee.shared.usage_logger import log_usage

0 commit comments

Comments
 (0)