Cernion Energy Tools MCP

de.cernion由 cernion.de 發布官方發布者v0.99.4更新於 Oct 24, 2026

Energy-domain MCP tools for Cernion context, evidence and guarded process preparation

已驗證Streamable HTTP可網頁執行知識與記憶資料與分析商業與電商

概覽

AI 產生的概覽

遠端 MCP 端點,提供 Cernion 面向德國能源產業的領域服務:電網、MaStR、VDMI 治理、證據檔案與受控流程準備。

可以做什麼
  • 提出能源領域問題,由受控能力路由選擇服務鏈,而非暴露全部 API
  • 執行電網接入、MaStR 資產品質、Redispatch、能源共享與結算等確定性檢查
  • 產出證據檔案、決策框架、回執與追蹤,列出證據缺口、風險與人工複核項目
  • 查詢知識庫 RAG 與證據路由,並依領域查找可用能力與操作
  • 寫入類步驟僅以草稿或待確認狀態準備,交由人工核准
適用情境
適用於市政公用事業公司、配電網營運商或能源服務團隊,希望助理處理電網接入評估、VDMI 責任矩陣、MaStR 品質或結算核對等德國能源流程,並取得可稽核的產出而非自由文字回答。
執行需求
透過 streamable HTTP 連接 api.cernion.de 遠端端點。需要 OAuth 認證,於 Authorization 標頭攜帶自供應方權杖頁面取得的 Cernion API 權杖。無需本機執行環境或安裝套件。
安裝前請注意
Authorization 標頭攜帶密鑰權杖,應避免寫入日誌或共用設定。平台聲明其並非合約、併網承諾、設備控制、MaKo、計費或電價變更系統,具後果的步驟停留在草稿或待確認狀態並需人工核准。部分工具可能更新內部案件狀態,租戶資料與上傳表格會存放在供應方一側。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Cernion Energy Tools MCP,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/de.cernion%2Fcernion-energy-tools/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "cernion-energy-tools": {
      "type": "http",
      "url": "https://api.cernion.de/api/mcp"
    }
  }
}

README

Cernion Energy Tools

API-first Agentic Energy Operations Layer for Stadtwerke, DSOs and energy-service teams. Cernion combines deterministic energy-domain services, curated capability routing, evidence dossiers, VDMI role logic, HITL boundaries and read-only integration surfaces for REST, Sidecar, Microsoft Copilot, n8n, OpenWebUI and OpenClaw.

[Maintenance CI] [CodeQL] [Release] [codecov]

What This Repository Is

Cernion Energy Tools is the backend runtime behind cernion.de: a Node.js/Moleculer service platform for energy-domain automation, decision support and agentic process orchestration.

It is not just a chat frontend for energy APIs. The current platform contains:

  • 138 Moleculer services in services/
  • 1007 OpenAPI paths in openapi-export.json
  • 304 JavaScript test files under tests/
  • curated Copilot, Sidecar, OpenWebUI, n8n and OpenClaw integration surfaces that expose only governed subsets of the backend
  • agentic runtime components for routing, receipts, dossiers, HITL, evidence, revalidation and observability
  • durable project files with tenant-scoped ingestion, structured tables, an evidence-backed relation graph and versioned routing manifests with visible source selection; see Projektakte for APIs, provenance, limits and cleanup

Current package/OpenAPI version: 0.99.0

Public positioning

Cernion does not let the chat decide. The platform structures the objective, available data, service chain, evidence, gaps, risk and the next safe gate. The result is not a black-box answer, but a dossier-ready status or decision-readiness view for Stadtwerke, distribution-system operators and energy-service teams.

Cernion Energy Tools is not an automatic contract decision, grid-connection commitment, device-control system, MaKo execution system, billing/settlement system or tariff-mutation machine. Suitable integration scopes are ask, plan, evidence, capability lookup and read-only status. Write-like or consequential steps stay in draft, prepare or pending confirmation states and require HITL.

The public website explains Cernion as an energy-intelligence and decision platform for Stadtwerke: MaStR analysis, grid planning, §14a, Redispatch, Energy Sharing, customer-service automation and Microsoft Copilot complementarity. This repository is the deeper technical system underneath that product narrative.

Public discovery links

Why Cernion Is Agentic

