Forall MCP logo

Forall MCP

Organization
astrio-labs

Forall (∀) is a coding harness from Astrio that helps developers build correct software by generating spec-driven code alongside machine-checkable proofs.

Publisherastrio-labs
Repositoryforall-mcp
LanguageRust
Forks
32
Stars
560
Available tools
0
Transport typestdio
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Forall MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    560 stars and 32 forks from the linked repository.

Why Forall exists

Review has always been the bottleneck in software. It is now the failure point, because code is produced faster than anyone can check it. Tests sample a handful of inputs. Types constrain shape. Neither tells you whether the code does what it was supposed to do.

Formal verification answers that question, as far as your specification states it, and it never failed on capability. Provers have been checking real programs for years. What kept them out of ordinary engineering was adoption cost. Writing the specifications, contracts and invariants a prover needs was more tedious than writing the code itself. That is precisely the work language models are now good at. The barrier was labour, and labour just got cheap.

Evidence can therefore become a build artifact rather than something reconstructed by hand long after the code is done. Regulated work already depends on it. Standards such as IEC 62304 and DO-178C require traceability from each requirement to the verification that discharges it. Mission-critical code should carry that evidence the way a paper carries its references, attached to the specific claim it supports.

A green mark that lies is worse than no mark. A proof is only as strong as the contract it discharges, and property testing only samples. Those differences matter, so Forall reports four levels of evidence instead of a pass and a fail, grading every requirement by the strongest evidence a machine actually produced, never by what was claimed.

Two ways to use Forall

1. Install Forall CLI

Full coding agent — specs, proofs, and workflow in your terminal.

bash
curl -fsSL https://forall.astrio.app/install.sh | bash
forall

Add ~/.local/bin to your PATH if needed, then run forall --version.

On first launch, sign in with your Forall account — your browser opens, no API key to paste. Chat on your plan's hosted models, or bring your own model API key (OpenAI, OpenRouter, Anthropic (Claude), Google Gemini, Azure OpenAI, or Claude via Amazon Bedrock). Then forall init in a git repo and start working.

Note: A binary release must exist on GitHub Releases before install succeeds.

2. MCP verify-only

Stay on Cursor, Claude Code, or any MCP client — add hosted verification via MCP. Do not install the CLI.

  1. Create an API key at forall.astrio.app/dashboard
  2. Add to your MCP client:
json
{
  "mcpServers": {
    "forall": {
      "command": "npx",
      "args": ["-y", "@astrio/forall-mcp"],
      "env": {
        "FORALL_API_KEY": "forall_..."
      }
    }
  }
}

Your coding agent edits the workspace from verify reports. See docs/getting-started.md and docs/hosted-mcp.md.

Supported programming languages

Forall grades every requirement by the strongest evidence a machine actually produced for it. Not every rung is reachable in every language, because the rung depends on the tool behind it:

Spec trackedProperty testedContractedProved
TypeScript✓✓✓✓
Python✓✓✓✗
Rust✓✗✓✓
Java✓✗✓✓
C✓✗✓✓
  • Spec tracked — a requirement cites this code.
  • Property tested — a generator ran over many inputs and found no counterexample. Statistical evidence, honestly ranked below a proof.
  • Contracted — a machine-checkable contract is written against the code, but nothing has confirmed it yet.
  • Proved — a prover discharged that contract's obligations.

We are expanding to more languages, and to filling in more of this table for the languages already listed, based on demand.

Telemetry

First-party builds send product usage analytics — feature and reliability events, never your code or prompts. Opt out any time in ~/.forall/config.toml:

toml
[analytics]
enabled = false

Connect

Join our Discord and X communities.

License

This repository is licensed under the Apache-2.0 License.

Use Forall MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Forall MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Forall MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Forall MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "forall-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Forall MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Forall MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Forall MCP to help me with this task?
Forall MCP
Sure. I read it.
Here is what I found using Forall MCP.

Frequently asked questions

What is the Forall MCP MCP server used for?

Forall MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Forall MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Forall MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Forall MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Forall MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Forall MCP MCP to TypingMind?

Forall MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Forall MCP MCP provide in TypingMind?

Forall MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Forall MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Forall MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