Skip to content
Menu

Overview

View .md

Beacon watches your databases and tells people when something is wrong. You write SQL against the databases you care about, schedule it, and Beacon delivers the rows to email, Microsoft Teams, Slack, Jira or a webhook. The same governed access to your data is offered to AI assistants through a built-in MCP server.

Beacon is a set of .NET 10 libraries with a React UI. You either run the sample host from the repository, or embed the NuGet packages in your own ASP.NET Core application. Since 5.0, Beacon can also be the MCP gateway of your own application: AI clients act as your users through your own endpoints, with no data sources at all (what’s new).

CapabilityWhat you get
Database monitoringQueries with one or more steps across nine connectors: PostgreSQL, SQL Server, MySQL, Azure Synapse, Snowflake, BigQuery, Databricks, AWS CloudWatch and REST APIs (OpenAPI).
AlertingCron-scheduled subscriptions, notification triggers, tasks that stay open while a problem lasts, anomaly detection, data contracts, and a Control Tower view of their health.
Data movementData migration jobs that copy data into a database an Admin marked as a write target. Off unless the deployment turns it on.
Governed MCP server/beacon/mcp for Claude, Cursor, VS Code and other MCP clients: eight built-in tools, saved queries published as tools, and optionally your own HTTP endpoints. SQL runs read-only, every call is scoped to the caller’s projects and audited. See MCP.
MCP gatewayMoberg.Beacon.Gateway makes your own application an MCP server: your users sign in with Entra, your endpoints become tools that run as them, your documents ground the answers.
  • Data and platform teams who want SQL-based alerts on production data without writing a service for each one.
  • Teams in regulated environments who need read-only execution, project-level access control, four-eyes approvals and an audit trail.
  • .NET teams who want to give AI assistants access to their data through one governed endpoint instead of database credentials.
PathUse it whenStart here
Run the sample hostYou want to evaluate Beacon, or contribute to it. Clone the repository and run Beacon.SampleProject.Quick start
Embed the packagesYou run Beacon for real. Add the Moberg.Beacon.* packages to your own ASP.NET Core application, with your sign-in, job runner and deployment.Integrate Beacon
MCP gatewayYou want AI clients to use your own application, not your databases. One package and about thirty lines of Program.cs.MCP gateway for your application

The sample host is a reference composition, not a product. Production deployments embed Beacon in their own host.

flowchart LR
    Browser["Browser"]
    Client["MCP client<br/>(Claude, Cursor, VS Code)"]

    subgraph Host["ASP.NET Core host"]
        UI["React UI<br/>/beacon"]
        API["REST API + SignalR<br/>/beacon/api"]
        MCP["MCP server<br/>/beacon/mcp"]
        Core["Beacon.Core<br/>handlers, SQL gate, jobs"]
    end

    Meta[("Metadata database<br/>PostgreSQL or SQL Server<br/>schema beacon")]
    Sources[("Monitored data sources<br/>read-only logins")]
    Notify["Email, Teams, Slack,<br/>Jira, webhook"]
    LLM["LLM provider<br/>(optional)"]

    Browser --> UI
    Browser --> API
    Client --> MCP
    API --> Core
    MCP --> Core
    Core --> Meta
    Core --> Sources
    Core --> Notify
    Core --> LLM
  • The UI, REST API and MCP server all live under /beacon. The site root / belongs to the host.
  • Beacon keeps its own data (data sources, queries, users, audit) in the beacon schema of a PostgreSQL or SQL Server database.
  • Connection strings to monitored databases are encrypted at rest with Beacon:EncryptionKey.
  • Background work (scheduled subscriptions, re-indexing) runs on a job runner the host provides. The sample host uses Moberg Warp.
You needNotes
.NET 10 SDKEvery Beacon project targets net10.0.
A database for Beacon’s own dataPostgreSQL with the pgvector extension available on the server, or SQL Server.
PostgreSQL for the sample’s job runnerThe sample host runs Warp, which needs PostgreSQL even when Beacon’s own data is on SQL Server.
Node.js 22 and npm 11Only to build or run the React UI from source. Package consumers get the built UI inside Moberg.Beacon.UI.
An encryption keyBase64 of at least 32 random bytes, for example from openssl rand -base64 32. Beacon does not start without one.