Logo von SereinFlow

SereinFlow

Community
fhhyyp

可扩展的节点流编辑器与工作流引擎,内置 MCP,支持 AI 自动生成节点与流程。An extensible node-flow editor and workflow engine with built-in MCP, enabling AI-powered generation of nodes and workflows.

Herausgeberfhhyyp
Repositoryserein-flow
SpracheC#
Forks
30
Sterne
187
Verfügbare Tools
0
Transporttypstreamable-http
Kategorien
Links
  • Tools mit KI-Workflows verbinden

    SereinFlow stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • 0 verfügbare Tools

    Sehen Sie sich unten die aufrufbaren Aktionen an, einschließlich Namen und Beschreibungen, sofern der Server diese bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    187 Sterne und 30 Forks im verlinkten Repository.

SereinFlow

中文文档 | Chinese documentation

SereinFlow is a web-first workflow orchestration and execution system. It combines a visual web console, an ASP.NET Core API, isolated Worker Runner processes, and an MCP service for AI-tool integration.

Project Overview

SereinFlow is used to create, maintain, and run project workflows. The web console manages projects, flows, versions, runs, and environment settings. The API coordinates persisted data and execution requests, while untrusted scripts and plugins run only in separate Worker Runner processes. The MCP service exposes controlled tools, resources, and prompts so AI clients can work with SereinFlow safely.

PathPurpose
src/SereinFlow.ApiASP.NET Core API and the HTTP/stdio MCP host.
src/SereinFlow.SDKTyped HTTP client SDK for third-party applications.
frontend/sereinflow-webVue + Vite web console.
plugins/sereinflow-ai-toolkitLocal MCP client and Skill source material.
docsMaintained technical references.

Community & Technical Support

If you need help using SereinFlow, join the QQ group 955830545 to contact me for technical support, usage discussions, or issue feedback.

Prerequisites

  • .NET SDK 10.0.100 or a compatible SDK selected by global.json.
  • Node.js 24.19.0, as defined in .node-version, and npm 11.6.2.
  • Windows is assumed for the environment-variable and Codex instructions below. The API and frontend commands are otherwise standard .NET and npm commands.

Projects that use SereinLang rely on the pinned source snapshot under src/ThirdParty/SereinScript. A normal SereinFlow build needs neither a separate SereinScript checkout nor a path environment variable.

Run Locally

1. Start the API

From the repository root, run:

powershell
dotnet run --project .\src\SereinFlow.Api\SereinFlow.Api.csproj

By default, the API and HTTP MCP service listen on http://127.0.0.1:8188, with MCP available at http://127.0.0.1:8188/mcp. The first start initializes local data under the configured data directory.

2. Start the Web Console

Open a second terminal and run:

powershell
Set-Location .\frontend\sereinflow-web
npm ci
npm run dev

Open the URL printed by Vite, usually http://localhost:5173. The development server proxies /api and /hubs to http://127.0.0.1:8188 by default. Set VITE_API_PROXY_TARGET before starting the frontend when the API uses another address.

Configure the MCP Service

The following workflow configures an HTTP MCP client for a locally running SereinFlow instance. Start both the API and the web console before continuing.

1. Generate the Administrator Key

In the web console's home menu, open Environment settings, find MCP access keys, and select Generate first key. Save the administrator key shown there. It normally begins with sfk_..., and the complete Secret is shown only once when it is created or rotated.

2. Add the Environment Variable

In Windows Edit environment variables for your account, add a user variable named SEREINFLOW_MCP_API_KEY whose value is the complete key you just generated. Alternatively, run this PowerShell command, replacing the example value with the real key:

powershell
setx SEREINFLOW_MCP_API_KEY "sfk_replace_with_your_complete_secret"

After running setx or saving the system setting, close and reopen terminals and AI tools. Existing processes do not receive the new variable automatically.

3. Create a Local Skill for Your AI Tool

Ask the AI tool you use to create a local Skill from the contents of plugins/sereinflow-ai-toolkit. Its .mcp.json defines the local HTTP MCP endpoint and the SEREINFLOW_MCP_API_KEY credential variable, while SKILL.md defines the connection, diagnostics, capability-discovery, and safe-operation rules.

Preserve the following connection contract when creating the Skill. Never put the real key in the repository, a Skill file, or logs:

json
{
  "mcpServers": {
    "sereinflow": {
      "type": "http",
      "url": "http://127.0.0.1:8188/mcp",
      "bearer_token_env_var": "SEREINFLOW_MCP_API_KEY"
    }
  }
}

4. Verify the MCP Service

First confirm that the route is reachable. With the API running, the following command is expected to print 405. That means the /mcp route is listening; MCP requests must use POST.

powershell
try {
  Invoke-WebRequest -Method Get http://127.0.0.1:8188/mcp -ErrorAction Stop
} catch {
  [int]$_.Exception.Response.StatusCode
}

Then start a new AI-tool session, connect to the sereinflow MCP server, and discover tools/list, resources/list, resources/templates/list, and prompts/list. A successful initialization and returned catalogs confirm that MCP authentication and the service are working.

  • A 401 normally means the endpoint and route are reachable but the key is missing, invalid, expired, or revoked.
  • Connection refusal or a timeout means the API is not reachable at 127.0.0.1:8188.

5. Complete Setup

Local MCP setup is complete once the AI tool can initialize and discover the MCP tools, resources, and prompts.

Use SereinFlow MCP in Codex

