Labsco
MCP SERVER

Codebase MCP Server

by MyunghoBae

Point an assistant at one project directory and let it read the tree, the configs and the import graph — and nothing outside it.

Code Intelligence & Repository Indexing
Summary
An unfamiliar repository, answered from the repository.

Instead of pasting files into the conversation one at a time, it gives the model the project's shape — the tree, the configs, and what a given file pulls in — while every read stays inside the one directory you handed it.

What it is

A read-only view of a single codebase, rooted at a directory you name on the launch command. It answers the questions you ask when opening an unfamiliar JavaScript or TypeScript project: what is this, what is configured, and what depends on what.

What you get
  • Project basics from package.json together with the directory structure
  • Every configuration file under the root, located by search rather than guessed at
  • The dependency tree walked out from a file you name
  • Directory listings that distinguish files from folders
  • File contents alongside size, permissions, type, and creation and modification times
Requirements

Node.js v18 or later, and the path to your codebase passed as an argument — file operations are confined to that root. It understands JavaScript, TypeScript and CSS including preprocessors. A Docker image can be built from the repository instead.

Setup effort

One command — npx codebase-mcp-server@latest