Slang Workflows logo

Slang Workflows

Run typed, statically analyzed multi-agent workflows in Claude Code with enforced contracts, tool scopes, budgets, and Mermaid traces.

Install Slang Workflows

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for slang-workflows, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

slang-workflows MCP server runs typed, declarative multi-agent workflows inside Claude Code through a non-LLM executor. It discovers, validates, and executes `.slang` files or inline workflow source, coordinating Claude Agent SDK sessions across rounds. Use it when workflow structure, agent permissions, output contracts, termination limits, and execution traces need enforcement rather than prompt-based coordination.

Use cases

  • Run a design-approval, implementation, and review pipeline
  • Validate workflow structure before starting agent sessions
  • Debug issues with parallel read-only investigators
  • Enforce separate write scopes for specialized agents
  • Inspect live execution state and post-run traces

Key features

  • Typed declarative .slang workflows
  • Static analysis before execution
  • Enforced tool and path scopes
  • Output contracts with retry handling
  • Round budgets and per-stake timeouts
  • Mermaid topology and trace diagrams

Tools7

What Slang Workflows lets your agent do. Expand a tool for its parameters.

Self-reported~227 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 84d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit3mo agoMost recent push to the default branch.
Tools exposed7Callable tools this server registers over MCP.

How Slang Workflows works

What slang-workflows does

The slang-workflows MCP server brings declarative multi-agent orchestration to Claude Code. Workflows are written in typed .slang files, or supplied as inline source, and interpreted by a fixed state machine rather than coordinated by the top-level language model.

A workflow can define agents, stakes, output contracts, routing, convergence conditions, round budgets, timeouts, and human escalation. The executor dispatches work to Claude Agent SDK sessions, checks returned results against their declared contracts, retries invalid results, and routes accepted outputs through a mailbox. One long-lived session is used for each agent across rounds.

This structure fits repeatable engineering processes such as design approval followed by implementation and review, parallel read-only bug investigation, or a reviewer that can inspect and execute tests without editing files.

How it works

The top-level Claude Code session starts a workflow and observes its progress; it does not decide how agents coordinate. The executor parses the workflow, performs static checks, and refuses to run workflows with parse or analysis errors. During execution, it dispatches each stake, receives a typed result, validates the result, routes messages, and continues until the declared convergence condition or round limit is reached.

Agent permissions can be constrained with path-based write scopes and denied tools. These restrictions are enforced through the Agent SDK tool-permission mechanism, rather than being instructions in an agent prompt. A workflow may also use escalate @Human to surface a decision in the normal Claude Code conversation.

The slang-workflows MCP server exposes run state while background execution is active. Completed and active runs can be represented as Mermaid diagrams: topology shows the workflow structure and status, while the trace records events such as routing, commits, escalations, and terminal state.

Tools and capabilities

The MCP tool set includes:

  • list_workflows finds .slang files and reports their names, titles, parameters, and agent counts.
  • get_slang_grammar returns a concise language reference and example for generating workflow source.
  • validate_workflow parses and statically analyzes a named, path-based, or inline workflow without running it. Checks include deadlocks, unknown references, and orphaned outputs.
  • run_workflow executes a workflow by name, path, or inline source after validation. It runs synchronously by default; background: true returns a workflow ID for later inspection.
  • get_workflow_state returns serialized FlowState, including per-agent status, current round, and budget information.
  • get_topology returns a status-colored Mermaid flowchart for a workflow run.
  • get_trace returns a Mermaid sequence diagram and raw event log for the run.

The executor supports typed structural and semantic output contracts, retries for invalid results, mailbox routing, session resume, multi-agent flows, convergence conditions, round budgets, and per-stake timeouts.

Limitations and notes

The slang-workflows MCP server is designed for Claude Code and relies on Claude Agent SDK sessions for declared agents. It does not replace the agents themselves; it controls dispatch, permissions, validation, routing, and run state around them.

Workflows must be authored as .slang files or supplied as valid inline source. Static validation can identify several structural problems before execution, but the material does not describe every grammar rule or provide installation instructions. A background run returns an identifier immediately, so callers must use the state, topology, or trace tools to inspect progress.

Compared with Claude Code's native dynamic workflows, slang uses a typed declarative artifact and a fixed executor rather than an LLM-authored JavaScript orchestration script. That makes the workflow analyzable and reusable, but requires defining the collaboration structure in advance.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Slang Workflows

slang-workflows is an MCP server that connects Claude Code to a non-LLM executor for typed .slang multi-agent workflows. Its main tools discover, validate, run, and inspect workflows, including live state, Mermaid topology, and execution traces. It coordinates Claude Agent SDK sessions while enforcing contracts, routing, scopes, and budgets.

Use `validate_workflow` with a workflow name, path, or inline source. It parses the definition and performs static analysis without running agents, checking for issues such as deadlocks, unknown references, and orphaned outputs.

Call `run_workflow` with `background: true`. The tool returns a `workflow_id` immediately, which you can pass to `get_workflow_state`, `get_topology`, or `get_trace` to inspect execution.

Call `get_trace` with the workflow ID. It returns a Mermaid sequence diagram and raw event log covering routing, stakes, commits, escalations, and terminal events.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSlang Workflows AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/slang-workflows?style=directory)](https://allmcps.com/mcp/slang-workflows)
HTML Embed
<a href="https://allmcps.com/mcp/slang-workflows"><img src="https://allmcps.com/api/badge/slang-workflows?style=directory" alt="Slang Workflows on AllMCPs" /></a>