Codex's default safety policy can block this environment variable from being passed to Shell and command-line environments it launches. To use the SereinFlow MCP service in Codex, add the following to %USERPROFILE%\.codex\config.toml. If this table already exists, add only the variable line and do not declare the table twice:

toml
[shell_environment_policy.filters]
SEREINFLOW_MCP_API_KEY = "include"

Fully restart Codex and start a new task. This rule allows Codex-launched Shells to receive the variable; the MCP HTTP client must still use the bearer_token_env_var configuration shown above to read it.

Build and Verify Locally

powershell
dotnet restore SereinFlow.sln
dotnet build SereinFlow.sln --no-restore
dotnet test SereinFlow.sln --no-build

Set-Location frontend/sereinflow-web
npm ci
npm run build

To verify the full publish layout for an upload library, publish tests/SereinFlow.TestLibrary. The command creates artifacts/libraries/SereinFlow.TestLibrary-1.6.1.zip with the complete publish output and required archive layout:

powershell
dotnet publish tests\SereinFlow.TestLibrary\SereinFlow.TestLibrary.csproj -c Release

Documentation

Security Notes

An MCP key is a credential, not project configuration. Do not commit an sfk_... key to Git or place it in .env examples, test data, Skill files, prompts, or logs. Rotate or revoke a key from Environment settings when it is exposed, lost, or no longer needed.

SereinFlow MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald SereinFlow verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Diese MCP-Integration verbindet sich in TypingMind über die URL eines extern gehosteten MCP-Servers.

Eine MCP-Server-URL hinzufügen

Nutzen Sie diese Option, wenn SereinFlow bereits auf einem Remote-Server gehostet wird oder Ihr Team einen gemeinsamen Konnektor für mehrere Benutzer benötigt.

1

MCP-Konnektoren öffnen

Gehen Sie in TypingMind zu „Plugins“, öffnen Sie „MCP-Konnektoren“ und wählen Sie dann „URL hinzufügen“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Gehen Sie zu „Plugins“.
  3. Öffnen Sie „MCP-Konnektoren“.
  4. Klicken Sie auf „Neue URL“.
TypingMind-Formular zum Hinzufügen einer benutzerdefinierten MCP-Server-URL
2

Server-URL einfügen

Geben Sie die MCP-Server-URL des Anbieters in das Feld „Server-URL“ ein. Fügen Sie einen Verbindungsnamen, eine Beschreibung, ein Symbol, benutzerdefinierte HTTP-Header oder OAuth-Client-Einstellungen hinzu, falls der Server diese erfordert.

  1. Fügen Sie die MCP-Server-URL des Anbieters in das Feld „Server-URL“ ein.
  2. Geben Sie einen Verbindungsnamen für SereinFlow ein.
  3. Fügen Sie bei Bedarf eine Beschreibung und ein Symbol hinzu, um die Verbindung leichter zu erkennen.
  4. Fügen Sie benutzerdefinierte HTTP-Header oder OAuth-Client-Daten hinzu, falls der Server eine Authentifizierung erfordert.
3

Verbindung erstellen

Klicken Sie auf „Verbindung erstellen“, kehren Sie dann zur Plugin-Liste zurück und prüfen Sie, ob die neue MCP-Verbindung aktiv ist.

  1. Klicken Sie auf „Verbindung erstellen“.
  2. Kehren Sie zur Liste der MCP-Konnektoren zurück.
  3. Prüfen Sie, ob die Verbindung zu SereinFlow als aktiv angezeigt wird.
  4. Aktualisieren Sie die Plugin-Liste, falls die Verbindung nicht sofort angezeigt wird.
4

Modelle ohne erneuten Verbindungsaufbau wechseln

Starten Sie einen Chat mit Ihrem bevorzugten Modell, aktivieren Sie unter „Plugins“ die Tools von SereinFlow und wechseln Sie bei Bedarf zu einem anderen Modell. Die MCP-Verbindung bleibt im TypingMind-Arbeitsbereich verfügbar.

  1. Starten Sie einen neuen Chat in TypingMind.
  2. Wählen Sie das KI-Modell, das Sie verwenden möchten.
  3. Aktivieren Sie die Tools von SereinFlow unter „Plugins“.
  4. Bitten Sie das Modell, das Tool bei Bedarf zu verwenden.
  5. Wechseln Sie zu einem anderen KI-Modell und verwenden Sie dieselbe MCP-Verbindung weiter.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit SereinFlow bei dieser Aufgabe helfen?
SereinFlow
Gerne. Ich habe es gelesen.
Das habe ich mit SereinFlow gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server SereinFlow verwendet?

SereinFlow ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich SereinFlow MCP mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie SereinFlow mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum SereinFlow MCP mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald SereinFlow verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich SereinFlow MCP mit TypingMind?

Sie können SereinFlow in TypingMind verbinden, indem Sie die URL des gehosteten MCP-Servers hinzufügen. Das ist sinnvoll, wenn Sie eine entfernte MCP-Verbindung benötigen, die in Ihrem TypingMind-Arbeitsbereich verfügbar ist.

Welche Tools stellt SereinFlow MCP in TypingMind bereit?

SereinFlow stellt MCP-Funktionen bereit, die Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen können.

Muss ich meine API-Schlüssel mit TypingMind teilen, um SereinFlow MCP zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal, sodass Sie die Kontrolle über Ihre Modellanbieter, API-Schlüssel, Prompts und MCP-Konfiguration behalten. Falls SereinFlow eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