FreeBSD Ports

devel/codebase-memory-mcp 0.12.0

MCP server that indexes codebases into a persistent knowledge graph

Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
1cd5f52c2b
License
MIT
Categories
devel
Package size
25463.2 KiB, 292141.3 KiB installed

Description

codebase-memory-mcp is a high-performance Model Context Protocol (MCP) server that indexes source code into a persistent knowledge graph for use by AI coding agents.

It parses code with tree-sitter, resolves semantic relationships across files, and persists the graph in a local SQLite store. Queries are exposed via JSON-RPC 2.0 over stdio and integrate with MCP-aware clients.

Install

As a binary package — by origin, or by package name:

pkg install devel/codebase-memory-mcp
pkg install codebase-memory-mcp

From the ports tree:

cd /usr/ports/devel/codebase-memory-mcp/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	codebase-memory-mcp>0:devel/codebase-memory-mcp

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.11.00.11.0---
FreeBSD:14:quarterly0.11.00.11.0n/a--
FreeBSD:15:latest0.11.00.12.0n/a--
FreeBSD:15:quarterly0.11.00.11.0n/an/an/a
FreeBSD:16:latest0.11.00.12.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 3

No port depends on this one.

Configuration

Options name: devel_codebase-memory-mcp

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
gmake compiler:c11
Service scripts
none

Message after installing

codebase-memory-mcp is a stdio MCP server. This package installs only the
binary; it does not touch your home directory or any AI-agent configuration.

To register it with your installed AI coding agents (Claude Code, Codex CLI,
Gemini CLI, and others), run as your normal user (not root):

    codebase-memory-mcp install

This detects supported agents and edits their own config files (for example
~/.claude.json or ~/.codex/config.toml). Then restart the agent and tell it
"index this project". To wire a single agent by hand instead, add an
mcpServers entry pointing at /usr/local/bin/codebase-memory-mcp.

Indexing the FreeBSD src tree? contrib/llvm-project is the vendored LLVM
toolchain, ~27% of the tree's C/C++ files and rarely worth indexing. Copy the
sample ignore file to the src root to exclude it and cut the graph by roughly
half, while keeping FreeBSD-critical vendored code (sys/contrib/openzfs, the
device drivers under sys/contrib/dev, crypto/openssh, jemalloc) queryable:

    cp /usr/local/share/doc/codebase-memory-mcp/freebsd-src.cbmignore /path/to/freebsd/src/.cbmignore

The sample lists further upstreams you can add for an even smaller graph.
Editing .cbmignore only takes effect on a full re-index, not an incremental
one; ask the agent to delete and re-index the project after adding it.

Files

distinfo 1
FileSizeSHA256
DeusData-codebase-memory-mcp-v0.12.0_GH0.tar.gz1.09721617e+08a977033aba6ac9e76bb1ad1b13f28367d99663d7ac8b622c6f3b951c632502f3

Commit history 10

DateCommitCreditsLog message
1cd5f52c2b Olivier Cochard devel/codebase-memory-mcp: update to 0.12.0
3e51fdeccc Olivier Cochard devel/codebase-memory-mcp: update to 0.11.0
d6250b82ec Olivier Cochard Revert "sysutils/edk2: fix network boot on bhyve"
This reverts commit 3fcead9dc69a1fb01bf4200ce3b079e942b57f39. Wrongly added non-related files to previous commit.
3fcead9dc6 Olivier Cochard sysutils/edk2: fix network boot on bhyve
NetworkPkg's DxeNetLib needs EFI_RNG_PROTOCOL, and the Bhyve build's only producer is VirtioRngDxe, which never binds since bhyve has no virtio-rng device. RngDxe uses RDRAND instead and needs no device. TcpDxe depexes gEfiHash2ServiceBindingProtocolGuid, so add Hash2DxeCrypto too; without TcpDxe there is no HttpServiceBinding. Also enable HTTP boot. PR: 298499 Approved by: manu Sponsored by: Netflix
433b08bc4f Piotr Kubaj devel/codebase-memory-mcp: enable on powerpc64*

The latest 5 of 10 in the history this site was built from.