{"_id":"@aipmanager/search-mcp","_rev":"2-3cdc4de915b9fe8f4838de24984fb218","name":"@aipmanager/search-mcp","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@aipmanager/search-mcp","version":"1.0.0","keywords":["aipm","mcp","search","semantic-search","milvus","pinecone"],"author":{"name":"AI Project Manager"},"license":"ISC","_id":"@aipmanager/search-mcp@1.0.0","maintainers":[{"name":"johnnyeven","email":"johnnyeven@gmail.com"}],"homepage":"https://github.com/your-repo/ai-project-manager#readme","bugs":{"url":"https://github.com/your-repo/ai-project-manager/issues"},"bin":{"search-mcp":"dist/index.js"},"dist":{"shasum":"63c42657d7e7fcb5eb6ae2a9230bf97443e724c0","tarball":"https://registry.npmjs.org/@aipmanager/search-mcp/-/search-mcp-1.0.0.tgz","fileCount":3,"integrity":"sha512-glrcU03Bcsqg5ai4eFF1L59DPbsN9SZ5SubVVN8+YSX+FlMyPb4xdsUYY2ym7LDX3OxYKfngt31WRUqFuAbAdg==","signatures":[{"sig":"MEUCIQCUJgM9eoJjavbOT7mkIlMZacDzSUqFQOcy/CUEHCmTowIgBKsR9A05docrUItEM9t8fOQDAVTdW1tDLzJfxGtLEH4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16444},"main":"dist/index.js","type":"module","gitHead":"6b7269374907d1915e59d9184bfed8a98a796769","scripts":{"dev":"ts-node src/index.ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","start":"ts-node src/index.ts"},"_npmUser":{"name":"johnnyeven","email":"johnnyeven@gmail.com"},"repository":{"url":"git+https://github.com/your-repo/ai-project-manager.git","type":"git","directory":"mcps/search-mcp"},"_npmVersion":"10.8.2","description":"MCP server providing Cursor-like Search tools: read file, list dir, grep, search files, semantic code search, web search","directories":{},"_nodeVersion":"20.19.2","dependencies":{"zod":"^3.25.76","openai":"^4.57.0","ts-node":"^10.9.2","fast-glob":"^3.3.2","typescript":"^5.8.3","@zilliz/milvus2-sdk-node":"^2.4.11","@modelcontextprotocol/sdk":"^1.16.0","@pinecone-database/pinecone":"^5.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/search-mcp_1.0.0_1754911763364_0.9985537913107585","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aipmanager/search-mcp","version":"1.0.1","description":"MCP server providing Cursor-like Search tools: read file, list dir, grep, search files, semantic code search, web search","author":{"name":"AI Project Manager"},"license":"ISC","type":"module","main":"dist/index.js","bin":{"search-mcp":"dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/your-repo/ai-project-manager.git","directory":"mcps/search-mcp"},"keywords":["aipm","mcp","search","semantic-search","milvus","pinecone"],"publishConfig":{"access":"public"},"scripts":{"start":"ts-node src/index.ts","build":"tsc","dev":"ts-node src/index.ts","test:codebase":"ts-node src/test-codebase-search.ts --query 'hello world' --topK 5"},"dependencies":{"@modelcontextprotocol/sdk":"^1.16.0","@pinecone-database/pinecone":"^5.0.2","@zilliz/milvus2-sdk-node":"^2.4.11","fast-glob":"^3.3.2","openai":"^4.57.0","ts-node":"^10.9.2","typescript":"^5.8.3","zod":"^3.25.76","tsx":"^4.17.0"},"devDependencies":{"@types/node":"^24.1.0"},"_id":"@aipmanager/search-mcp@1.0.1","gitHead":"cc6fa14c5e74c9247d155cd091b07168ef2f6ed2","bugs":{"url":"https://github.com/your-repo/ai-project-manager/issues"},"homepage":"https://github.com/your-repo/ai-project-manager#readme","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-dBfumckFax4MVRlNpZXRhuhR7I3H1lG+V7RTU0yEjcLLMUvvePC3K6EGekuW61+9sZ+Z+Q9P+ERU/r0CrZ9vyA==","shasum":"a222a6afa94cb90ac67e6a7462309da44de764ab","tarball":"https://registry.npmjs.org/@aipmanager/search-mcp/-/search-mcp-1.0.1.tgz","fileCount":4,"unpackedSize":21132,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDyF1vsA9Ueec13aK1Ag9F1NLuE99auJEbAZ9gGZFY4swIgfxA75+092tSOBqycqM+fM9z74v/tWBxDzNKwa94rxRc="}]},"_npmUser":{"name":"johnnyeven","email":"johnnyeven@gmail.com"},"directories":{},"maintainers":[{"name":"johnnyeven","email":"johnnyeven@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/search-mcp_1.0.1_1754912949700_0.28088408070938153"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-11T11:29:23.182Z","modified":"2025-08-11T11:49:10.118Z","1.0.0":"2025-08-11T11:29:23.523Z","1.0.1":"2025-08-11T11:49:09.884Z"},"bugs":{"url":"https://github.com/your-repo/ai-project-manager/issues"},"author":{"name":"AI Project Manager"},"license":"ISC","homepage":"https://github.com/your-repo/ai-project-manager#readme","keywords":["aipm","mcp","search","semantic-search","milvus","pinecone"],"repository":{"type":"git","url":"git+https://github.com/your-repo/ai-project-manager.git","directory":"mcps/search-mcp"},"description":"MCP server providing Cursor-like Search tools: read file, list dir, grep, search files, semantic code search, web search","maintainers":[{"name":"johnnyeven","email":"johnnyeven@gmail.com"}],"readme":"Search MCP\n=========\n\n提供与 Cursor Agent 的 Search 工具等价的能力，参考文档见 `https://docs.cursor.com/en/agent/tools#search`。\n\n- Read File：读取文件，支持 offset/limit 行范围\n- List Directory：列出目录结构\n- Grep：正则匹配搜索，支持上下文、大小写/多行、数量限制\n- Search Files：基于文件名的模糊匹配\n- Codebase（语义搜索）：调用 Milvus/Pinecone 进行代码语义检索（需向量库与嵌入配置）\n- Web：Google CSE 搜索（未配置时返回占位结果）\n\n使用\n--\n\n```\npnpm i\npnpm build\nnode dist/index.js\n```\n\n或在 MCP 客户端中以 `command` 方式启动可执行 `search-mcp`。\n\n环境变量\n----\n\n- INDEXER_VECTOR_PROVIDER=milvus|pinecone\n- MILVUS_ADDRESS=localhost:19530\n- MILVUS_USERNAME=...\n- MILVUS_PASSWORD=...\n- MILVUS_COLLECTION=code_chunks\n- PINECONE_API_KEY=...\n- PINECONE_INDEX=...\n- PINECONE_NAMESPACE=default\n- OPENAI_API_KEY=... （用于生成查询向量）\n- GOOGLE_API_KEY / GOOGLE_CSE_ID（可选，用于 webSearch）\n\n工具定义\n----\n\n详见 `src/index.ts` 的 `registerTool` 定义：`readFile`、`listDirectory`、`grepSearch`、`searchFiles`、`codebaseSearch`、`webSearch`。\n\n\n","readmeFilename":"README.md"}