Codebase Model Context Protocol Server
Codebase Model Context Protocol Server. That is what the codebase mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
The server publishes 7 tools. What each one is for:
get-project-basics — Retrieves essential project information including package.json details, directory structuresearch-config-files — Searches for configuration files within the root directory and returns their pathsget-dependency-tree — Traverses the dependency tree based on the given file path and root directory, and returns the traversal resultslist-directory — Lists the contents of a specified directory, distinguishing between files and directoriesread-file-with-metadata — Reads the content of a specified file and retrieves its metadataPrerequisites — The Prerequisites tool exposed by this serverInstallation — First, install the Codebase MCP server with your client. A typical configuration looks like this:Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Among the file and storage access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Codebase's toolset — get-project-basics, search-config-files, get-dependency-tree and 4 more — is a fair guide to whether it matches your workflow. It is maintained by MyunghoBae; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Codebase's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| get-project-basics | Retrieves essential project information including package.json details, directory structure. |
| search-config-files | Searches for configuration files within the root directory and returns their paths. |
| get-dependency-tree | Traverses the dependency tree based on the given file path and root directory, and returns the traversal results. |
| list-directory | Lists the contents of a specified directory, distinguishing between files and directories. |
| read-file-with-metadata | Reads the content of a specified file and retrieves its metadata. |
| Prerequisites | The Prerequisites tool exposed by this server. |
| Installation | First, install the Codebase MCP server with your client. A typical configuration looks like this: |
{
"mcpServers": {
"Codebase": {
"command": "npx",
"args": ["codebase-mcp-server@latest", "/path/to/your/codebase"]
}
}
}Configuration as documented by the project. Restart the client after saving.
Scoped local file access — read, write, search and reorganise files in directories you explicitly allow.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Connects AI models to an Obsidian knowledge base for direct access and manipulation of notes and folders.