Package Exports
- bc-code-intelligence-mcp
- bc-code-intelligence-mcp/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bc-code-intelligence-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
BC Code Intelligence MCP Server
Transform your Business Central development with intelligent specialist consultation, seamless handoffs, smart discovery, and context-preserving workflows.
โจ Enhanced Developer Workflows
๐ฏ Core Features
- ๐ค Smart Specialist Discovery: Intelligent routing to 14 BC domain experts based on query analysis
- ๐ Seamless Handoffs: Context-preserving transitions between specialists with full conversation history
- ๐ Agent-Friendly Onboarding: Natural specialist team introduction optimized for coding agents
- ๐ฌ Persistent Sessions: Long-running conversations with accumulated context and recommendations
- ๐ง Multi-Specialist Collaboration: Bring multiple experts into the same conversation for complex challenges
๐ ๏ธ Development Infrastructure
- ๐ 20+ MCP Tools: Complete toolkit for knowledge discovery, specialist engagement, and workflow management
- ๐ 9 Workflow Orchestration: Persona-driven development pipelines with structured guidance
- ๐ฏ MCP Prompts: Discoverable workflow initiation through standardized prompts
- ๏ฟฝ Layered Knowledge: Embedded โ Company โ Team โ Project override system
- โ๏ธ Zero Configuration: Works immediately with embedded knowledge
- ๐ง Extensible Architecture: Support for git repositories, company standards, and project overrides
๏ฟฝ BC Specialist Team (14 Experts)
Core Development Specialists:
- ๐๏ธ Alex Architect - Solution Design & Requirements Expert
- ๐ป Sam Coder - Expert Development Accelerator
- ๐ Dean Debug - Performance & Troubleshooting Specialist
- โ ๏ธ Eva Errors - Error Handling & Exception Management
Quality & Security Specialists:
- ๐งช Quinn Tester - Testing Strategy & Validation Expert
- ๐ Roger Reviewer - Code Quality & Standards Guardian
- ๐ Seth Security - Security & Permission Management
Integration & Architecture Specialists:
- ๐ Jordan Bridge - Integration & Extensibility Architect
- ๐๏ธ Logan Legacy - Code Archaeology & System Analysis
User Experience & Business Specialists:
- ๐จ Uma UX - User Experience & Interface Design
- ๐ช Morgan Market - AppSource & ISV Business Expert
Knowledge & Learning Specialists:
- ๐ Taylor Docs - Documentation & Knowledge Management
- ๐ฉโ๐ซ Maya Mentor - Teaching-Focused Development Guide
- ๐ค Casey Copilot - AI-Enhanced Development Coach
๐ค Specialist Bundle Experience
Experience collaborative BC development with intelligent specialist routing and seamless handoffs:
Quick Start - Agent Integration
// 1. Discover the specialist team (agents do this automatically)
const team = await mcp.call('introduce_bc_specialists', {
context: 'Business Central development',
focus_areas: ['performance', 'security', 'architecture']
});
// 2. Smart routing based on your challenge
const suggestions = await mcp.call('discover_specialists', {
query: 'My AL extension has performance issues with database queries'
});
// 3. Engage with the recommended specialist
const session = await mcp.call('suggest_specialist', {
specialist_id: 'dean-debug',
user_query: 'Performance optimization needed',
context: 'Business Central extension development'
});
// 4. Seamless handoffs when different expertise is needed
await mcp.call('handoff_to_specialist', {
target_specialist_id: 'alex-architect',
handoff_type: 'transfer',
handoff_reason: 'Need architectural review after performance fixes',
work_completed: ['Optimized queries', 'Added caching'],
continuation_points: ['Review overall architecture', 'Design scalability']
});
Specialist Bundle Tools
๐ฏ When to Use Each Tool Type:
For Direct Conversations & Questions:
ask_bc_expert
- USE FOR: "Talk to Sam", "Ask Dean about debugging", "I took over this BC app"- โ Direct questions get immediate specialist responses (no methodology setup required)
- โ Broader requests get structured methodology onboarding for systematic guidance
suggest_specialist
- Start/continue specialist conversationsget_specialist_advice
- Get expert guidance on specific topics- โ Smart name matching: "Sam" automatically finds "sam-coder", "Dean" finds "dean-debug"
For Structured Development Processes:
start_bc_workflow
- USE FOR: "Optimize my code systematically", "Conduct architecture review", "Security audit"
Discovery & Routing:
discover_specialists
- Intelligent specialist suggestions based on query analysisbrowse_specialists
- Browse by domain or expertise areaget_specialist_info
- Detailed information about any specialistlist_specialists
- See all available specialists
Onboarding & Navigation:
introduce_bc_specialists
- Agent-friendly team introductionget_specialist_introduction
- Individual specialist detailssuggest_next_specialist
- Intelligent next-step recommendations
Handoffs & Collaboration:
handoff_to_specialist
- Context-preserving specialist transitions (auto-creates sessions)bring_in_specialist
- Multi-specialist consultationget_handoff_summary
- Session history and analytics
๐ Workflow Orchestration
Transform your BC development process with structured, persona-driven workflows:
Available Workflows
workflow_code_optimization
- Systematic code optimization with performance analysisworkflow_architecture_review
- Comprehensive solution architecture evaluationworkflow_security_audit
- Security analysis and compliance verificationworkflow_performance_analysis
- Performance bottleneck identification and resolutionworkflow_integration_design
- Robust integration pattern developmentworkflow_upgrade_planning
- BC version upgrade with risk assessmentworkflow_testing_strategy
- Comprehensive testing approach developmentworkflow_new_developer_onboarding
- Structured developer guidance and trainingworkflow_pure_review
- Analysis-only workflow without implementation changes
How It Works
- Discover Workflows: Use MCP Prompts to see available workflows in your client
- Start Pipeline: Initiate with project context and requirements
- Guided Phases: Progress through specialist-led phases with targeted guidance
- Track Progress: Monitor advancement and validate methodology compliance
- Constitutional Gates: Ensure BC best practices and extensibility principles
Example Usage
// In any MCP-compatible client (Claude, VS Code, etc.)
// Prompts appear automatically for discovery
// Start a workflow
workflow_code_optimization({
code_location: "src/MyCustomization.al",
bc_version: "23.1"
})
// Advance through phases
advance_workflow({
workflow_id: "workflow-123",
phase_results: "Completed performance analysis..."
})
// Check status
get_workflow_status({ workflow_id: "workflow-123" })
๐ ๏ธ MCP Tools Reference
Knowledge Discovery
find_bc_topics
- Search BC knowledge by specialist persona or expertiseconsult_bc_specialist
- Get specialist consultation and guidanceget_specialist_roster
- List available specialists and their expertiseget_topic_content
- Retrieve detailed topic information
Workflow Management
advance_workflow
- Progress workflow to next phase with resultsget_workflow_status
- Check current workflow progress and stateget_workflow_guidance
- Get detailed phase-specific guidance
Code Analysis
analyze_code_patterns
- Analyze AL code for patterns and improvementsget_optimization_workflow
- Get tailored optimization recommendations
Methodology Support
load_methodology
- Load structured development methodologiesget_phase_guidance
- Get methodology phase-specific instructionsvalidate_completeness
- Validate methodology phase completion
System Management
get_layer_info
- Information about configured knowledge layersresolve_topic_layers
- See layer resolution for specific topicssearch_layered_topics
- Search across all configured layersget_configuration_status
- System configuration and health statusreload_configuration
- Reload configuration without restartget_system_analytics
- Usage analytics and performance metrics
Quick Start
npm install
npm run build
npm start
Architecture
- ๐ Workflow Orchestration: Persona-driven pipeline management with session state
- ๐ Layer Resolution: Multi-source knowledge with intelligent override system
- ๐ Methodology Integration: Structured development workflows with validation
- ๐ฏ MCP Prompts: Client-agnostic workflow discovery and initiation
- ๐ Version Awareness: BC version compatibility filtering throughout
- ๐ฅ Specialist System: AI persona management with domain expertise
- โก Constitutional Gates: BC development best practices enforcement
- ๐๏ธ Pure TypeScript: Clean separation from knowledge content
Knowledge Source
Knowledge content is linked via git submodule from bc-code-intelligence.