Cernion is API-first, but the API is only the integration layer. The agentic part is the runtime behavior:

  1. Understand an energy-domain objective Examples: validate a grid-connection scenario, build a VDMI responsibility matrix, assess BESS finance risk, identify Energy Sharing data conflicts.
  2. Select a governed capability path The capability-broker maps intent to curated service chains instead of exposing the full tool catalogue to an LLM.
  3. Execute deterministic microservices Energy-domain calculations and regulatory checks remain code-backed and reproducible.
  4. Maintain process state Personal-agent sessions, receipts, dossiers, HITL items and object-store evidence allow work to continue beyond a single chat turn.
  5. Produce auditable artifacts Outputs are not only natural-language answers; they include dossiers, evidence packages, decision frames, validation reports, receipts and traces.
  6. Govern revalidation New facts can become control signals for agents: if a MaStR asset, datapoint or object-store evidence item changes, dependent decisions can be identified and rechecked.

This is the practical difference between a question-and-answer bot and an agentic energy-operations platform.

Core Architecture

text
External systems / humans / agents        |        vREST API, Copilot API, OpenClaw Sidecar, MCP-like tool surfaces        |        vPersonal Agent / Capability Broker / Agent Receipts / Blueprints        |        vGoverned Moleculer services        |        vDatapoints, Object Store, Knowledge RAG, Dossiers, Jobs, Observability

Runtime Layers

LayerComponentsPurpose
Service busMoleculer, REST gateway, async jobsDeterministic service execution and API exposure
Data layerObject Store, Datapoints, DataSources, Knowledge RAGInternal data, external evidence, tenant memory and source material
Agentic routingPersonal Agent, Capability Broker, Blueprints, Agent ReceiptsIntent resolution, tool-chain selection, durable execution
GovernanceVDMI, HITL, Clarification Policy, Interface Placeholder, Evidence RevalidationResponsibilities, missing evidence, human decisions, gap handling
IntegrationFull OpenAPI, Copilot subset, OpenClaw Sidecar, Webhooks, MCP-style toolsSafe use by humans, copilots, agents and automation systems
ObservabilityMetrics, traces, audit records, job statusOperation, auditability and support

Main Domains

The platform covers several energy-industry work areas. The following list is representative; the OpenAPI export is the source of truth.

DomainExamples
Grid connection and fNAVGrid-connection validation, flexible network access, connection-rejection evidence
VDMI governanceVerantwortlich, Durchführend, Mitwirkend, Information per process step; findings, dossiers and evidence
Zielnetzplanung (ZNP)Projects, assumptions, Layer 0/1/2 assets, portfolio analysis, NOVA decisions
Asset and data qualityMaStR quality, asset overrides, ghost-asset alerts, datasource classification
Energy Sharing and settlement§42c-style allocation, settlement checks, Redispatch ex-post reconciliation
EDM and market communicationMSCONS import, EDM validation, virtual meters, messkonzept checks
Forecasting and flexibilityForecast engine, residual load, §14a flex events, SLP profiles
Finance and investmentFinance agent, fNAV economics, BESS screening, capex prioritization
Reporting and BIReporting governance, dashboard API, VNB monitoring, EWK monitoring
Knowledge and evidenceKnowledge RAG, evidence routing, dossiers, object-store context

Agentic Components

Agentic Sitemap / AI Catalog

GET /.well-known/ai-catalog.json and GET /.well-known/ard.json publish a public catalog generated on each request from the loaded service registry and live OpenAPI metadata. Each published REST service has an entry with action/capability tokens, representative queries and an inline OpenAPI contract. The catalog also links to the full OpenAPI document and llm.txt. Root responses advertise both discovery paths through HTTP Link headers; conditional requests support ETags.

No manual JSON maintenance or LLM call is needed. Protected/private actions, service settings and runtime data are excluded. Catalog visibility grants no permission to invoke an action. See deployment details.

The formats are drafts: AI Catalog and Agentic Resource Discovery. ARD now uses ard.json; the requested ai-catalog.json remains available for clients using the predecessor path. Offline tests validate both formats against pinned upstream schemas; npm run sync:ai-catalog-schemas refreshes those fixtures from the revision pinned in the sync script (Apache-2.0).

Personal Agent

services/personal-agent.service.js is the user-facing orchestration layer. It keeps conversation state, routes intents, calls deterministic services and synthesizes results without turning the whole backend into one prompt.

Key concepts:

  • layered context management ("Zwiebelmodus")
  • durable execution state and resumable sessions
  • file and datapoint intake
  • evidence-gap handling
  • work-out-loud events
  • presentation-aware final artifacts

