AutoFlow MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AutoFlow MCP — Motor de Automatizaciones para Agentes IA
Arquitectura Formal · Guía de Despliegue · Referencia MCP Viva · Reporte de Auditoría E2E · Skill de Nodos Custom
AutoFlow MCP (autoflow-mcp) es un motor de automatizaciones y orquestación de workflows DAG implementado como servidor Model Context Protocol (MCP 2026-07-28), con persistencia SQLite dual (Node.js node:sqlite WAL y Cloudflare Workers + Durable Objects SQLite), bóveda de secretos cifrada (AES-GCM), conector hacia otros servidores MCP, nodos custom extensibles con validación en vivo, aprobaciones Human-in-the-Loop (HITL), webhooks firmados, schedules cron duraderos y un dashboard web HTMX embebido.
Características principales
Workflows DAG estilo n8n / Make (
11tipos de nodo):Nodos soportados:
trigger,http_request,transform,if,switch,loop,delay(inline o duradero conresumeAt),approval(HITL),mcp_call,sub_workflowycustom.Reintentos configurables con backoff exponencial (
retry: { maxAttempts, backoffMs, factor }) y manejo de error (onError: 'fail' | 'continue', ramaerror).Validación de grafos DAG (detección de ciclos, aristas inválidas, ejecución en orden topológico incluso en uniones convergentes/diamond joins, preservación de orden en
loopconcurrente y límite de profundidad recursiva).
Nodos Custom Reutilizables (
4tipos) y Skill Guiado:Tipos
customdeclarativos (http_template,mcp_template,composite,transform_template) coninputSchema,outputSchema,requiredSecretsyhealthCheck.Gate estático y en vivo (
auto_validate_custom_node,auto_test_custom_nodeyauto_verify_workflow_connections) para comprobar conectividad HTTP real, herramientas MCP remotas, ancestros de{{steps.*}}y entradas requeridas antes de desplegar un flujo.
Motor de expresiones y plantillas seguro (
{{...}}):Parser recursivo-descendente sin
evalninew Function, con bloqueo contra prototype pollution.Acceso a
trigger,steps.<nodeId>,vars,item,indexysecrets.<NOMBRE>.Funciones integradas:
contains,startsWith,endsWith,lower,upper,trim,len,coalesce,number,string,boolean,json,parseJson,keys,values,join,split,now,round,min,max,abs.
Triggers por Webhook y Cron:
Webhooks entrantes en
/hooks/<slug>con autenticaciónnone,bearerohmac_sha256(X-Autoflow-Signature/X-Hub-Signature-256) y modo de respuestaasync(202) osync(200).Schedules cron de 5 campos en UTC (
min hour dom mon dow+@hourly,@daily,@weekly,@monthly,@every_minute) ejecutados porNodeSchedulerAdapteroAutomationMcpAgent.scheduleen Cloudflare, con limpieza automática al actualizar o eliminar triggers.
Orquestador Cross-MCP (
mcp_call):Registra servidores MCP externos (Streamable HTTP) con credenciales tomadas de la bóveda, descubre sus herramientas (
auto_discover_connector_tools) y las invoca como pasos de un workflow.
Bóveda de Secretos (
AES-GCM256-bit) y Seguridad HTTP/UI:Derivación por secreto con HKDF-SHA-256 +
ivysaltúnicos; enmascarado automático (***REDACTED***) en trazas SQLite.Protección Anti-SSRF (
urlGuard.ts), comparación en tiempo constante paraMCP_API_TOKEN, validación deHost/Originen/mcp, rate limiting en/app/login, tokens CSRF y cookies HMACHttpOnly; SameSite=Lax; Secure.
Human-in-the-Loop (HITL) & Dashboard HTMX (
/app):Pausa ejecuciones en nodos
approvaly permite aprobar/rechazar por MCP (auto_approve/auto_reject), por UI web (/app) o enrutar por ramaexpired/rejectedcuando expira eltimeoutMs.
Related MCP server: Atlas
Inicio rápido (Node.js >= 24)
npm install
npm run typecheck
npm run typecheck:worker
npm run build
npm test
npm run audit:e2e -- --write-report docs/E2E_AUDIT_REPORT.md --write-reference docs/MCP_REFERENCE.mdEjecutar servidor HTTP (Streamable HTTP + Dashboard HTMX + Webhooks)
export MCP_API_TOKEN="cambia-esto-por-un-token-aleatorio-de-32-caracteres"
export VAULT_MASTER_KEY="cambia-esto-por-una-clave-maestra-dedicada"
npm start -- --transport http --db ./data/autoflow.sqlite --host 127.0.0.1 --port 3100Endpoints expuestos:
POST /mcp— Endpoint MCP2026-07-28(Streamable HTTP)GET /health— Estado y estadísticas del motorPOST /hooks/<slug>— Receptor público de webhooks entrantesGET /app— Dashboard web HTMX (sesión por cookie HMAC cuandoMCP_API_TOKENestá configurado)
Ejecutar por Stdio
npm run start:stdio -- --db ./data/autoflow.sqliteConectar desde clientes MCP
Cliente remoto por Streamable HTTP (Claude Code, Cursor, agentes MCP)
{
"mcpServers": {
"autoflow-mcp": {
"type": "streamable-http",
"url": "https://autoflow.example.com/mcp",
"headers": {
"Authorization": "Bearer <MCP_API_TOKEN>"
}
}
}
}Cliente local por Stdio (Claude Desktop)
{
"mcpServers": {
"autoflow-mcp": {
"command": "node",
"args": [
"/ruta/a/autoflow-mcp/dist/index.js",
"--transport",
"stdio",
"--db",
"/ruta/a/data/autoflow.sqlite"
],
"env": {
"VAULT_MASTER_KEY": "<VAULT_MASTER_KEY>"
}
}
}
}Flujo recomendado para Nodos Custom y Workflows
Un agente conectado sigue un ciclo determinista para construir integraciones confiables sin improvisar cableados rotos:
Consultar la guía viva en el recurso
autoflow://skills/custom-nodeso el promptautoflow_custom_node_guide.Guardar secretos en bóveda (
auto_set_secret) y registrar conectores externos si aplica (auto_register_connector).Declarar el nodo reusable (
auto_create_custom_node) en una de las 4 modalidades (http_template,mcp_template,composite,transform_template) con suinputSchema,outputSchemayhealthCheck.Verificarlo en vivo con
auto_validate_custom_node(mode: "live") y/oauto_test_custom_nodehasta obtenervalidationStatus: "verified".Cablear el workflow DAG y correr el gate
auto_verify_workflow_connections(checkLiveConnections: true,requireVerifiedCustomNodes: true) antes de crearlo (auto_create_workflow) y dispararlo (auto_run_workflow).
Estructura del repositorio
autoflow-mcp/
├── .github/workflows/ci.yml # Pipeline CI (typecheck, build, Vitest, auditoría E2E)
├── docs/
│ ├── ARCHITECTURE.md # Arquitectura formal, modelo SQLite y capas de seguridad
│ ├── DEPLOYMENT.md # Guía de despliegue local, VPS systemd/Nginx y Cloudflare
│ ├── MCP_REFERENCE.md # Referencia generada de 43 tools, recursos y prompt
│ └── E2E_AUDIT_REPORT.md # Reporte E2E vivo generado por scripts/e2e-audit.ts
├── scripts/
│ └── e2e-audit.ts # Auditoría end-to-end (12 bloques, HTTP + Stdio + SQLite)
├── skills/autoflow-custom-nodes/
│ └── SKILL.md # Skill embebido y servido por MCP/prompt
├── src/
│ ├── index.ts # CLI entrypoint (HTTP / Stdio)
│ ├── worker.ts # Entrypoint Cloudflare Workers + Durable Objects
│ ├── db/ # AutomationStore, NodeSqliteDriver y DurableObjectSqlDriver
│ ├── engine/ # WorkflowEngine, ExpressionEngine, CronParser, Validators, Templates
│ ├── mcp/ # Registro de 43 tools, resources, prompts, httpServer y conector MCP
│ ├── security/ # SecretVault, SecretMasker y Anti-SSRF UrlGuard
│ └── ui/ # Dashboard web HTMX (/app/*) con sesiones HMAC y CSRF
└── tests/ # Suites Vitest (expresiones, seguridad, DAG, custom nodes, UI/Worker)Catálogo de Superficies MCP (43 tools, 10 recursos/templates, 1 prompt)
Workflows & Plantillas (9):
auto_create_workflow,auto_get_workflow,auto_list_workflows,auto_update_workflow,auto_toggle_workflow,auto_delete_workflow,auto_validate_workflow,auto_list_templates,auto_apply_templateNodos Custom & Validadores (9):
auto_create_custom_node,auto_update_custom_node,auto_get_custom_node,auto_list_custom_nodes,auto_delete_custom_node,auto_validate_custom_node,auto_test_custom_node,auto_list_node_types,auto_verify_workflow_connectionsEjecución & HITL (8):
auto_run_workflow,auto_get_run,auto_list_runs,auto_replay_run,auto_cancel_run,auto_list_approvals,auto_approve,auto_rejectWebhooks & Schedules (8):
auto_register_webhook,auto_list_webhooks,auto_delete_webhook,auto_create_schedule,auto_list_schedules,auto_toggle_schedule,auto_delete_schedule,auto_tickBóveda de Secretos (3):
auto_set_secret,auto_list_secrets,auto_delete_secretConectores Cross-MCP (5):
auto_register_connector,auto_list_connectors,auto_discover_connector_tools,auto_test_connector_tool,auto_delete_connectorObservabilidad (1):
auto_get_statsRecursos y Prompt:
autoflow://workflows,autoflow://runs,autoflow://approvals/pending,autoflow://templates,autoflow://custom-nodes,autoflow://node-types,autoflow://skills/custom-nodes, templatesautoflow://workflow/{id},autoflow://run/{id},autoflow://custom-node/{id}, y promptautoflow_custom_node_guide.
Consulta el detalle completo de esquemas en docs/MCP_REFERENCE.md.
Despliegue en Producción (VPS y Cloudflare Workers)
Para configurar entornos de producción con systemd + Nginx TLS o Cloudflare Workers + Durable Objects (AUTOMATION_MCP, soporte multi-workspace /w/<workspaceId>/* o X-Workspace-Id), consulta docs/DEPLOYMENT.md.
Licencia
Distribuido bajo licencia MIT.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
Open-source Zapier/n8n alternative as an MCP server: agents build, run and debug your workflows.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Related MCP Servers
- FlicenseCqualityAmaintenanceSelf-hosted, source-available AI workflow automation platform. Build multi-agent, RAG, and tool-using pipelines on a visual canvas and publish any workflow as an MCP server (stdio/SSE/Streamable HTTP). Also an MCP client via the agent node.22,013-
- AlicenseAqualityCmaintenanceA local, auditable multi-model workflow engine that lets you define YAML graphs for orchestrating LLM agents across vendors, with MCP tools for validation, dry-runs, execution, and human approval, all fully observable in a local web interface.83Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables enterprise multi-agent decision workflows that expose 8+ MCP tools such as SQL query, web search, Python sandbox, RAG, file access, data cleaning, chart generation, and HTTP calls, orchestrated with LangGraph, streaming output, and human-in-the-loop approvals.MIT
- AlicenseNot gradedqualityDmaintenanceEnables autonomous multi-agent orchestration using directed acyclic graph workflows to interact with external developer infrastructure such as Git, Postgres, and Docker through safety-gated MCP servers.Apache 2.0