codegraph-rust
Verified Safeby Jakedismo
Overview
CodeGraph transforms your codebase into a semantically searchable knowledge graph to augment AI coding assistants with deep understanding and advanced reasoning capabilities beyond simple file searching.
Installation
codegraph start stdioEnvironment Variables
- CODEGRAPH_SURREALDB_URL
- CODEGRAPH_SURREALDB_NAMESPACE
- CODEGRAPH_SURREALDB_DATABASE
- CODEGRAPH_SURREALDB_USERNAME
- CODEGRAPH_SURREALDB_PASSWORD
- CODEGRAPH_LLM_PROVIDER
- CODEGRAPH_MODEL
- CODEGRAPH_EMBEDDING_PROVIDER
- CODEGRAPH_EMBEDDING_MODEL
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- JINA_API_KEY
- XAI_API_KEY
- CODEGRAPH_AGENT_ARCHITECTURE
Security Notes
The installation and verification scripts hardcode default SurrealDB credentials (username: 'root', password: 'root') and bind the SurrealDB server to '0.0.0.0'. While suitable for isolated local development, this poses a critical security risk if these defaults are used in any non-isolated environment or if the user forgets to change them for production, exposing the database to unauthorized access. Users are advised to configure strong, unique credentials and restricted network bindings for any non-development deployment.
Similar Servers
code-index-mcp
Provides intelligent code indexing, searching, and analysis capabilities for large language models to understand and navigate codebases.
chunkhound
Transforms codebases into searchable knowledge bases for AI assistants using semantic search and regex search, with deep research capabilities for code and files.
cclsp
MCP server to integrate LLM-based coding agents with Language Server Protocol (LSP) servers for robust symbol resolution and code navigation.
CodeGraphContext
An MCP server that indexes local code into a Neo4j graph database to provide real-time, accurate context and relationship analysis to AI assistants for understanding, writing, and refactoring code.