Logotipo de SereinFlow

SereinFlow

Comunidad
fhhyyp

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

Editorfhhyyp
Repositorioserein-flow
IdiomaC#
Forks
30
Estrellas
187
Herramientas disponibles
0
Tipo de transportestreamable-http
Categorías
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    SereinFlow ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    187 estrellas y 30 forks en el repositorio enlazado.

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.

Usa el MCP de SereinFlow con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado SereinFlow, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se conecta en TypingMind mediante la URL de un servidor MCP alojado de forma remota.

Añade la URL de un servidor MCP

Usa esta opción si SereinFlow ya está alojado en un servidor remoto o si tu equipo quiere un conector compartido al que puedan acceder varios usuarios.

1

Abre Conectores MCP

En TypingMind, ve a Plugins, abre Conectores MCP y elige Añadir URL.

  1. Abre TypingMind en tu navegador.
  2. Ve a Plugins.
  3. Abre Conectores MCP.
  4. Haz clic en Añadir URL.
Formulario de TypingMind para añadir la URL de un servidor MCP personalizado
2

Pega la URL del servidor

Introduce la URL del servidor MCP facilitada por el proveedor en el campo URL del servidor. Añade un nombre de conexión, una descripción, un icono, cabeceras HTTP personalizadas o la configuración del cliente OAuth si el servidor los requiere.

  1. Pega la URL del servidor MCP facilitada por el proveedor en el campo URL del servidor.
  2. Introduce un nombre para la conexión de SereinFlow.
  3. Añade una descripción y un icono si quieres que sea más fácil de identificar.
  4. Añade cabeceras HTTP personalizadas o los datos del cliente OAuth si el servidor requiere autenticación.
3

Crea la conexión

Haz clic en Crear conexión, vuelve a la lista de plugins y comprueba que la nueva conexión MCP esté activa.

  1. Haz clic en Crear conexión.
  2. Vuelve a la lista de conectores MCP.
  3. Comprueba que la conexión de SereinFlow aparezca como activa.
  4. Actualiza la lista de plugins si la conexión no aparece de inmediato.
4

Cambia de modelo sin volver a conectar

Inicia un chat con tu modelo preferido, activa las herramientas de SereinFlow desde Plugins y cambia de modelo cuando lo necesites. La conexión MCP seguirá disponible en el espacio de trabajo de TypingMind.

  1. Inicia un nuevo chat en TypingMind.
  2. Selecciona el modelo de IA que quieras usar.
  3. Activa las herramientas de SereinFlow desde Plugins.
  4. Pide al modelo que use la herramienta cuando sea necesario.
  5. Cambia a otro modelo de IA y reutiliza la misma conexión MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar SereinFlow para ayudarme con esta tarea?
SereinFlow
Claro. Lo he leído.
Esto he encontrado usando SereinFlow.

Preguntas frecuentes

¿Para qué sirve el servidor MCP SereinFlow?

SereinFlow es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP SereinFlow con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar SereinFlow con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de SereinFlow con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con SereinFlow conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP SereinFlow a TypingMind?

Puedes conectar SereinFlow en TypingMind añadiendo la URL de su servidor MCP alojado. Esto resulta útil si quieres una conexión MCP remota disponible desde tu espacio de trabajo de TypingMind.

¿Qué herramientas ofrece el servidor MCP SereinFlow en TypingMind?

SereinFlow ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP SereinFlow?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si SereinFlow requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