Logo di CodeAtlas AI

CodeAtlas AI

Community
giauphan

AI-powered codebase intelligence platform — MCP Server, AST analysis, Knowledge Graph, and semantic memory with SQLite + sqlite-vec. Analyze any codebase in minutes.

Autoregiauphan
Repositorycodeatlas-platform
LinguaTypeScript
Fork
1
Stelle
12
Strumenti disponibili
23
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    CodeAtlas AI mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 23 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    12 stelle e 1 fork nel repository collegato.

CodeAtlas Platform

CI Node.js License: MIT npm version GitHub release

AI-powered codebase intelligence platform — MCP Server, AST analysis, Knowledge Graph, and semantic memory with SQLite + sqlite-vec as the default database.

Ship a secure, multi-tenant codebase intelligence backend without rebuilding authentication, MCP tooling, semantic memory, and knowledge graph infrastructure from scratch. CodeAtlas Platform is an open-source foundation for developers who want a clear starting point for AI-native code analysis services.

[!IMPORTANT] This repository is a foundation, not a substitute for a threat model. Review Known limitations and adapt the defaults to your infrastructure before serving production traffic.

Why this platform?

ConcernIncluded foundation
MCP Server30+ tools via stdio or SSE transport (Claude, Cursor, VSCode)
Semantic memoryDream memory store with SQLite + sqlite-vec vector search
Knowledge graphGenome DNA + immune system patterns, consolidation engine
Multi-tenantTenant isolation via authStorage.run + Firebase auth
AST analysisTypeScript/Python/JS parsing via @typescript-eslint/typescript-estree and py-ast
DeepWikiMulti-provider LLM (Anthropic/OpenAI/Ollama) automated architecture documentation with Q&A
Security scannerEnterprise vulnerability scanning built-in
A2A protocolAgent-to-agent orchestration with registry
DashboardReact + Vite management UI for API keys and projects

Architecture

AI IDE (Claude/Cursor) → MCP (stdio/SSE) → Platform :3381 → SQLite + sqlite-vec + Firebase + NVIDIA
LayerComponents
PresentationExpress HTTP, MCP SSE, A2A Agent Protocol, REST API
ServicesDream Memory, Genome DNA, Second Brain, Consolidation Engine, Security Scanner
DataSQLite + sqlite-vec (PostgreSQL optional), Firebase Firestore, NVIDIA NIM embeddings

Architecture diagrams

DiagramFile
System architecturediagrams/system.mmd
Second Brain flowdiagrams/second-brain.mmd
Dream lifecyclediagrams/dreams.mmd
Genome + Immune systemdiagrams/genome.mmd
MCP architecturearchitecture/mcp.md
Deploymentdiagrams/deployment.mmd
A2A + Syncdiagrams/a2a-sync.mmd

Quick start

Requirements

  • Node.js 20+
  • pnpm 9+ (corepack enable && corepack prepare pnpm@9 --activate)
  • SQLite + sqlite-vec (bundled — no external database server required)
  • Firebase service account (for multi-tenant auth)
  • NVIDIA NIM API key (for embeddings)

1. Clone and install

bash
git clone https://github.com/giauphan/codeatlas-platform.git
cd codeatlas-platform
pnpm install

2. Configure environment

bash
cp .env.example .env
# Edit .env with your Firebase and NVIDIA credentials

See docs/CONFIGURATION.md or docs/DEVELOPMENT.md for the full env var reference.

3. Build

bash
pnpm run build

4. Initialize database

bash
pnpm run db-init

5. Start the server

bash
# Production mode (SSE on :3381)
PORT=3381 pnpm start

# Development mode (hot reload)
pnpm run dev

# Stdio mode (for Claude Desktop — leave PORT unset)
pnpm start

Server runs at http://localhost:3381. Health check: GET /health.

MCP integration

Claude Desktop (stdio)

Add to claude_desktop_config.json:

