mcp

Business Central for your agent

The knowledge base this site is built from, as an MCP server your agent can query, and a Claude Code plugin around it. Every answer carries the page, its trust tier and its evidence. No API key, no account.

What to ask

Type any of these into an agent that has the server. The tool it reaches for is on the right.

The tools

ToolWhat it doesExample
bc_searchEvery page by title, AL object name and caption, summary and tags, plus fields, events and procedures, ranked like the site's search (t36, cu 80, plurals, one typo, synonyms); hybrid (keywords plus meaning), so a paraphrase still finds the page. A symbol ranks where its owner ranks; a kind: query that finds nothing says so and names the nearest symbols. Filter by type, tier, galaxy system, country, app, object type or kind.bc_search('posting preview')
bc_briefA question or a page answered in five layers, each line with its tier and source: how it works on Learn (with key facts), the AL objects, what changed lately (code changes, AL releases, hotfix lists), heads up (warnings scoped to the object and version they apply to) and the gaps no source fills; differing status statements side by side.bc_brief('environment copy cleanup')
bc_lsBrowse the page tree; an empty path lists the sections.bc_ls('objects/table')
bc_catA page's markdown: frontmatter with evidence and links, then the body. A long page comes back compact with its section keys; section, offset and limit read one part, and a symbol's path returns just that member.bc_cat('localizations/be')
bc_get_objectAn object of W1, a first-party app or a country layer by type and id, reference, name or caption: fields, keys, events, public procedures, obsolete state, versions, countries that replace it, Learn pages; a country layer that replaces a W1 object prints what it adds before the page. A large object comes back compact; read one section with section, offset and limit. counts.procedures in the frontmatter counts every procedure; the summary's 'public procedures' excludes locals and events.bc_get_object('table', '18')
bc_diff_objectMember-level changes of a W1 object between two consecutive versions: fields, events, procedures, keys, properties, obsolete state.bc_diff_object('codeunit', 'Sales-Post', '29', '30')
bc_localizationWhat a country layer adds to or changes in W1, with its Learn local functionality hub. Large countries come back compact, as with bc_cat.bc_localization('BE')
bc_whats_newVideos, posts, roadmap features, AL extension releases and code changes (merged pull requests) dated on or after a date and up to today, newest first.bc_whats_new('2026-10-01')
bc_blog_footprintWhat a blog or channel covers: its posts or videos and the systems they touch.bc_blog_footprint('kauffmann-nl')
bc_feedbackA prefilled GitHub issue link for a page (wrong fact, missing evidence, broken link). Nothing is sent by the agent.bc_feedback('objects/table/18', 'field 7 is wrong')
bc_statusServer version, whether the data is reachable, page counts by type, the code index version and when the data was last deployed. Tells 'the Observatory is down' from 'it has no answer'.bc_status()

The plugin (Claude Code)

The plugin registers the server, ships four skills that tell the agent when to use it, and connects bc-code-atlas by Stefan Maron for procedure bodies and the per-procedure call graph. The observatory keeps the object-level facts; the atlas has the source. It also connects Microsoft's Learn MCP: the observatory finds the Learn page, the Learn MCP reads it and finds AL code samples.

What the plugin installs

Three MCP servers and four skills. Nothing needs an account or an API key.

ServerRun byConnects toFor, and what leaves your machine
bc-observatorythis project (waldo), the npm package run locallynpx -y bc-observatory@latestBusiness Central facts with evidence and a trust tier: objects, fields, events, versions, localizations, what changed, roadmap, videos, posts. Not procedure bodies or Learn text. Your queries stay on your machine; it downloads the site's search index and the pages you read.
bc-code-atlasStefan Maron, a free hobby server (be a polite client)https://bc-code-atlas.stefanmaron.dev/mcpAL source: a procedure body, what one procedure calls, semantic code search of one W1 version. The names and search text of your calls go to his server.
microsoft-learnMicrosoft, public endpoint, no authenticationhttps://learn.microsoft.com/api/mcpReading a Learn page the observatory points to and AL code samples. The URLs and search text of your calls go to Microsoft.

Routing: the observatory first; bc-code-atlas for procedure bodies and per-procedure edges; Microsoft Learn MCP to read a Learn page the observatory points to and for AL code samples. Switch one plugin server off with /mcp (Claude Code stops connecting to it, without removing the plugin); claude mcp remove acts on servers you added yourself, so to take only some servers install them by hand instead. A Learn MCP you already have at the same URL wins over the plugin's: keep one. Details in plugin/README.md.

