memgres 0.3.0__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {memgres-0.3.0 → memgres-0.3.1}/PKG-INFO +1 -1
- {memgres-0.3.0 → memgres-0.3.1}/memgres/mcp_server.py +4 -1
- {memgres-0.3.0 → memgres-0.3.1}/memgres.egg-info/PKG-INFO +1 -1
- {memgres-0.3.0 → memgres-0.3.1}/pyproject.toml +1 -1
- {memgres-0.3.0 → memgres-0.3.1}/LICENSE +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/README.md +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/__init__.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/blame.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/config.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/diffing.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/embeddings.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/identity.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/info.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/migrations/0001_core.sql +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/migrations/0002_identity.sql +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/schema.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/search.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/segments.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/server.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/store.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/vector/__init__.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/vector/base.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/vector/pgvector.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres/vector/qdrant.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres.egg-info/SOURCES.txt +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres.egg-info/dependency_links.txt +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres.egg-info/entry_points.txt +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres.egg-info/requires.txt +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/memgres.egg-info/top_level.txt +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/setup.cfg +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_blame_integration.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_config.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_diffing.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_embeddings.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_identity_integration.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_lexical_match.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_limits.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_list.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_mcp_recall_schema.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_qdrant_ca.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_qdrant_integration.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_search_integration.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_security_integration.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_segments.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_segments_store.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_server_info.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_server_integration.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_snippets.py +0 -0
- {memgres-0.3.0 → memgres-0.3.1}/tests/test_store_integration.py +0 -0
|
@@ -27,7 +27,10 @@ from __future__ import annotations
|
|
|
27
27
|
|
|
28
28
|
from typing import List, Literal, Optional
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
try: # mcp SDK >= 2.0 renamed the module fastmcp -> mcpserver
|
|
31
|
+
from mcp.server.mcpserver import Context
|
|
32
|
+
except ImportError: # mcp SDK 1.x
|
|
33
|
+
from mcp.server.fastmcp import Context
|
|
31
34
|
|
|
32
35
|
from . import identity
|
|
33
36
|
from .config import Config, load
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|