json
{
  "mcpServers": {
    "codeatlas": {
      "command": "npx",
      "args": ["-y", "codeatlas-ai"],
      "env": {
        "CODEATLAS_API_KEY": "your_api_key"
      }
    }
  }
}

Cursor / VSCode (SSE)

json
{
  "mcpServers": {
    "codeatlas": {
      "url": "http://localhost:3381/sse"
    }
  }
}

See docs/API_EXAMPLES.md for full curl flows and transport modes.

MCP tools (30+)

CategoryTools
Dreamssave_dream_memory, query_dream_memories, sync_dreams
Genomesearch_genome, save_genome, scan_immune
Skillssearch_skills, get_skill, install_skill
Scannerscan_enterprise_vulnerabilities
Codecode_search, search_files, read_file
Projectslist_projects, get_project_structure, get_dependencies
Architecturegenerate_system_flow, generate_feature_flow_diagram, trace_feature_flow
DeepWikideepwiki_generate, deepwiki_get_tree, deepwiki_get_page, deepwiki_query

Full tool reference: docs/architecture/mcp.md.

Documentation

GuidePurpose
DevelopmentLocal dev setup, env vars, troubleshooting
DeploymentPM2, systemd, Nginx TLS reverse proxy
DeepWikiLLM config, Markdown docs, architecture generation
API examplescurl flows, MCP configs, REST endpoints
Architecture overviewLayers, services, integrations
MCP architectureTool registration, transports, request flow
Quick setupLegacy condensed guide

Known limitations

  • SQLite dependency: Data lives in a local SQLite file (default ./data/codeatlas.db) with sqlite-vec for vector search. Postgres is available as an opt-in backend.
  • Firebase auth: Multi-tenant mode requires Firebase Admin SDK + service account. API-key-only mode supported for single-tenant.
  • NVIDIA embeddings: Vector search depends on NVIDIA NIM API. Without NVIDIA_API_KEY, queries fall back to date-ordered results.
  • Local indexing: Pure cloud deployments cannot index local code — run the codeatlas-ai client locally to sync AST data.
  • Dashboard: Management UI ships separately in dashboard/ — build and deploy independently.

See CHANGELOG.md for release history.

Contributing

Bug reports, documentation fixes, tests, and focused feature contributions are welcome. Start with CONTRIBUTING.md, then look for issues labeled good first issue or help wanted.

For security vulnerabilities, follow SECURITY.md instead of opening a public issue.

License

Distributed under the MIT License. Maintained by @giauphan.

Installazione

TypingMind
{
  "mcpServers": {
    "codeatlas-platform": {
      "command": "npx",
      "args": [
        "codeatlas-enterprise"
      ]
    }
  }
}