Install

Step by step for Claude in the browser, on your phone, in Claude Desktop, Claude Code and Copilot CLI: INSTALL.md.

Claude Code

Needs Node.js 22 or newer (the current LTS is fine). Check: node --version. Install: Windows winget install OpenJS.NodeJS.LTS, Mac brew install node, Linux the LTS from https://nodejs.org/en/download; then restart the app you install into.

  1. Claude Code: the plugin (server, four skills, bc-code-atlas, Microsoft Learn MCP)

    Two commands: the first adds the marketplace (a 1 KB file on this site), the second installs the plugin (it fetches only the plugin's folder from the repository, about 100 KB). The plugin registers the MCP server, the bc-code-atlas server and Microsoft's Learn MCP server and ships the four skills.

    claude plugin marketplace add https://waldo1001.github.io/waldo.BCObservatory/marketplace.json
    claude plugin install bc-observatory@bc-observatory
Server only
  1. Claude Code: the server only

    No skills, no atlas: just the eleven tools.

    claude mcp add bc-observatory -- npx -y bc-observatory@latest

Check it works. Ask: What is table 18 in Business Central? Use BC Observatory. The answer says Customer. If it does not, see "Something went wrong" in INSTALL.md.

Copilot CLI

Needs Node.js 22 or newer (the current LTS is fine). Check: node --version. Install: Windows winget install OpenJS.NodeJS.LTS, Mac brew install node, Linux the LTS from https://nodejs.org/en/download; then restart the app you install into.

  1. GitHub Copilot CLI: the plugin (server, four skills, bc-code-atlas, Microsoft Learn MCP)

    The same plugin, installed from its folder in the repository. Copilot CLI reads the Claude Code manifest as it is. A plugin installed in Copilot CLI is not available in the VS Code Copilot Chat panel; use the VS Code step below for that.

    copilot plugin install waldo1001/waldo.BCObservatory:plugin

Check it works. Ask: What is table 18 in Business Central? Use BC Observatory. The answer says Customer. If it does not, see "Something went wrong" in INSTALL.md.

VS Code

Needs Node.js 22 or newer (the current LTS is fine). Check: node --version. Install: Windows winget install OpenJS.NodeJS.LTS, Mac brew install node, Linux the LTS from https://nodejs.org/en/download; then restart the app you install into.

The button adds bc-observatory to VS Code; the mcp.json below adds all three servers.

Install the server in VS Code

  1. VS Code (GitHub Copilot)

    In .vscode/mcp.json of the workspace, or the user profile's mcp.json.

    {
      "servers": {
        "bc-observatory": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "bc-observatory@latest"
          ]
        },
        "bc-code-atlas": {
          "type": "http",
          "url": "https://bc-code-atlas.stefanmaron.dev/mcp"
        },
        "microsoft-learn": {
          "type": "http",
          "url": "https://learn.microsoft.com/api/mcp"
        }
      }
    }

Check it works. Ask: What is table 18 in Business Central? Use BC Observatory. The answer says Customer. If it does not, see "Something went wrong" in INSTALL.md.

Cursor

Needs Node.js 22 or newer (the current LTS is fine). Check: node --version. Install: Windows winget install OpenJS.NodeJS.LTS, Mac brew install node, Linux the LTS from https://nodejs.org/en/download; then restart the app you install into.

Add to Cursor

  1. Cursor: the three servers

    The button adds bc-observatory. For bc-code-atlas and Microsoft Learn too, put this in .cursor/mcp.json (the project) or ~/.cursor/mcp.json (every project).

    {
      "mcpServers": {
        "bc-observatory": {
          "command": "npx",
          "args": [
            "-y",
            "bc-observatory@latest"
          ]
        },
        "bc-code-atlas": {
          "url": "https://bc-code-atlas.stefanmaron.dev/mcp"
        },
        "microsoft-learn": {
          "url": "https://learn.microsoft.com/api/mcp"
        }
      }
    }

Check it works. Ask: What is table 18 in Business Central? Use BC Observatory. The answer says Customer. If it does not, see "Something went wrong" in INSTALL.md.

Claude Desktop and chat

