bc-code-intelligence-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| find_bc_knowledgeB | Search BC knowledge topics, find specialists, or discover workflows. Use this when users want to find information about BC development. |
| get_bc_topicC | Get detailed content for a specific BC knowledge topic with examples and best practices. |
| ask_bc_expertA | Consult a BC specialist for direct expert guidance. Returns specialist instructions and relevant BC knowledge. Auto-selects best specialist or use preferred_specialist parameter. Set autonomous_mode=true for structured action plans instead of conversational responses. |
| analyze_al_codeB | Analyze AL code files in a workspace or specific files. IMPORTANT: Use workspace_path or file_path parameters - the MCP reads files directly. Do NOT pass code content unless you have inline code that is not in a file. |
| list_specialistsA | Browse available BC specialists and their expertise areas. Useful for discovering the specialist team and understanding who helps with what. After browsing, use ask_bc_expert with preferred_specialist parameter to connect with a specific specialist. |
| extract_bc_snapshotA | Extract a Business Central snapshot (.snap) file to analyze debug traces, AL source code, and execution flow. Snapshots are ZIP archives containing .mdc debug trace files and .al source files. Returns temp directory path where files can be read using standard file tools. |
| set_workspace_infoA | Set workspace root directory and available MCP server IDs. Enables project-specific knowledge layers and ecosystem-aware specialist recommendations. Call before other BC tools to activate workspace context. |
| get_workspace_infoA | Get the currently configured workspace root directory and available MCP servers, if any. |
| workflow_listA | List all available BC Code Intelligence workflows. Use this tool to discover structured workflows that can guide the user through complex processes like code reviews, debugging, or app development. Returns a list of available workflows with:
Call this early in conversations to see if a workflow matches the user's intent. |
| workflow_startA | Start a workflow session - a stateful checklist management system that drives agents through systematic, file-by-file processing. Workflows provide:
The workflow drives the agent with explicit next-action instructions. Example usage:
|
| workflow_nextA | Get the next action to perform in a workflow session. Call this when you're ready for the next task. The engine returns:
The agent MUST follow the next_action instructions exactly. |
| workflow_progressA | Report progress on current workflow action and get the next action. Call this after completing each action (analyzing a file, applying a topic, converting an instance). Include any findings, proposed changes, and topics to add to the checklist. The engine updates session state and returns the next action to perform. |
| workflow_statusA | Get current workflow v2 session status without advancing. Returns:
Use this to check on workflow progress or recover context after interruption. |
| workflow_completeA | Complete a Workflow Engine v2 session and generate the final report. Call this when all files have been processed (next_action.type === "complete_workflow"). Options:
Returns the final summary and report content. |
| workflow_batchA | Apply batch operations to multiple pattern instances in a Workflow Engine v2 session. For pattern-based workflows (like error-to-errorinfo-migration), this allows efficient bulk operations:
Use dry_run=true (default) to preview changes before applying. Use confirmation_token from dry_run to execute the operation. |
| workflow_cancelA | Cancel a workflow session or clear all workflow sessions. Use cases:
Options:
|
| get_codelens_mappingsA | Get merged CodeLens pattern-to-specialist mappings from all active layers. Used by VSCode extension to show inline specialist suggestions in AL code. |
| validate_layer_repoA | Check if a directory has valid BC Code Intelligence layer structure. Returns validation status, missing items, and suggestions for fixing. |
| scaffold_layer_repoA | Create BC Code Intelligence layer folder structure with templates. Use this to bootstrap a new company, team, or project layer. |
| create_layer_contentB | Create a new topic, specialist, or prompt in a BC Code Intelligence layer with proper frontmatter formatting. |
| list_promptsA | List all available prompts from all active layers. Returns prompt metadata for UI display. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| code_optimization | Optimize existing Business Central code using systematic analysis phases |
| architecture_review | Conduct comprehensive architecture review of Business Central solution |
| security_audit | Perform security analysis and compliance check for Business Central implementation |
| perf_review | Analyze and optimize Business Central performance issues |
| integration_design | Design robust integration patterns for Business Central |
| upgrade_planning | Plan Business Central version upgrade with risk assessment |
| testing_strategy | Develop comprehensive testing strategy for Business Central solutions |
| dev_onboarding | Guide new developer through Business Central development onboarding |
| app_takeover | Analyze and orient developer taking over an unfamiliar Business Central app |
| spec_analysis | Analyze requirements and specifications to determine development readiness |
| bug_investigation | Systematically investigate and resolve Business Central bugs and issues |
| monolith_to_modules | Refactor monolithic Business Central code into modular architecture using SOLID principles |
| data_flow_tracing | Trace data flow and dependencies across Business Central objects and codeunits |
| full_review | Conduct comprehensive review and analysis without implementation changes |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/JeremyVyska/bc-code-intelligence-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server