Capability Broker

services/capability-broker.service.js and src/capability-catalog.js provide curated capability routing. This is the control point that prevents agents from seeing or choosing the entire backend surface directly.

Examples of curated capabilities include:

  • vdmi_role_boundary_governance
  • vdmi_asset_validation_governance
  • vdmi_grid_connection_decision_governance
  • netzfahrplan_fnav_assessment
  • znp_portfolio_assessment
  • settlement_a96_reconciliation
  • financier_due_diligence_assessment
  • reporting_governance

Agent Receipts

services/agent-receipts.service.js turns repeatable agent workflows into versioned, testable recipes. Receipts describe matching conditions, required inputs, tool plans and knowledge plans. They are the bridge from "the agent answered" to "the platform selected a governed, inspectable workflow".

Dossiers and Decision Frames

Cernion uses dossiers and decision frames for auditable outputs. A result can include:

  • facts used
  • hypotheses
  • evidence gaps
  • risks
  • forbidden assumptions
  • VDMI responsibilities
  • next actions
  • human-review requirements

Agentic Governance and Revalidation

Two active architecture tracks are captured in GitHub issues:

The target direction is that a changed fact can become a control signal for agents:

text
MaStR / datapoint / object-store change        |        vDependency and impact analysis        |        vRevalidation queue        |        vAgent receipt / capability flow rerun        |        vAudit note, updated dossier, HITL item or exception case

This is how Cernion moves from one-time API analysis toward RPA+ for commodity energy processes: standard cases are automated, exceptions are made explicit.

Integration Surfaces

Full REST API

The complete REST API is generated from Moleculer service metadata.

  • Swagger UI: GET /api/docs
  • OpenAPI JSON: GET /api/openapi.json
  • Static export: openapi-export.json
  • Public API recipes for developer and LLM discovery: docs/public-api-recipes.md

The recipes use only synthetic examples, environment-variable based tokens and tenant-safe demo identifiers. They document consultation/read-only/pending-confirmation boundaries and are not approval, billing, tariff, device-control, contract or production-mutation demos.

Regenerate and audit:

bash
npm run export:openapinpm run audit:openapi

Microsoft Copilot Bridge

Cernion does not expose all 600+ API paths to Microsoft Copilot. The Copilot bridge uses a curated allowlist maintained in config/copilot-operations.json.

Relevant files:

Generate the Copilot subset:

bash
npm run export:openapi:copilot

The Copilot-facing surface distinguishes:

  • read operations with no side effects
  • draft operations that prepare suggestions
  • prepare operations requiring confirmation
  • consequential operations that remain blocked until explicitly governed

OpenClaw Sidecar

Cernion Energy Tools can be used from OpenClaw through the public ClawHub package @cernion/openclaw-energy-tools-sidecar. Install it in OpenClaw with:

bash
openclaw plugins install clawhub:@cernion/openclaw-energy-tools-sidecar

The companion repository SmartEnergySolutions/cernion-openclaw-sidecar provides an OpenClaw plugin for generic Energy Sidecar providers, with Cernion as the first provider.

The product boundary is intentionally split: OpenClaw is the agent runtime for conversation, tool orchestration, memory and answer synthesis. Cernion Energy Tools is the energy-domain evidence, policy, Knowledge RAG and CET-governed process layer behind answers about MaStR assets, grid context, Redispatch, Zielnetzplanung, 14a/14d EnWG duties, process intake, Domain Router case state, Case Event Outbox/MWI and operational status.

The sidecar consumes the Cernion Sidecar contract:

  • GET /api/agent-sidecar/descriptor
  • GET /api/agent-sidecar/mcp/tools
  • POST /api/agent-sidecar/mcp/tools/:name/call
  • POST /api/knowledge-rag/query
  • POST /api/evidence-router/route
  • POST /api/copilot-process/intents
  • GET /api/_agent/capabilities[?domain=]
  • GET /api/_agent/operations[?domain=]

The boundary is deliberately strict:

  • Sidecar tokens identify tenant, actor and client context; CET authorization/governance is the permission boundary.
  • Domain Router and MWI tools may update internal CET PouchDB state such as case state, event delivery state and related-session links.
  • evidence/hydration lookups and Blueprint plans remain read-only where that is the actual operation.
  • process intake uses a separate process token and creates only pending_confirmation receipts
  • admin, token, HITL-resolve and production mutation paths are blocked
  • domain routing remains inside Cernion, not inside the sidecar

