Business Central MCP Server
A server that provides standardized development rules and context for Business Central projects, optimized for use with Cursor editor.
Features
- Static Rules: JSON-based rules for Cursor editor
- Render Deployment: Easy deployment to Render.com
- Fallback Mode: Works without database connection
- Team-Friendly: Rules automatically applied to all team members
Quick Start
For Team Members
To use the BC standards in your project:
-
Clone this repository or copy the following files to your project:
-
bc-rules.json -
.cursor-context
-
-
Cursor will automatically pick up these rules when editing files in your project.
For Administrators
To update or manage the rules:
- Edit
bc-rules.jsondirectly to update static rules - Or use the MongoDB database to store and manage rules dynamically
- Run
node scripts/generateRules.jsto update the static file from the database
Deployment
Using Render (Recommended)
- Run
./scripts/deployRender.shto prepare for deployment - Push to GitHub
- Connect repository to Render.com
- Set environment variables in Render dashboard:
-
NODE_ENV:production -
MCP_SERVER_PORT:10000 -
MONGODB_URI: Your MongoDB connection string (optional)
-
Endpoints
-
/cursorrules: Get the current rules (JSON format) -
/health: Server health check
Rule Structure
Rules are structured as follows:
{
"version": "1.0",
"rules": [
"Follow business naming conventions for all code",
"Include proper error handling in all functions"
],
"context": {
"businessDomain": "Business Central",
"preferredPatterns": ["Repository pattern", "SOLID principles"]
}
}
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Reviews
user_pYY95mqJ
BC-MCP by vanachterjacob is an exceptional tool for managing and monitoring your web applications. The intuitive interface and powerful features make it stand out as a must-have for any developer. Highly recommend checking it out! For more details, visit: https://github.com/vanachterjacob/BC-MCP.