Dynamics 365 Business Central Admin — Claude Code MCP server
Dynamics 365 Business Central Admin is an MCP server for Claude Code that manages Business Central environments through the Admin Center API. Requests can trigger admin operations.
MIT ★ 13 updated 2026-11-17
claude mcp add --env D365BC_MCP_LOG_LEVEL=<D365BC_MCP_LOG_LEVEL> --env D365BC_MCP_PERSIST_TOKEN_CACHE=<D365BC_MCP_PERSIST_TOKEN_CACHE> --transport stdio dynamics-365-business-central-admin -- npx -y @demiliani/d365bc-admin-mcpWhat Dynamics 365 Business Central Admin does
Dynamics 365 Business Central Admin lets an AI assistant manage Business Central environments, apps, sessions, extensions, and exports through the Administration Center API. Its tools cover environment creation, copying, renaming, and deletion, plus app updates, session termination, storage exports, and update-window settings.
The server needs Node.js 18+, administrator access to a Business Central tenant, and a Microsoft Entra ID account with Business Central admin privileges. Authentication can use Azure CLI, Visual Studio, environment credentials, or an interactive browser login. Refresh tokens use the operating system's encrypted store; on Linux without a keyring, the login remains in memory only.
Add it to Claude Code with claude mcp add d365bc-admin-mcp -- npx -y @demiliani/d365bc-admin-mcp. The server uses Admin Center API v2.29 and supports management across multiple Business Central tenants.
What it helps with
- create a sandbox from Production
- list installed apps and available updates
- terminate an active user session
- set an environment update window
- export the Production database to a storage account
Example prompts for the agent
- Show all Business Central environments and report the status of Production.
- Copy Production into a new sandbox named
Testing. - List active sessions in Production and terminate session
abc123.
How to install Dynamics 365 Business Central Admin
Platform CLI
claude mcp add --env D365BC_MCP_LOG_LEVEL=<D365BC_MCP_LOG_LEVEL> --env D365BC_MCP_PERSIST_TOKEN_CACHE=<D365BC_MCP_PERSIST_TOKEN_CACHE> --transport stdio dynamics-365-business-central-admin -- npx -y @demiliani/d365bc-admin-mcpReplace <…> with your own values
Platform CLI
codex mcp add dynamics-365-business-central-admin --env D365BC_MCP_LOG_LEVEL=<D365BC_MCP_LOG_LEVEL> --env D365BC_MCP_PERSIST_TOKEN_CACHE=<D365BC_MCP_PERSIST_TOKEN_CACHE> -- npx -y @demiliani/d365bc-admin-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"dynamics-365-business-central-admin": {
"command": "npx",
"args": [
"-y",
"@demiliani/d365bc-admin-mcp"
],
"env": {
"D365BC_MCP_LOG_LEVEL": "<D365BC_MCP_LOG_LEVEL>",
"D365BC_MCP_PERSIST_TOKEN_CACHE": "<D365BC_MCP_PERSIST_TOKEN_CACHE>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"dynamics-365-business-central-admin": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@demiliani/d365bc-admin-mcp"
],
"env": {
"D365BC_MCP_LOG_LEVEL": "<D365BC_MCP_LOG_LEVEL>",
"D365BC_MCP_PERSIST_TOKEN_CACHE": "<D365BC_MCP_PERSIST_TOKEN_CACHE>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e D365BC_MCP_LOG_LEVEL=<D365BC_MCP_LOG_LEVEL> -e D365BC_MCP_PERSIST_TOKEN_CACHE=<D365BC_MCP_PERSIST_TOKEN_CACHE> dynamics-365-business-central-admin npx -y @demiliani/d365bc-admin-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Dynamics 365 Business Central Admin
How do I install Dynamics 365 Business Central Admin in Claude Code?
Run claude mcp add d365bc-admin-mcp -- npx -y @demiliani/d365bc-admin-mcp. This registers the MCP server in Claude Code through npx.
What does Dynamics 365 Business Central Admin do?
It gives an AI assistant tools for managing Business Central environments, apps, PTEs, extensions, sessions, update windows, and exports through the Admin Center API. Operations are requested in natural language.
What does Dynamics 365 Business Central Admin require?
It requires Node.js 18+, administrator access to a Dynamics 365 Business Central tenant, and a Microsoft Entra ID Azure account with Business Central administrator privileges.