MCP-Style Tooling

Cernion also publishes AI-agent-friendly tool descriptions through llm.txt, capability resolution endpoints and MCP/OpenClaw-style tool lists. The public documentation page describes this as a set of ready-to-use energy tools for Stadtwerke.

Quickstart

Prerequisite: Node.js 22+

bash
git clone https://github.com/energychain/cernion-energy-tools.gitcd cernion-energy-toolsnpm installcp .env.example .envnpm start

Default local endpoints:

  • API: http://localhost:3000/api
  • Swagger UI: http://localhost:3000/api/docs
  • Web app: http://localhost:3000/app

Full setup guide: QUICKSTART.md

Configuration

Start with .env.example. Common variables:

VariablePurpose
CERNION_TOKENAPI token for authenticated access
LLM_PROVIDERLLM provider (gemini, openai-compat, ollama)
LLM_MODELModel name for the selected provider
LLM_API_KEY / GEMINI_API_KEYProvider credentials when needed
API_URLBase URL used in generated OpenAPI servers and CLI share links
PORTAPI gateway port, default 3000
TRACING_ENABLEDEnable OpenTelemetry tracing
OTEL_EXPORTER_OTLP_ENDPOINTOTLP HTTP trace destination
METRICS_PUBLICExpose /metrics without a full-access token

LLM health:

text
GET /api/system/llm/health

Observability:

Auth guide: BEARER_TOKEN_AUTHENTICATION.md

Development

bash
npm testnpm run test:unit:cinpm run test:tdd-matrixnpm run test:rest-usecasesnpm run lintnpm run audit:openapinpm run check:llmnpm run release:checknpm run release:gate

Das Runbook „Release-Gate ausführen“ beschreibt die Praxis-Evaluation mit synthetischen Mehrturn-Szenarien, Rubrik und Wiederholläufen gegen eine lokale oder HTTP-Testinstanz. release:gate ergänzt die Repository-Prüfungen um diese Abnahme.

Useful generation commands:

bash
npm run export:openapinpm run export:openapi:copilotnpm run generate:llmnpm run blueprint:export

Create a new Moleculer service:

bash
npm run create

Demonstrating Cernion

Good demos should show an agentic run, not only a chat answer.

Strong demo patterns:

  • VDMI: generate a responsibility matrix per process step and detect role-boundary violations
  • BESS: assess a site across grid connection, risks, revenue assumptions and financier evidence
  • Energy Sharing: identify MaLo/MeLo, EDM and settlement conflicts that block the process
  • MaStR/Revalidation: show how an external asset update can trigger rechecking of dependent decisions
  • Copilot/Sidecar: show Cernion as the governed energy-domain backend behind a general-purpose agent

A useful agentic trace should make these visible:

text
User objective  -> intent and capability  -> selected receipt / blueprint  -> service chain  -> evidence used  -> gaps and risks  -> HITL / policy decision  -> dossier or decision artifact  -> audit trace

Documentation Map

DocumentTopic
docs/copilot-process-bridge.mdCurated Microsoft Copilot API subset
docs/v0.52-implementation-plans/personal-agent-v052-architecture-tdd.mdPersonal Agent architecture and TDD contract
docs/v0.52-implementation-plans/v0.52.1-capability-broker.mdCapability Broker implementation plan
docs/observability/grafana/README.mdGrafana dashboards
docs/DSFA_TEMPLATE.mdData protection impact-assessment template
docs/BACKEND_CONTEXT.mdBackend context for UI/frontend work
CHANGELOG.mdRelease history
MCP_TOOLS.mdMCP/tool reference
docs/SHARED_SERVICE_JOURNAL.mdRC3 append-only Shared Service Journal, deterministic digests and retention
docs/domain-router.mdCET Domain Router, typisierte Fallverknüpfung, own/team/tenant-Sichtbarkeit und Case Event Outbox / MWI
docs/tenant-memory.mdTenant-Gedächtnis: Aussagen, gemeinsame Anker, Quellen, Korrektur und einmalige Hinweise
docs/open-webui-tenant-gateway.mdRC3 Open WebUI / Cernion Workbench Tenant-Gateway access without AgentOS
llm.txtMachine-readable service and capability context
SECURITY.mdSecurity policy

License and Operator Context

License: GPL-3.0. See LICENSE.

