Commit graph

31 commits

Author SHA1 Message Date
Boris Arzentar
6303501637 fix: use cognee from pypi in mcp server 2025-02-05 18:51:07 +01:00
Hande
690d028928
fix: mcp CODE search error (#495)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## 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


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced search functionality now returns JSON formatted results for
code-based queries for clearer response presentation.
  
- **Refactor**
- Updated the search logic to differentiate result handling based on
query type, maintaining string output for non-code queries.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-04 19:32:04 +01:00
Vasilije
4d3acc358a
fix: mcp improvements (#472)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## 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


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Dependency Update**
	- Downgraded `mcp` package version from 1.2.0 to 1.1.3
- Updated `cognee` dependency to include additional features with
`cognee[codegraph]`

- **New Features**
- Introduced a new tool, "codify", for transforming codebases into
knowledge graphs
- Enhanced the existing "search" tool to accept a new parameter for
search type

- **Improvements**
	- Streamlined search functionality with a new modular approach
- Added new asynchronous function for retrieving and formatting code
parts

- **Documentation**
- Updated import paths for `SearchType` in various modules and tests to
reflect structural changes

- **Code Cleanup**
	- Removed legacy search module and associated classes/functions
	- Refined data transfer object classes for consistency and clarity
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Boris Arzentar <borisarzentar@gmail.com>
2025-02-04 08:47:31 +01:00
Boris
0c2c5870df
fix: use low_lever server for cognee mcp server (#470)
* fix: revert to older mcp version

* fix: use low_level server for the mcp

* fix: styling errors

* fix: mcp cognify arguments

* fix: ruff errors
2025-01-26 12:52:48 +01:00
Boris Arzentar
d1ce7e531c fix: mcp server lint errors 2025-01-23 20:03:31 +01:00
Boris Arzentar
eb22dc9889 fix: remove unnecessary dot 2025-01-23 11:47:20 +01:00
Boris Arzentar
00f302c37a feat: use fastmcp for mcp server 2025-01-23 11:45:40 +01:00
Vasilije
7c3e46f14e
Update README.md 2025-01-17 08:15:13 +01:00
vasilije
cb7b2d311e Fix for now 2025-01-16 21:36:25 +01:00
vasilije
bbd51e8c27 Fix for now 2025-01-16 21:08:54 +01:00
vasilije
be0b48656a Update lock files 2025-01-16 13:27:59 +01:00
vasilije
61118dda03 Update README.md 2025-01-14 20:00:52 +01:00
vasilije
a0e3686752 Update README.md 2025-01-14 19:59:57 +01:00
Vasilije
3ba98b2ecd
Merge branch 'dev' into COG-975 2025-01-14 10:04:21 +01:00
vasilije
047948ae54 Add data visualization for Anthropic 2025-01-14 09:57:53 +01:00
Boris Arzentar
0aacd3c38b fix: update dependencies of the mcp server 2025-01-12 19:08:26 +01:00
Vasilije
cf4737b0a2
Update cognee-mcp/cognee_mcp/server.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-01-12 16:13:21 +01:00
Vasilije
7b0bfe9504
Update cognee-mcp/cognee_mcp/server.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-01-11 16:57:59 +01:00
Vasilije
b132ff4990
Update cognee-mcp/cognee_mcp/server.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-01-11 16:57:22 +01:00
vasilije
daf2d540ba Add data visualization for Anthropic 2025-01-10 22:28:14 +01:00
vasilije
1b96a71d5a Fix ollama, work on visualization 2025-01-06 19:09:58 +01:00
vasilije
60c8fd103b ruff format 2025-01-05 19:09:08 +01:00
vasilije
57a274909c Fix instructions 2024-12-27 11:51:18 +01:00
vasilije
17d8ad08cd Fix instructions 2024-12-27 10:45:12 +01:00
Vasilije
2747cd79b9
Update README.md 2024-12-23 17:38:12 +01:00
Vasilije
f2c3b21f9e
Merge branch 'dev' into add-smithery 2024-12-23 17:37:13 +01:00
Henry Mao
efa2ecdf76
Move readme 2024-12-23 23:09:34 +07:00
Boris Arzentar
75ffe2589d fix: refactor mcp 2024-12-23 15:37:24 +01:00
Vasilije
74547e0cce
Update cognee-mcp/mcpcognee/__main__.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-14 12:37:05 +01:00
vasilije
1ec24ee407 Add simple README 2024-12-14 12:24:47 +01:00
vasilije
3dc2d1e647 Add mcp to cognee 2024-12-14 12:14:04 +01:00