Business Central MCP Server logo

Business Central MCP Server

by vanachterjacob

A server that provides standardized development rules and context for Business Central projects, optimized for use with Cursor editor. It offers static rules, easy deployment, and team-friendly features.

View on GitHub

Last updated: N/A

What is Business Central MCP Server?

The Business Central MCP Server is a tool that provides standardized development rules and context for Business Central projects. It is designed to be used with the Cursor editor and offers features such as static rules, easy deployment to Render.com, and a fallback mode that works without a database connection.

How to use Business Central MCP Server?

For team members, clone the repository or copy the bc-rules.json and .cursor-context files to your project. Cursor will automatically pick up these rules. For administrators, edit bc-rules.json directly or use the MongoDB database to manage rules dynamically, then run node scripts/generateRules.js to update the static file. Deployment to Render.com is facilitated by the provided script.

Key features of Business Central MCP Server

  • Static Rules (JSON-based)

  • Render Deployment

  • Fallback Mode

  • Team-Friendly Rule Application

Use cases of Business Central MCP Server

  • Standardizing Business Central development practices

  • Ensuring code consistency across a team

  • Simplifying deployment to Render.com

  • Providing development context within the Cursor editor

FAQ from Business Central MCP Server

What is the purpose of bc-rules.json?

It contains the static rules that Cursor editor uses to provide context and enforce standards.

How do I update the rules?

Administrators can edit bc-rules.json directly or use the MongoDB database and the generateRules.js script.

Is a database connection required?

No, the server has a fallback mode that works without a database connection.

How do I deploy to Render.com?

Use the provided deployRender.sh script, push to GitHub, connect the repository to Render.com, and set the required environment variables.

What are the available endpoints?

The server provides /cursorrules for getting the current rules in JSON format and /health for a server health check.