Cernion is developed by STROMDAO GmbH in the context of the Cernion energy-intelligence platform.

Support and product feedback:

Workbench: verstehen, antworten, Fall im Hintergrund

Inhaltliche Nachrichten und eingefügte Fremdtexte werden über die zentrale LLM-Fassade in ein Lagebild übersetzt. CET antwortet mit relevanten Quellen und höchstens drei neuen fachlichen Rückfragen. Konkrete Arbeitsaufgaben erhalten einen Hintergrundfall; „Kein Fall“ nimmt ihn zurück. Wissens- und Statusfragen erzeugen keinen Fall. Versandwünsche führen zu einem Hinweis und auf ausdrücklichen Wunsch zu einem internen Entwurf. Quellenzuordnung und Relevanzschwelle sind in src/workbench-knowledge-sources.json konfiguriert. Details und Grenzen stehen im Tenant-Gateway-Leitfaden und im Akzeptanzbericht zu #739.

Organisationsrelevante Aussagen hält CET tenantweit fest und bestätigt sie einmal mit „Hab ich festgehalten: …“. Seltene gemeinsame Anker verbinden Aussagen verschiedener Personen; erkannte Wechselwirkungen erscheinen im Gespräch und einmal beim nächsten Kontakt der anderen Person. Tenant-Trennung und Vertraulichkeitsstufen gelten bei jedem Zugriff. Details stehen im Tenant-Gedächtnis-Leitfaden.

Tenant-Datenkatalog

Vollständige CSV-/XLSX-Texttabellen aus Open WebUI werden tenantweit als Nutzerangaben abgelegt und über dataset.query deterministisch ausgewertet. Gleicher Inhalt erzeugt auch bei erneut gesendeten Anhängen keine weitere Version oder Bestätigung. Einrichtung, Grenzen und Beispiele: Tenant-Datenkatalog. Strukturierte Nachrichten und EDIFACT: Formate, Prüfungen und Abfragen.

Originaldateien im Chat (#790)

Installation des versionierten Open-WebUI-Filters, signierte Downloads, Dateilimits und Aufbewahrung: Runbook. Ohne installierten Filter bleibt der bisherige Dokument-Textweg erhalten.

RC3 Hotfix für Mail und Dokumenteingang (#846)

Die Tabellenerkennung benötigt einen Kopf mit mindestens zwei Spalten und mindestens zwei gleich breiten Datenzeilen. WORKBENCH_DATASET_MIN_TABLE_RATIO bestimmt den erforderlichen Anteil im Tabellenblock (Standard 0.75, gültig: größer als 0.5 bis 1). Gewöhnliche Parserfehler fallen auf Text zurück; die Plausibilitätssperre für tatsächlich erkannte Tabellen bleibt aktiv. Datei-, Zeilen- und Spaltenbudgets gelten weiterhin. Nur das eindeutige, nicht verlustfrei herstellbare Open-WebUI-Zerlegungsmuster verwendet WORKBENCH_DATASET_DAMAGED.

Synthetische Fixtures regenerieren und die Regressionen lokal prüfen:

bash
node scripts/generate-conversation-fixtures.jsnode scripts/generate-review-fixture.jsnode scripts/generate-dataset-fixtures.jsnpm test -- --runInBand tests/workbench-846.test.js tests/workbench-838.test.js

Das bestehende Live-Skript prüft zusätzlich Mailaufnahme (1), Protokollzusammenfassung (3), Mail-Verlauf neben einem fremden INVOIC-Datensatz (5) und ausdrücklich genannte Nachricht (6). Es startet einen lokalen Broker mit isolierten temporären Datenbanken und einem synthetischen Validierungs-Tenant. Alle Sprachmodellaufrufe laufen über die zentrale Fassade und das bestehende Aufruf-/Tokenbudget. Ausschließlich mit einer Nichtproduktions-Konfiguration starten:

bash
WORKBENCH_ENV_FILE=/path/to/nonproduction.env \  WORKBENCH_VALIDATION_REPORT=/tmp/rc3-hotfix-846-live.json \  LIVE_MAX_MODEL_CALLS=80 LIVE_MAX_TOKENS=1000000 \  node scripts/validate-rc3-closeout-live.js

Die Erweiterung wurde nicht live ausgeführt. Ein Live-Bericht darf erst nach einem gesonderten Nichtproduktions-Lauf als Abnahmebeleg verwendet werden.

來源:README.md,提交 2387a6f

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.99.4最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分