Skip to main content
Glama
giauphan

CodeAtlas MCP Enterprise

by giauphan

CodeAtlas MCP Server

Local-first MCP server for AI-powered codebase intelligence β€” AST analysis, dependency graphs, and semantic search. Your source code never leaves your machine.

CI Node.js Version License: MIT GitHub Release

πŸ“Œ What is CodeAtlas MCP Server?

A Model Context Protocol (MCP) server that provides:

  • AST Analysis: Parse TypeScript, Python, PHP, and more.

  • Dependency Graphs: Visualize call chains and module relationships.

  • Semantic Search: Find code by meaning, not just syntax.

  • Local-First: Your code stays on your machine; no telemetry by default.

  • Cloud Optional: Connect to codeatlas-platform for dream memory, genome immune system, and skills sync.

Why Use It?

Use Case

Benefit

AI IDE Integration

Claude Desktop, Cursor, VSCode β€” get context-aware code intelligence.

Codebase Audits

Automate dependency analysis, security scans, and refactoring insights.

Semantic Search

Find functions, classes, or modules by intent, not just name.

Multi-Language Support

Works with TypeScript, Python, PHP, and more via AST parsers.


Related MCP server: CodeGraphMCPServer

πŸ— Architecture

AI IDE β†’ MCP stdio/SSE β†’ Parser (AST) β†’ Dependency Graph β†’ Code Search
                          β”‚
                    codeatlas-platform (HTTP) β†’ Dreams + Genome

Layer

Components

Parser

TypeScript, Python, PHP AST analysis

Graph

Dependency graph with chunked force layout

Search

Semantic code search with regex safety

Cloud

Optional: connect to codeatlas-platform for dreams/genome


πŸ”§ Quick Start

1. Install

# Clone the repo
git clone https://github.com/giauphan/codeatlas-mcp-server.git
cd codeatlas-mcp-server

# Install dependencies (requires Node.js 20+)
pnpm install

2. Configure

# Copy env template
cp .env.example .env

# Edit .env (Oracle DB optional for persistent memory)
# Cloud features require both variables; no default URL is used
# Set CODEATLAS_API_URL to your CodeAtlas API base URL
# Set CODEATLAS_API_KEY to your CodeAtlas API key

3. Build

pnpm run build

4. Run

# Local-only mode (no cloud)
pnpm start

# With cloud connection (requires codeatlas-platform running)
CODEATLAS_API_URL=http://localhost:8080 CODEATLAS_API_KEY=your_api_key_here pnpm start

πŸ“‘ MCP Tools (30+)

Category

Tools

Code Analysis

analyze_project, code_search, file_info

AST

parse_file, find_symbol, get_dependencies

Graphs

dependency_graph, call_graph

Security

scan_vulnerabilities

Cloud

save_dream_memory, query_dream_memories, sync_dreams

Skills

search_skills, get_skill, install_skill

Example: Connect to Claude Desktop

Add to claude-desktop-config.json:

{
  "mcpServers": {
    "codeatlas": {
      "command": "npx",
      "args": [
        "-y",
        "codeatlas-mcp-server"
      ]
    }
  }
}

Example: Connect to Cursor/VSCode (SSE)

Add to settings.json:

{
  "mcp.sse": {
    "codeatlas": "npx codeatlas-mcp-server"
  }
}

Connect to Zed (MCP context server)

Zed has no Claude-style hooks, so the Second Brain hooks are exposed as MCP tools instead.

Option A β€” automatic setup:

codeatlas-enterprise setup zed

This writes a codeatlas entry into Zed's context_servers (passing CODEATLAS_API_KEY/CODEATLAS_API_URL from your environment). Restart Zed afterward.

Option B β€” manual: add to Zed settings.json (open via zed: open settings file):

{
  "context_servers": {
    "codeatlas": {
      "command": "npx",
      "args": ["-y", "codeatlas-mcp-server"],
      "env": { "CODEATLAS_API_KEY": "your_api_key_here" }
    }
  }
}

Then in Zed's Agent Panel, call the brain_context tool at the start of a task to inject Second Brain memory, and save_dream_memory after a task to persist learnings. route_task suggests a model/effort (advisory only β€” Zed does not auto-switch models). See Zed Integration.


πŸ“š Documentation

Guide

Description

Development Guide

Full environment setup, commands, and troubleshooting.

Deployment Guide

PM2, systemd, Nginx TLS, and healthchecks.

API Examples

Auth, dream memory, and MCP config examples.


🀝 Contributing

See CONTRIBUTING.md for guidelines.


πŸ“œ License

MIT Β© Giau Phan



⚠️ Known Limitations

  • Oracle DB Required for Persistent Memory: Local-only mode works without Oracle, but dream memory persistence requires it.

  • Cloud Dream Query Filters: When querying memories with scope, tags, or memory_type filters, the backend performs vector hybrid search on the query text plus SQL filtering on the other parameters. The tags parameter is passed as a JSON string to the upstream API. The related_ids parameter is also supported for filtering by related memory IDs.

  • Multi-Tenant Not Supported: Only single-tenant mode available.

  • Security: No built-in rate limiting; use a reverse proxy (Nginx) in production.


πŸ› Issues & Support

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

–Maintainers
18hResponse time
2dRelease cycle
4Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    D
    maintenance
    A privacy-first MCP server that provides local LLM-enhanced tools for code analysis, security scanning, and automated task execution using backends like Ollama and LM Studio. It enables symbol-aware code reviews and workspace exploration while ensuring that all code and analysis remain strictly on your local machine.
    36
    ISC
  • A
    license
    Not graded
    quality
    C
    maintenance
    A lightweight, zero-configuration MCP server for source code analysis with GraphRAG capabilities, enabling structural understanding and efficient code completion from MCP-compatible AI tools.
    12
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    An MCP code-intelligence server for AI agents with pre-indexed AST cache, 62 MCP tools, and TOON-compressed output, enabling token-efficient code analysis and project health grading entirely locally.
    9
    47
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    MCP server for local-first code intelligence, providing structural code graph, semantic search, and impact analysis to AI agents.
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • A MCP server built for developers enabling Git based project management with project and personal…

  • Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/giauphan/codeatlas-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server