{"report":{"v":1,"package":"bc-code-intelligence-mcp","version":"1.7.7","ranAt":"2026-11-16T11:37:03.447Z","install":{"ok":true,"bin":"bc-code-intelligence-mcp","integrity":"sha512-0N3otI+dMuKtcN9DnU5uWZScmM53bBQxPdp7Odr6Zw79YJ+jDBQuqsYF9+KJvMiYzr26QdGQ8OI11mZVIEtohA==","deps":155,"scripts":[],"bins":["bc-code-intel","bc-code-intel-server","bc-code-intelligence-mcp"],"license":"MIT","engines":"node >=20.0.0","repository":"https://github.com/JeremyVyska/bc-code-intelligence-mcp.git"},"start":{"ok":true,"ms":357,"serverName":"bc-code-intelligence-mcp","serverVersion":"1.7.7","protocol":"2025-06-18","stderr":"=== Pre-Initialization Platform Check ===\nNode.js: v24.22.2\nPlatform: linux (x64)\nPWD: /\nScript: /app/node_modules/bc-code-intelligence-mcp/dist/index.js\n[startup] MCP Server starting...\n[startup] Process CWD: /\n[startup] Node version: v24.22.2\n🔍 Looking for package.json at: /app/node_modules/bc-code-intelligence-mcp/package.json\n   Exists: true\n   Version: 1.7.7\n🎯 Setting up MCP Prompts for workflow pipelines...\n✅ MCP Prompts configured for workflow orchestration\n=== BC Code Intelligence MCP Server Startup Diagnostics ===\nPlatform: linux\nNode version: v24.22.2\nArchitecture: x64\nWorking directory: /\nScript path: /app/node_modules/bc-code-intelligence-mcp/dist/index.js\n🔍 Looking for package.json at: /app/node_modules/bc-code-intelligence-mcp/package.json\n   Exists: true\n   Version: 1.7.7\n🚀 BC Code Intelligence MCP Server v1.7.7 starting...\n🔌 Connecting MCP transport (fast handshake)...\n✅ MCP transport connected - handshake complete\n💡 Server ready. Services will initialize on first request or set_workspace_info call.\n"},"tools":[{"name":"find_bc_knowledge","description":"Search BC knowledge topics, find specialists, or discover workflows. Use this when users want to find information about BC development.","params":["query","search_type","bc_version","limit"]},{"name":"get_bc_topic","description":"Get detailed content for a specific BC knowledge topic with examples and best practices.","params":["topic_id","include_samples","specialist_context"]},{"name":"ask_bc_expert","description":"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.","params":["question","context","preferred_specialist","autonomous_mode"]},{"name":"analyze_al_code","description":"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.","params":["workspace_path","file_path","file_paths","code","analysis_type","operation","bc_version","suggest_workflows"]},{"name":"list_specialists","description":"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.","params":["domain","expertise"]},{"name":"extract_bc_snapshot","description":"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.","params":["snapshot_path"]},{"name":"set_workspace_info","description":"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.","params":["workspace_root","available_mcps"]},{"name":"get_workspace_info","description":"Get the currently configured workspace root directory and available MCP servers, if any.","params":[]},{"name":"workflow_list","description":"List all available BC Code Intelligence workflows.\n\nUse this tool to discover structured workflows that can guide the user through complex processes like code reviews, debugging, or app development.\n\nReturns a list of available workflows with:\n- workflow_type: The ID to pass to workflow_start\n- name: Human-readable workflow name\n- description: What the workflow helps with\n- specialist: The recommended specialist for this workflow\n- phases: The phases/steps in the workflow\n\nCall this early in conversations to see if a workflow matches the user's intent.","params":[]},{"name":"workflow_start","description":"Start a workflow session - a stateful checklist management system that drives agents through systematic, file-by-file processing.\n\nWorkflows provide:\n- File inventory with per-file checklists\n- Dynamic checklist expansion based on analysis\n- Pattern scanning for migrations (e.g., Error→ErrorInfo)\n- Batch operations for large-scale changes\n- Progress tracking and session persistence\n\nThe workflow drives the agent with explicit next-action instructions.\n\nExample usage:\n- Start a code review: workflow_type=\"code-review\"\n- Start an error migration: workflow_type=\"error-to-errorinfo-migration\"\n- Start a BC upgrade: workflow_type=\"bc-version-upgrade\" with source_version and target_version","params":["workflow_type","scope","path","options","initial_processing"]},{"name":"workflow_next","description":"Get the next action to perform in a workflow session.\n\nCall this when you're ready for the next task. The engine returns:\n- Current progress (phase, files completed, percent)\n- Current file's checklist status\n- Next action with explicit instructions\n- Tool call suggestions for the action\n\nThe agent MUST follow the next_action instructions exactly.","params":["session_id"]},{"name":"workflow_progress","description":"Report progress on current workflow action and get the next action.\n\nCall this after completing each action (analyzing a file, applying a topic, converting an instance).\nInclude any findings, proposed changes, and topics to add to the checklist.\n\nThe engine updates session state and returns the next action to perform.","params":["session_id","completed_action","findings","proposed_changes","expand_checklist"]},{"name":"workflow_status","description":"Get current workflow v2 session status without advancing.\n\nReturns:\n- Overall progress (phase, percent complete)\n- Summary of findings by severity\n- Summary of proposed changes\n- Optionally: status of all files\n\nUse this to check on workflow progress or recover context after interruption.","params":["session_id","include_all_files"]},{"name":"workflow_complete","description":"Complete a Workflow Engine v2 session and generate the final report.\n\nCall this when all files have been processed (next_action.type === \"complete_workflow\").\n\nOptions:\n- generate_report: Create a summary report (default: true)\n- apply_changes: Apply all auto-applicable proposed changes (default: false)\n- report_format: markdown, json, or html (default: markdown)\n\nReturns the final summary and report content.","params":["session_id","generate_report","apply_changes","report_format"]},{"name":"workflow_batch","description":"Apply batch operations to multiple pattern instances in a Workflow Engine v2 session.\n\nFor pattern-based workflows (like error-to-errorinfo-migration), this allows efficient bulk operations:\n- apply_fixes: Apply auto-fixes to matching instances\n- skip_instances: Mark instances as skipped\n- flag_for_review: Mark instances for manual review\n- group_by_type: Get instances grouped by type\n\nUse dry_run=true (default) to preview changes before applying.\nUse confirmation_token from dry_run to execute the operation.","params":["session_id","operation","filter","dry_run","confirmation_token"]},{"name":"workflow_cancel","description":"Cancel a workflow session or clear all workflow sessions.\n\nUse cases:\n- Cancel a stale/orphaned workflow from a previous session\n- Reset workflow state when restarting work\n- Clear all workflows to start fresh\n\nOptions:\n- session_id: Cancel a specific workflow session\n- cancel_all: true to cancel ALL active workflow sessions","params":["session_id","cancel_all"]},{"name":"get_codelens_mappings","description":"Get merged CodeLens pattern-to-specialist mappings from all active layers. Used by VSCode extension to show inline specialist suggestions in AL code.","params":[]},{"name":"validate_layer_repo","description":"Check if a directory has valid BC Code Intelligence layer structure. Returns validation status, missing items, and suggestions for fixing.","params":["path"]},{"name":"scaffold_layer_repo","description":"Create BC Code Intelligence layer folder structure with templates. Use this to bootstrap a new company, team, or project layer.","params":["path","layer_type","layer_name","include_examples"]},{"name":"create_layer_content","description":"Create a new topic, specialist, or prompt in a BC Code Intelligence layer with proper frontmatter formatting.","params":["layer_path","content_type","name","title","domain","metadata"]},{"name":"list_prompts","description":"List all available prompts from all active layers. Returns prompt metadata for UI display.","params":["type","include_content"]}],"toolsHash":"b777deb3fe661c6bdd1537bcdac9babcdd7685e2290bf22ef8864f631a51ac71","wrote":[],"callsAt":"2026-11-16T11:37:26.548Z","calls":[{"tool":"list_specialists","ok":true,"ms":4,"bytes":247},{"tool":"get_workspace_info","ok":true,"ms":1,"bytes":288},{"tool":"workflow_list","ok":true,"ms":0,"bytes":247},{"tool":"get_codelens_mappings","ok":true,"ms":1,"bytes":247},{"tool":"list_prompts","ok":true,"ms":1,"bytes":247}],"host":{"commit":"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c","run":"https://github.com/itsHaddad/bragproof/actions/runs/43857070216"},"network":{"names":["registry.npmjs.org"],"conns":[],"callNames":[],"callConns":[]}},"summary":{"outcome":"started","needs":[],"contacts":[],"flags":[{"kind":"orders","tool":"analyze_al_code","quote":"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 conten"},{"kind":"orders","tool":"workflow_next","quote":"tructions - Tool call suggestions for the action The agent MUST follow the next_action instructions exactly."}],"tools":21,"wrote":0,"callsTried":5,"callsAnswered":5,"callContacts":[]},"history":[{"package":"bc-code-intelligence-mcp","version":"1.7.7","ranAt":"2026-11-16T11:37:03.447Z","outcome":"started","tools":21,"contacts":0,"flags":2,"serious":0,"toolsHash":"b777deb3fe661c6bdd1537bcdac9babcdd7685e2290bf22ef8864f631a51ac71"}],"page":"https://bragproof.smaverk.com/r/bc-code-intelligence-mcp"}