Make MCP server optional dependency

The fastmcp server code is now an optional dependency that can be
installed with the "mcp" extra. Core vector search functionality is
available without the MCP server dependency.
This commit is contained in:
2025-09-26 17:12:37 +00:00
parent 250dfa728e
commit b1021bcbd5
11 changed files with 140 additions and 46 deletions

View File

@@ -5,13 +5,17 @@ description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"fastmcp>=2.12.3",
"qdrant-client==1.13",
"vault-settings>=0.1.0",
]
[project.optional-dependencies]
mcp = [
"fastmcp>=2.12.3",
]
[project.scripts]
vector-search-mcp = "vector_search_mcp:run"
vector-search-mcp = "vector_search_mcp.mcp_server:run"
[build-system]
requires = ["uv_build"]