Strumenti disponibili

  • analyze

    Perform deep code analysis on a local project directory. Generates AST analysis in memory and syncs to CodeAtlas Cloud.

  • list_projects

    List all projects that have been analyzed by CodeAtlas. Returns project names, paths, and last analysis time.

  • get_project_structure

    Get all modules, classes, functions, and variables in the analyzed project. Returns entity type, name, file path, and line number.

  • get_dependencies

    Get import/call/containment/implements relationships between entities. Shows how modules, classes, and functions are connected.

  • get_insights

    Get AI-generated code insights including refactoring suggestions, security issues, and maintainability analysis.

  • search_entities

    Search for functions, classes, modules, or variables by name. Supports fuzzy matching.

  • get_file_entities

    Get all entities (classes, functions, variables) defined in a specific file.

  • generate_system_flow

    Auto-generate a Mermaid flowchart diagram showing how modules, classes, and functions connect in the system. Returns a Mermaid diagram string that AI can read to understand the full system flow without reading every file.

  • sync_system_memory

    Create or update the .agents/memory/ folder with auto-generated system documentation. This folder serves as AI's 'long-term memory' — it persists between conversations. After calling this, AI in any future conversation can read these files to understand the full system flow without re-analyzing. Call this after completing any code changes.

  • get_system_memory

    Retrieve the auto-generated system documentation and episodic memories (business rules and change logs) for a project from CodeAtlas Cloud / Oracle 26ai.

  • save_dream_memory

    Save a dream memory (mistake, preference, knowledge, or pattern) to CodeAtlas Cloud for long-term AI recall. The AI uses this to persist learnings across conversations.

  • query_dream_memories

    Query previously saved dream memories from CodeAtlas Cloud. Uses semantic search to find relevant memories based on the query text. Returns memories with relevance scores.

  • trace_feature_flow

    Trace the complete flow of a feature through the codebase. Given a keyword (e.g. 'login', 'payment', 'crawl'), finds all related files, classes, and functions, then orders them by dependency chain to show the execution flow. This helps AI understand which files to read when working on a feature.

  • generate_feature_flow_diagram

    Generate a Mermaid diagram showing the EXECUTION FLOW of a feature. Unlike generate_system_flow (which shows module imports), this traces the actual call chain: entry point → controller → service → model → database. Given a keyword, it finds all related functions and classes, then builds a flowchart or sequence diagram showing how they call each other at runtime. This is the best tool for understanding HOW a feature works step-by-step.

  • detect_architectural_smells

    Knowledge Graph Reasoning: Use Oracle 26ai Graph features to automatically detect architectural weaknesses, circular dependencies, God objects, and dead code.

  • scan_enterprise_vulnerabilities

    Enterprise Scanner: Automatically scan all analyzed projects for bugs, security vulnerabilities (hardcoded secrets, unsafe functions), and architectural problems. Features Admin Insights and Security Scoring.

  • code_search

    Search source FILE CONTENTS across the entire project for any text string. Unlike 'search_entities' (which only searches entity names), this searches the actual code — comments, strings, variable names, function bodies, etc.

  • get_callers

    Find ALL functions, methods, or classes that call or reference a specific symbol. The 'reverse dependency' view — given a function/class name, trace everything that depends on it. Use before refactoring or deleting code.

  • get_callees

    Find everything a function, method, or class calls or depends on. The 'forward dependency' view — given a function name, trace what it imports and calls. Use to understand function dependencies before modifying.

  • impact_analysis

    Full BLAST RADIUS analysis for changing a symbol. Traces BOTH callers (what depends on this) AND callees (what this depends on) in one view. Also finds related test files. Use BEFORE any significant code change.

  • project_context

    Get a comprehensive overview of a project in ONE call: package.json (name, version, scripts, deps, devDeps), config files detected, README summary, test framework, git branch. Saves 5-10 individual read_file calls when starting work.

  • run_script

    Run an npm/pnpm/yarn script from package.json. Returns exit code, stdout/stderr, and duration. Handles cd to project dir automatically.

  • git_changes

    Get recent git changes: last N commits (hash, author, date, message, files changed), uncommitted changes (modified/added/deleted), branch status (ahead/behind). Saves multiple git commands.

Usa MCP CodeAtlas AI con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso CodeAtlas AI, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi CodeAtlas AI come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di CodeAtlas AI.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "codeatlas-platform": {
      "command": "npx",
      "args": [
        "-y",
        "codeatlas-ai"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di CodeAtlas AI, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di CodeAtlas AI.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare CodeAtlas AI per aiutarmi con questa attività?
CodeAtlas AI
Certo. Ho letto.
Ecco cosa ho trovato con CodeAtlas AI.

Domande frequenti

A cosa serve il server MCP CodeAtlas AI?

CodeAtlas AI è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare CodeAtlas AI MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare CodeAtlas AI con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP CodeAtlas AI con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando CodeAtlas AI, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego CodeAtlas AI MCP a TypingMind?

CodeAtlas AI funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre CodeAtlas AI MCP in TypingMind?

CodeAtlas AI mette a disposizione 23 strumenti MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare CodeAtlas AI MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se CodeAtlas AI richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