Claude in the browser and on your phone need no Node: you add the plugin's skills and connectors in Claude itself. Claude Desktop adds the observatory's own search with the extension below: download it and double-click it, no Node needed (Claude Desktop brings its own). Step by step for both: INSTALL.md.

Open the install guideDownload the Desktop extension (.mcpb)

Check it works. Ask: What is table 18 in Business Central? Use BC Observatory. The answer says Customer. If it does not, see "Something went wrong" in INSTALL.md.

Other MCP clients

Needs Node.js 22 or newer (the current LTS is fine). Check: node --version. Install: Windows winget install OpenJS.NodeJS.LTS, Mac brew install node, Linux the LTS from https://nodejs.org/en/download; then restart the app you install into.

  1. Claude Desktop, Cursor, Windsurf and other MCP clients

    Add the server to the client's MCP configuration (claude_desktop_config.json, .cursor/mcp.json, ...).

    {
      "mcpServers": {
        "bc-observatory": {
          "command": "npx",
          "args": [
            "-y",
            "bc-observatory@latest"
          ]
        }
      }
    }
More
  1. From a checkout of the repository

    Reads every page from disk instead of the site; for working on the knowledge base itself.

    git clone https://github.com/waldo1001/waldo.BCObservatory.git && cd waldo.BCObservatory && npm ci
    claude mcp add bc-observatory -- env BC_OBSERVATORY_LOCAL=$PWD node --import tsx packages/mcp/src/server.ts

Check it works. Ask: What is table 18 in Business Central? Use BC Observatory. The answer says Customer. If it does not, see "Something went wrong" in INSTALL.md.

Without any install

llms.txt lists every section; every page has a markdown twin at its URL plus .md; GitMCP and DeepWiki (badges in the README) read the repository directly.

How it answers

The server fetches the search index from this site over HTTPS and caches it by hash in ~/.cache/bc-observatory/, refreshed daily, and reads a page's markdown twin when you ask for it; a page over 30,000 characters comes back as a compact view with its section keys. Search is hybrid: keywords plus a small static embedding model (model2vec potion-base-8M, 30 MB, downloaded once and checked by SHA-256) computed locally; BC_OBSERVATORY_EMBEDDINGS=0 turns the model off. BC_OBSERVATORY_LOCAL reads a checkout instead, BC_OBSERVATORY_SITE points at another deployment. Apart from the usage counts, nothing is sent anywhere: feedback only returns a link you open yourself.

Privacy

Privacy and usage counts. The bc-observatory server counts its own use so its author knows how many people use it and which tools. Each tool call sends one event to Azure Application Insights (West Europe): the tool name, whether it answered, found nothing or failed, how long it took, the server version, the name and version your MCP client reports (for example claude-code 2.1.4), a random session id that exists only while the server runs, and a random install id the server keeps in ~/.cache/bc-observatory/install-id (or under $XDG_CACHE_HOME) so repeat use counts as one user. For the answers that point to Observatory pages, it also sends which pages they were (for example objects/table/36), in a separate event without the install id, the session id or your location, so the counts show what people look up, not who looked it up. A path you typed that is not an Observatory page is sent as other. It never sends your questions or any other text you typed, and nothing about your machine: no hostname, user name, operating system or file path. Your IP address reaches Microsoft's ingestion endpoint, as with any HTTPS request; Application Insights derives the country, region and city from it and does not store the address. Events are kept 90 days, then deleted.

Controller: Eric Wauters (waldo), contact through GitHub issues. Purpose: knowing how many people use which tools and which pages, and from where, to decide what to build next. Legal basis: legitimate interest (GDPR Art. 6(1)(f)). Processor: Microsoft (Azure, EU). Events carry no name or address; the install id is the only link between them. To see or erase your events, send the content of your install-id file in an issue; to start over, delete the file. You can object at any time by turning it off: BC_OBSERVATORY_TELEMETRY=0 or DO_NOT_TRACK=1 in the server's environment; then no install id is created or sent. It is also off in CI and when the server reads a local checkout (BC_OBSERVATORY_LOCAL).

Needs Node.js 22 or newer (the current LTS is fine). Source: packages/mcp and plugin, MIT. The endpoints the plugin connects: https://bc-code-atlas.stefanmaron.dev/mcp (atlas), https://learn.microsoft.com/api/mcp (Microsoft Learn).