Overview
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).
What it does
Section titled “What it does”| Capability | What you get |
|---|---|
| Database monitoring | Queries with one or more steps across nine connectors: PostgreSQL, SQL Server, MySQL, Azure Synapse, Snowflake, BigQuery, Databricks, AWS CloudWatch and REST APIs (OpenAPI). |
| Alerting | Cron-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 movement | Data 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 gateway | Moberg.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. |
Who it is for
Section titled “Who it is for”- 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.
Three ways to run Beacon
Section titled “Three ways to run Beacon”| Path | Use it when | Start here |
|---|---|---|
| Run the sample host | You want to evaluate Beacon, or contribute to it. Clone the repository and run Beacon.SampleProject. | Quick start |
| Embed the packages | You 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 gateway | You 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.
How the pieces fit
Section titled “How the pieces fit”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
beaconschema 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.
Requirements
Section titled “Requirements”| You need | Notes |
|---|---|
| .NET 10 SDK | Every Beacon project targets net10.0. |
| A database for Beacon’s own data | PostgreSQL with the pgvector extension available on the server, or SQL Server. |
| PostgreSQL for the sample’s job runner | The sample host runs Warp, which needs PostgreSQL even when Beacon’s own data is on SQL Server. |
| Node.js 22 and npm 11 | Only to build or run the React UI from source. Package consumers get the built UI inside Moberg.Beacon.UI. |
| An encryption key | Base64 of at least 32 random bytes, for example from openssl rand -base64 32. Beacon does not start without one. |
Where next
Section titled “Where next”- Build with AI: prompts, bundles and the Claude Code plugin.
- Cookbooks: recipes for one task each, start to finish.
- What’s new in 5.0: the gateway, and the upgrade checklist from 4.x.
- Core concepts: data sources, projects, queries, subscriptions and the rest of the model.
- Quick start: run the sample host and send your first alert.
- Run the sample host: what the sample includes and how to configure it.
- Integrate Beacon: embed the packages in your own application.
- Configuration: every configuration key.
- Routes & endpoints: every URL Beacon serves.