mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-19 18:58:47 +08:00
feat: add MCP server for semantic code search with FastMCP integration
This commit is contained in:
@@ -4,10 +4,15 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "codexlens-search"
|
||||
version = "0.2.0"
|
||||
description = "Lightweight semantic code search engine — 2-stage vector + FTS + RRF fusion"
|
||||
version = "0.3.0"
|
||||
description = "Lightweight semantic code search engine — 2-stage vector + FTS + RRF fusion + MCP server"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = []
|
||||
dependencies = [
|
||||
"hnswlib>=0.8.0",
|
||||
"numpy>=1.26",
|
||||
"fastembed>=0.4.0,<2.0",
|
||||
"httpx>=0.25",
|
||||
]
|
||||
license = {text = "MIT"}
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
@@ -26,14 +31,12 @@ classifiers = [
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/nicepkg/codexlens-search"
|
||||
Repository = "https://github.com/nicepkg/codexlens-search"
|
||||
Homepage = "https://github.com/catlog22/codexlens-search"
|
||||
Repository = "https://github.com/catlog22/codexlens-search"
|
||||
|
||||
[project.optional-dependencies]
|
||||
semantic = [
|
||||
"hnswlib>=0.8.0",
|
||||
"numpy>=1.26",
|
||||
"fastembed>=0.4.0,<2.0",
|
||||
mcp = [
|
||||
"mcp[cli]>=1.0.0",
|
||||
]
|
||||
gpu = [
|
||||
"onnxruntime-gpu>=1.16",
|
||||
@@ -44,21 +47,9 @@ faiss-cpu = [
|
||||
faiss-gpu = [
|
||||
"faiss-gpu>=1.7.4",
|
||||
]
|
||||
embed-api = [
|
||||
"httpx>=0.25",
|
||||
]
|
||||
reranker-api = [
|
||||
"httpx>=0.25",
|
||||
]
|
||||
watcher = [
|
||||
"watchdog>=3.0",
|
||||
]
|
||||
semantic-gpu = [
|
||||
"hnswlib>=0.8.0",
|
||||
"numpy>=1.26",
|
||||
"fastembed>=0.4.0,<2.0",
|
||||
"onnxruntime-gpu>=1.16",
|
||||
]
|
||||
dev = [
|
||||
"pytest>=7.0",
|
||||
"pytest-cov",
|
||||
@@ -66,6 +57,7 @@ dev = [
|
||||
|
||||
[project.scripts]
|
||||
codexlens-search = "codexlens_search.bridge:main"
|
||||
codexlens-mcp = "codexlens_search.mcp_server:main"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/codexlens_search"]
|
||||
|
||||
Reference in New Issue
Block a user