Commit Graph

71 Commits

Author SHA1 Message Date
Till Bungert
8d6f388543 fix: return None if no results where found (#83) 2025-08-19 13:45:01 +02:00
Andrey Vasnetsov
59fca57369 allow specifying custom embedding provider (#82) 2025-08-11 12:38:24 +02:00
George
5a7237389e new: bump to v0.8.0 (#73) 2025-06-27 13:33:57 +03:00
Kacper Łukawski
598ed6fa72 Update the README to reflect the new default for FASTMCP_HOST (#71) 2025-06-27 10:58:33 +02:00
George
3fdb4c4b1b new: update fastmcp to 2.7.0 (#65) 2025-06-13 16:52:48 +04:00
George
28bf298a32 new: update type hints (#64)
* new: update type hints

* fix: do not pass location and path to qdrant client, and do not accept them together

* new: update settings tests

* fix: revert removal of local path
2025-06-12 00:55:07 +04:00
Andrey Vasnetsov
b657656363 Configurable filters (#58)
* add configurable filters

* hello to hr department

* rollback debug code

* add arbitrary filter

* dont consider fields without conditions

* in and except condition

* proper annotation types for optional and list fields

* fix types import

* skip non-required fields

* fix: fix match except condition, fix boolean filter

* fix: apply ruff

* fix: make condition optional in filterable field

* fix: do not set default value for required fields (#63)

* fix: do not set default value for required fields

* fix: temp fix fastmcp to <2.8.0 cause of the breaking changes in the api

* fix: add missing changes to pyproject.toml

* fix: downgrade fastmcp even further to <2.7.0

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
Co-authored-by: George <panchuk.george@outlook.com>
2025-06-11 16:19:18 +02:00
Andrey Vasnetsov
244139beb5 migrate to fastmcp 2 (#57)
* migrate to fastmcp 2

* format

* ignore mypy being unreasonable

* fmt

* upd readme
2025-05-28 15:19:16 +02:00
Kacper Łukawski
ade07531fe Document FastMCP env variables (#54) 2025-05-17 08:58:15 +02:00
Kacper Łukawski
2541dc4d4b Remove glama.ai image that does not work 2025-05-16 17:34:24 +02:00
Kacper Łukawski
a3ab0b9680 Move VSCode docs below Claude Code (#46)
It's done to keep the order of how the tools were added.
2025-04-11 17:58:49 +02:00
Marc Baiza
33ea92ab9d add VS Code instructions (#38)
Co-authored-by: mbaiza27 <mbaiza27@outllook.com>
2025-04-11 17:55:28 +02:00
Kacper Łukawski
ecba1ddce6 Add mypy to pre-commit (#43)
* Add mypy to pre-commit

* Enable GH action to run pytest on Python 3.13
2025-04-10 15:03:48 +02:00
Kacper Łukawski
75d605deff Allow passing all the FastMCP init params in QdrantMCPServer (#42) 2025-04-10 15:03:10 +02:00
Kacper Łukawski
cd393290a0 Correct the usage of the parameters when the default collection is used (#41) 2025-04-10 14:27:44 +02:00
Andrey Vasnetsov
181be17142 Reusable mcp server (#39)
* add developer mode instruction to readme

* Make a custom MCP wrapper around FastMCP add more settings, some improvements

* upd test and readme

* review fixes
2025-04-07 12:44:02 +02:00
Kacper Łukawski
7aad8ebb3c Support multiple collections (#26)
* Allow passing the collection name in each request to override the default

* Allow getting the collection names in QdrantConnector

* get vector size from model description

* ruff format

* add isort

* apply pre-commit hooks

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2025-04-07 11:16:45 +02:00
Kacper Łukawski
13cf930f8e Add Claude Code to README (#37)
* Add Claude Code to README

* Improve the overview description
2025-04-04 15:53:55 +02:00
Kacper Łukawski
718fb3b988 Add Dockerfile and update README (#32) 2025-03-12 11:20:18 +01:00
Kacper Łukawski
d31e2b43a0 Remove duplicated notes in README (#31) 2025-03-11 21:46:56 +01:00
Kacper Łukawski
bd46cd9ff0 Bump version to 0.7.1 (#30) 2025-03-11 21:08:25 +01:00
Kacper Łukawski
5878cc1267 Custom tool descriptions (#29)
* Allow setting up the tool descriptions with env variables

* Document the env variables as a table in README

* Link settings.py in README.md

* Allow to choose transport protocol: stdio or sse

* Fix metadata handling in Cursor

* Improve README to cover more cases

* Add info about Cursor rules

* Fix Github note type
2025-03-11 21:05:39 +01:00
Kacper Łukawski
41bab919be Bump version to 0.7.0 (#27) 2025-03-10 17:41:11 +01:00
Kacper Łukawski
bd155b13d0 Add metadata support and integration tests for QdrantConnector (#25) 2025-03-10 17:06:26 +01:00
Kacper Łukawski
b9f773e99c Handle parameters with environmental variables only (#24)
* Switch to Typer to read the CLI parameters and options

* Rely on environmental variables only

* Fix tests

* Update README
2025-03-10 16:36:31 +01:00
Kacper Łukawski
349abbb3ec Add GH workflow for running the tests in Python 3.10-3.12 (#23)
* Add GH workflow for running the tests in Python 3.10-3.12

* Use uv to run pytest

* Remove extra pytest params
2025-03-10 14:46:48 +01:00
Kacper Łukawski
ea223ba7f8 Merge pull request #22 from qdrant/refactor/fastmcp
Refactor: use FastMCP
2025-03-10 14:34:40 +01:00
Kacper Łukawski
18cc93f6c8 Implement the server with FastMCP 2025-03-10 14:21:13 +01:00
Kacper Łukawski
f8d3cc474b Add custom server implementation to ease the development of the tools 2025-03-07 18:11:15 +01:00
Kacper Łukawski
b2c96ba7de Upgrade ruff in pre-commit 2025-03-07 17:33:30 +01:00
Kacper Łukawski
0a5f646080 Merge pull request #19 from qdrant/chore/simplify-server-script
Refactor server and embedding provider to improve modularity
2025-03-07 13:11:11 +01:00
Kacper Łukawski
bf471783fd Refactor server and embedding provider to improve modularity
- Modify `serve()` function to accept a pre-configured QdrantConnector
- Update `create_embedding_provider()` to simplify model name handling
- Improve error handling and parameter passing in server tools
- Restructure main function to create connector and server more explicitly
2025-03-07 13:08:03 +01:00
Kacper Łukawski
5fa6f6ff60 Merge pull request #18 from qdrant/chore/license
Change license to Apache 2.0
2025-03-06 13:56:45 +01:00
Kacper Łukawski
aff9caa279 Change license to Apache 2.0 2025-03-05 23:49:10 +01:00
Kacper Łukawski
7bebfe27bb Merge pull request #17 from qdrant/chore/version-bump-0.6.0
Bump version to 0.6.0
2025-03-05 23:45:56 +01:00
Kacper Łukawski
5bcac9894d Bump version to 0.6.0 2025-03-05 23:45:34 +01:00
Kacper Łukawski
e926df66b5 Merge pull request #16 from qdrant/chore/version-bump-0.6.0
Bump version to 0.6.0
2025-03-05 23:45:12 +01:00
Kacper Łukawski
67667a37ce Bump version to 0.6.0 2025-03-05 23:44:47 +01:00
Kacper Łukawski
f644185c87 Merge pull request #15 from qdrant/fix/collection-compatibility
Fix compatibility with the previous versions
2025-03-05 23:43:30 +01:00
Kacper Łukawski
8afd73849c Fix compatibility with the previous versions 2025-03-05 23:42:19 +01:00
Kacper Łukawski
f252489c3d Merge pull request #12 from qdrant/feature/embedding-providers
Abstract the embedding providers
2025-03-05 23:10:05 +01:00
Kacper Łukawski
3e88bae540 Merge pull request #11 from punkpeye/patch-1
add MCP server badge
2025-03-05 23:08:56 +01:00
Kacper Łukawski
406725c38d Merge branch 'master' into feature/embedding-providers 2025-03-05 23:04:56 +01:00
Kacper Łukawski
a4ce62e09c Merge pull request #14 from qdrant/fix/pre-commit-action
Fix pre-commit action
2025-03-05 23:04:08 +01:00
Kacper Łukawski
1a69a6c5ab Remove the default Python version 2025-03-05 23:02:51 +01:00
Kacper Łukawski
fc5861632b Adjust GH action 2025-03-05 23:00:09 +01:00
Kacper Łukawski
cf443994d7 Update pre-commit version 2025-03-05 22:57:07 +01:00
Kacper Łukawski
c2f83b66f3 Merge remote-tracking branch 'origin/feature/embedding-providers' into feature/embedding-providers
# Conflicts:
#	README.md
#	pyproject.toml
#	src/mcp_server_qdrant/embeddings/factory.py
#	src/mcp_server_qdrant/embeddings/fastembed.py
#	src/mcp_server_qdrant/qdrant.py
#	src/mcp_server_qdrant/server.py
2025-03-05 22:54:52 +01:00
Kacper Łukawski
6aa21b6d99 Run pre-commit 2025-03-05 22:54:21 +01:00
Kacper Łukawski
56f1c797fc Abstract the embedding providers 2025-03-05 22:50:27 +01:00