Back to Home
ajacobm icon

codenav

Verified Safe

by ajacobm

Overview

Provides a backend service for AI agents and developers to perform comprehensive code analysis, generate graph-based insights, and receive real-time updates on codebase changes.

Installation

Run Command
uv run codenav --mode sse --host 0.0.0.0 --port 8000 --redis-cache --redis-url "redis://localhost:6379" --verbose

Environment Variables

  • CODENAV_API_URL
  • REDIS_URL
  • REDIS_TEST_DB
  • CODE_GRAPH_DEBUG
  • MEMGRAPH_URL
  • REDIS_PASSWORD

Security Notes

The FastAPI server uses `allow_origins=['*']` in its CORS configuration, which is a critical security vulnerability for production deployments as it permits cross-origin requests from any domain. Additionally, `pickle` is used for serialization in `redis_cache.py` which is inherently unsafe if used with untrusted data, although the primary use case is processing user's own source code. Redis and Memgraph connections use environment variables for configuration, preventing hardcoded credentials. It is generally safe for personal/developer-controlled environments.

Similar Servers

Stats

Interest Score30
Security Score6
Cost ClassMedium
Stars1
Forks0
Last Update2025-12-01

Tags

code analysisgraph databaseMCP serverAI agent backendreal-timeRedis cachingFastAPIRustworkxmicroservices