trace-mcp
Local code graph of a repository, queried over MCP for impact, call paths and context
Business Central and AL development guidance from a bundled knowledge base of specialist personas
By Jeremy Vyska (individual) TypeScript Local · stdio Developer toolsKnowledge and memory
52 popularity score ★ 95 ↓ 2.0k/wk
Opens the app, which asks before it adds the server.
claude mcp add bc-code-intelligence -- npx -y bc-code-intelligence-mcp{
"mcpServers": {
"bc-code-intelligence": {
"command": "npx",
"args": [
"-y",
"bc-code-intelligence-mcp"
]
}
}
}{
"mcpServers": {
"bc-code-intelligence": {
"command": "npx",
"args": [
"-y",
"bc-code-intelligence-mcp"
]
}
}
}{
"servers": {
"bc-code-intelligence": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"bc-code-intelligence-mcp"
]
}
}
}[mcp_servers.bc-code-intelligence]
command = "npx"
args = ["-y", "bc-code-intelligence-mcp"]gemini mcp add --scope user bc-code-intelligence npx -- -y bc-code-intelligence-mcpBC_CODE_INTEL_CONFIG_PATH |
Optional: Path to a config file; BCKB_CONFIG_PATH is the legacy name. Otherwise ~/.bc-code-intel/config.json and project files are looked up. |
|---|---|
BC_CODE_INTEL_COMPANY_KNOWLEDGE_URL |
Optional: Git URL of a company knowledge layer to load. |
BC_CODE_INTEL_COMPANY_KNOWLEDGE_TOKEN |
Optional: Token for a private company knowledge repository. |
BC_CODE_INTEL_COMPANY_KNOWLEDGE_BRANCH |
Optional: Branch of the company layer, main by default. |
BC_CODE_INTEL_COMPANY_KNOWLEDGE_AUTH_TYPE |
Optional: az_cli, gh_cli or ssh when no token is given. |
BC Code Intelligence is a local Node.js server aimed at developers building Microsoft Dynamics 365 Business Central extensions in AL. It ships a knowledge base of topics and a cast of named specialist personas (debugging, upgrades, testing, code review, security, AppSource publishing, DevOps and more) that an assistant can search, quote and hand work between.
Beyond lookups, it can run multi-step workflows (start, advance, batch, cancel), analyse AL code passed to it, and unpack Business Central snapshot (.snap) debug archives into a temporary folder so their trace and AL files can be read. Teams can stack their own content on top of the bundled layer: a project folder, or a company git repository given by URL, with token, Azure CLI, GitHub CLI or SSH sign-in.
The README describes a handful of tools and the install wiki still says 8, but the source at v1.7.6 (src/tools/index.ts) registers 21 tools by default, including file-writing tools for scaffolding new knowledge layers, plus 6 diagnostic tools that only appear when developer.enable_diagnostic_tools is set in its config.
| Runtime | Node.js 18+ |
|---|
Node.js 18 or later with npx (the wiki also names npm 8+). An MCP client such as VS Code in Agent Mode, Claude Desktop or Cursor. No Business Central tenant or account is needed. A company knowledge layer needs a git repository reachable by URL and, if private, a token or a signed-in az, gh or SSH setup.
It serves guidance and stored content; it does not connect to a Business Central environment, compile AL or deploy extensions. The answers come from its bundled and layered knowledge, so quality depends on that content. The Installation Guide wiki is out of date: it lists 8 tools and a clone URL for an older repository name (bc-knowledgebase-mcp). Diagnostic tools are hidden unless enabled in config. A company git layer uses the main branch unless BC_CODE_INTEL_COMPANY_KNOWLEDGE_BRANCH is set.
Suits AL developers working on Business Central extensions who want structured advice, review checklists and upgrade guidance inside their editor, and teams that want to publish their own standards to every developer through a shared git layer. It runs locally and needs no account by default. It is a community project, not from Microsoft. Pick something else if you need an assistant to act on a live Business Central tenant or build and publish apps; this server only advises and manages its own content files.
find_bc_knowledgeget_bc_topicask_bc_expertanalyze_al_codelist_specialistsextract_bc_snapshotset_workspace_infoget_workspace_infoworkflow_listworkflow_startworkflow_nextworkflow_progressworkflow_statusworkflow_completeworkflow_batchworkflow_cancelget_codelens_mappingsvalidate_layer_reposcaffold_layer_repocreate_layer_contentlist_promptsdiagnose_git_layervalidate_layer_configtest_azure_devops_patget_layer_diagnosticsdiagnose_local_layerreload_layers