UNPKG

code-context-mcp

Version:

MCP server for semantic code search powered by MongoDB Atlas Vector Search and Voyage AI embeddings

103 lines (102 loc) 2.83 kB
{ "name": "code-context-mcp", "version": "1.0.4", "description": "MCP server for semantic code search powered by MongoDB Atlas Vector Search and Voyage AI embeddings", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "code-context-mcp": "dist/index.js" }, "scripts": { "build": "pnpm clean && tsc --build --force", "dev": "tsx --watch src/index.ts", "clean": "rm -rf dist", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext .ts --fix", "typecheck": "tsc --noEmit", "start": "node dist/index.js" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.12.1", "fs-extra": "^11.0.0", "glob": "^10.0.0", "langchain": "^0.3.27", "mongodb": "^6.3.0", "tree-sitter": "^0.21.1", "tree-sitter-cpp": "^0.22.0", "tree-sitter-go": "^0.21.0", "tree-sitter-java": "^0.21.0", "tree-sitter-javascript": "^0.21.0", "tree-sitter-python": "^0.21.0", "tree-sitter-rust": "^0.21.0", "tree-sitter-typescript": "^0.21.0", "voyageai": "^0.0.4", "zod": "^3.25.55" }, "devDependencies": { "@types/fs-extra": "^11.0.0", "@types/node": "^20.0.0", "tsx": "^4.19.4", "typescript": "^5.0.0" }, "files": [ "dist", "README.md", "LICENSE" ], "keywords": [ "mcp", "model-context-protocol", "claude", "ai", "assistant", "code-search", "semantic-search", "mongodb", "atlas", "vector-search", "voyage-ai", "embeddings", "rag", "retrieval", "code-indexing" ], "author": "MongoDB + Voyage AI", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/mongodb/code-context-mcp.git" }, "bugs": { "url": "https://github.com/mongodb/code-context-mcp/issues" }, "homepage": "https://github.com/mongodb/code-context-mcp#readme", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "engines": { "node": ">=18.0.0" }, "mcp": { "name": "Code Context MCP", "description": "Semantic code search with MongoDB Atlas and Voyage AI", "version": "1.0.1", "protocol": "1.0.0", "capabilities": { "tools": true, "resources": false, "prompts": false }, "requiredEnv": [ "MONGODB_URI", "VOYAGE_API_KEY" ], "optionalEnv": [ "MONGODB_DATABASE", "MONGODB_COLLECTION", "VOYAGE_MODEL" ] } }