codebase-context-mcp
Verified Safeby PatrickSys
Overview
Provides AI coding agents with real-time, context-aware insights into a codebase's patterns, libraries, architecture, and conventions to improve code generation and review.
Installation
npx codebase-context /path/to/your/projectEnvironment Variables
- EMBEDDING_PROVIDER
- OPENAI_API_KEY
- EMBEDDING_MODEL
- CODEBASE_ROOT
- CODEBASE_CONTEXT_DEBUG
Security Notes
The server performs `git log` commands, which, while using a hardcoded command, could pose a risk if `rootPath` is untrusted. OpenAI API key (if used) is handled via environment variable. Dependencies are actively maintained with recent security fixes (e.g., hono update). Local-first execution for embeddings and storage reduces external network attack surface. Overall, it follows good security practices for a local developer tool.
Similar Servers
ssh-mcp-server
Provides secure SSH capabilities (command execution, SFTP, port forwarding, templates) for AI assistants to manage remote servers.
mcp-code-exec-python
Provides a Model Context Protocol (MCP) server for executing arbitrary Python code with optional package installations, supporting HTTP, SSE, and STDIO transports.
runautomation-mcpserver
A comprehensive Playwright-based Model Context Protocol (MCP) server designed for AI assistants to perform web testing, browser automation, and quality assurance tasks through natural language commands.
ssh-mcp-server
Provides secure remote server management capabilities, including SSH connection, command execution, and SFTP file transfers, via the MCP protocol for integration with AI agents.