---
id: post/mohana-blog/tag-blogger-com-1999-blog-1492436440038408053-post-8092462798375727234--07aea86270
type: post
title: Building BcMCPProxy.exe and Connecting to Claude Desktop (BLOG 3 OF 4)
summary: Building and configuring BcMCPProxy.exe as a self-contained executable in Visual Studio, then connecting it to Claude Desktop via Azure App Registration for delegated authentication to Business Central. This enables Claude to interact with BC through the MCP protocol.
tier: community
language: en
tags:
  - mcp server
  - claude desktop
  - azure app registration
  - delegated permissions
  - proxy
  - visual studio
  - deployment
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T01:57:04.179Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: 3f540c731b720990114e589e23546217fda87745473f430a37a9cc4166c30c24
evidence:
  - kind: blog
    url: http://mohana-dynamicsnav.blogspot.com/2026/02/building-bcmcpproxyexe-and-connecting.html
    title: Building BcMCPProxy.exe and Connecting to Claude Desktop (BLOG 3 OF 4)
    date: "2026-02-11"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: http://mohana-dynamicsnav.blogspot.com/2026/02/building-bcmcpproxyexe-and-connecting.html
    title: Building BcMCPProxy.exe and Connecting to Claude Desktop (BLOG 3 OF 4)
    date: "2026-02-11"
    commit: null
    t: null
    quote: The BcMCPProxy uses delegated permissions - it authenticates as the signed-in user via Azure AD.
  - kind: blog
    url: http://mohana-dynamicsnav.blogspot.com/2026/02/building-bcmcpproxyexe-and-connecting.html
    title: Building BcMCPProxy.exe and Connecting to Claude Desktop (BLOG 3 OF 4)
    date: "2026-02-11"
    commit: null
    t: null
    quote: On first launch, an Azure sign-in prompt will appear. Authenticate with a user from the same tenant.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
post_id: tag:blogger.com,1999:blog-1492436440038408053.post-8092462798375727234
source_id: mohana-blog
source_name: Mohana's Dynamics NAV & BC blog
url: http://mohana-dynamicsnav.blogspot.com/2026/02/building-bcmcpproxyexe-and-connecting.html
published_at: "2026-02-11T08:14:00.000Z"
author: Mohana Yadav
full_text: false
words: 829
quotes:
  - text: The BcMCPProxy uses delegated permissions - it authenticates as the signed-in user via Azure AD.
    why_it_matters: "Clarifies the authentication model: the proxy acts as the user, not as a separate service principal, enabling proper user-level access to Business Central."
  - text: On first launch, an Azure sign-in prompt will appear. Authenticate with a user from the same tenant.
    why_it_matters: Documents the expected user interaction flow and confirms that Claude Desktop will prompt for Azure credentials before tools become available.
code_objects_mentioned: []
systems:
  - integration
  - administration
versions_mentioned:
  - .NET 8
  - Visual Studio 2022
preview:
  embeddable: true
  frame_url: null
  image: https://blogger.googleusercontent.com/img/a/AVvXsEjXEOyqQm9gPUlPDjPwZfedtZ3NGo7FRjyYPcAzTEWhVnCf9kPZhQrUeIz3tmjfdThZfnoQO6eoJrn8nufGOJ-SKkGVncv7SkEVNYwTE6exu6w8Lpgiutlw5LyhymGCXdUXHxk0d-SWzAKFd_jsIJO8LDocZGv2JiveG3_89nS6RXLLTq66YasCzNTMfLdK=w1200-h630-p-k-no-nu
  image_alt: null
  image_w: null
  image_h: null
  site_name: null
  favicon: https://mohana-dynamicsnav.blogspot.com/favicon.ico
  probed_at: "2026-10-07T11:50:51.905Z"
---

# Building BcMCPProxy.exe and Connecting to Claude Desktop (BLOG 3 OF 4)

[Read the post](http://mohana-dynamicsnav.blogspot.com/2026/02/building-bcmcpproxyexe-and-connecting.html) · Mohana's Dynamics NAV & BC blog (Mohana Yadav) · 2026-02-11 · 829 words · tier community · reviewed (checked by Opus)

> Building and configuring BcMCPProxy.exe as a self-contained executable in Visual Studio, then connecting it to Claude Desktop via Azure App Registration for delegated authentication to Business Central. This enables Claude to interact with BC through the MCP protocol.

## Key points

- Create an Azure App Registration with delegated permissions for Dynamics 365 Business Central (Financials.ReadWrite.All and user_impersonation)
- Build BcMCPProxy.exe as a self-contained release using either Visual Studio UI or command line dotnet publish with --self-contained flag
- Configure Claude Desktop by editing claude_desktop_config.json with the BcMCPProxy.exe path and parameters including TenantId, ClientId, Environment, Company, and ConfigurationName
- Publish as a single file (~60-80 MB self-contained) and place in a permanent location like C:\Tools\BcMCPProxy\
- Authenticate via Azure AD on first Claude Desktop launch to enable BC MCP tools access

## Quotes

- "The BcMCPProxy uses delegated permissions - it authenticates as the signed-in user via Azure AD." (Clarifies the authentication model: the proxy acts as the user, not as a separate service principal, enabling proper user-level access to Business Central.)
- "On first launch, an Azure sign-in prompt will appear. Authenticate with a user from the same tenant." (Documents the expected user interaction flow and confirms that Claude Desktop will prompt for Azure credentials before tools become available.)

## Context

- Features: BcMCPProxy.exe, MCP Server, Azure App Registration, Claude Desktop integration, Delegated authentication, Self-contained publishing, BC MCP configuration
- Versions: .NET 8, Visual Studio 2022

Source: Mohana's Dynamics NAV & BC blog, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
