Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Idf MCP

by intent-driven-softwareversion 1.0.2i★ 0iRuns on your computer
Registry nameio.github.intent-driven-software/idf-mcp

How to install

What it does

Turn an IDF domain into an MCP server with invariants and role scopes in every tool description.

  • Connects Runs on your computer
  • Account or key No key needed · 2 settings to fill in (IDF_SERVER, IDF_DOMAIN)
  • Category Other

Install

Pick the AI app you use, then copy the settings.

Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

2 setting(s) to fill in (IDF_SERVER, IDF_DOMAIN) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Idf MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "idf": { "command": "npx", "args": [ "-y", "@intent-driven/mcp-server" ], "env": { "IDF_SERVER": "your-value", "IDF_DOMAIN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For IDF_SERVER, IDF_DOMAIN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Idf MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • IDF_SERVER Base URL of the IDF host runtime (e.g. http://localhost:3001).
    • IDF_DOMAIN IDF domain to expose as MCP tools (e.g. invest, booking, planning).

    Descriptions are as written by the maker.

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "idf": {
          "command": "npx",
          "args": [
            "-y",
            "@intent-driven/mcp-server"
          ],
          "env": {
            "IDF_SERVER": "your-value",
            "IDF_DOMAIN": "your-value"
          }
        }
      }
    }
  5. Quit Claude and open it again

  6. Try it

    Use Idf MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Idf MCP or shows a Idf MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • IDF_BOOTSTRAP Set to 0 if the host runtime already bootstrapped the domain; 1 (default) to bootstrap from IDF_ONTOLOGY_PATH on first connection.
  • IDF_ONTOLOGY_PATH Filesystem path to the domain ontology module (only used when IDF_BOOTSTRAP=1).
  • IDF_AUTH_TOKEN Optional bearer token forwarded to the host runtime as the agent's role credential.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Idf MCP yet

Idf MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Idf MCP

  • 2 setting(s) to fill in (IDF_SERVER, IDF_DOMAIN) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • 2 setting(s) to fill in (IDF_SERVER, IDF_DOMAIN) · Install Node.js on your computer first (one time)
  • 2 setting(s) to fill in (IDF_SERVER, IDF_DOMAIN) · Install Node.js on your computer first (one time)
  • 2 setting(s) to fill in (IDF_SERVER, IDF_DOMAIN) · Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

2 setting(s) to fill in (IDF_SERVER, IDF_DOMAIN) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Idf MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user idf --env IDF_SERVER=your-value --env IDF_DOMAIN=your-value -- npx -y @intent-driven/mcp-server 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For IDF_SERVER, IDF_DOMAIN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Idf MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • IDF_SERVER Base URL of the IDF host runtime (e.g. http://localhost:3001).
    • IDF_DOMAIN IDF domain to expose as MCP tools (e.g. invest, booking, planning).

    Descriptions are as written by the maker.

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user idf --env IDF_SERVER=your-value --env IDF_DOMAIN=your-value -- npx -y @intent-driven/mcp-server
  5. Type /mcp in Claude Code

    You should see Idf MCP listed as connected

  6. Try it

    Use Idf MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Idf MCP or shows a Idf MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • IDF_BOOTSTRAP Set to 0 if the host runtime already bootstrapped the domain; 1 (default) to bootstrap from IDF_ONTOLOGY_PATH on first connection.
  • IDF_ONTOLOGY_PATH Filesystem path to the domain ontology module (only used when IDF_BOOTSTRAP=1).
  • IDF_AUTH_TOKEN Optional bearer token forwarded to the host runtime as the agent's role credential.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

2 setting(s) to fill in (IDF_SERVER, IDF_DOMAIN) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Idf MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "idf": { "command": "npx", "args": [ "-y", "@intent-driven/mcp-server" ], "env": { "IDF_SERVER": "your-value", "IDF_DOMAIN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For IDF_SERVER, IDF_DOMAIN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Idf MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • IDF_SERVER Base URL of the IDF host runtime (e.g. http://localhost:3001).
    • IDF_DOMAIN IDF domain to expose as MCP tools (e.g. invest, booking, planning).

    Descriptions are as written by the maker.

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Idf MCP settings, IDF_SERVER, IDF_DOMAIN is empty; add your key and save

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Idf MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Idf MCP or shows a Idf MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • IDF_BOOTSTRAP Set to 0 if the host runtime already bootstrapped the domain; 1 (default) to bootstrap from IDF_ONTOLOGY_PATH on first connection.
  • IDF_ONTOLOGY_PATH Filesystem path to the domain ontology module (only used when IDF_BOOTSTRAP=1).
  • IDF_AUTH_TOKEN Optional bearer token forwarded to the host runtime as the agent's role credential.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

2 setting(s) to fill in (IDF_SERVER, IDF_DOMAIN) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Idf MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "idf": { "type": "stdio", "command": "npx", "args": [ "-y", "@intent-driven/mcp-server" ], "env": { "IDF_SERVER": "your-value", "IDF_DOMAIN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For IDF_SERVER, IDF_DOMAIN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Idf MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • IDF_SERVER Base URL of the IDF host runtime (e.g. http://localhost:3001).
    • IDF_DOMAIN IDF domain to expose as MCP tools (e.g. invest, booking, planning).

    Descriptions are as written by the maker.

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Idf MCP settings, IDF_SERVER, IDF_DOMAIN is empty; add your key and save

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Idf MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Idf MCP or shows a Idf MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • IDF_BOOTSTRAP Set to 0 if the host runtime already bootstrapped the domain; 1 (default) to bootstrap from IDF_ONTOLOGY_PATH on first connection.
  • IDF_ONTOLOGY_PATH Filesystem path to the domain ontology module (only used when IDF_BOOTSTRAP=1).
  • IDF_AUTH_TOKEN Optional bearer token forwarded to the host runtime as the agent's role credential.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Idf MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user idf --env IDF_SERVER=your-value --env IDF_DOMAIN=your-value -- npx -y @intent-driven/mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "idf": {
      "command": "npx",
      "args": [
        "-y",
        "@intent-driven/mcp-server"
      ],
      "env": {
        "IDF_SERVER": "your-value",
        "IDF_DOMAIN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "idf": {
      "command": "npx",
      "args": [
        "-y",
        "@intent-driven/mcp-server"
      ],
      "env": {
        "IDF_SERVER": "your-value",
        "IDF_DOMAIN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "idf": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@intent-driven/mcp-server"
      ],
      "env": {
        "IDF_SERVER": "your-value",
        "IDF_DOMAIN": "your-value"
      }
    }
  }
}

Values you fill in

  • IDF_SERVER required env
    Base URL of the IDF host runtime (e.g. http://localhost:3001).
  • IDF_DOMAIN required env
    IDF domain to expose as MCP tools (e.g. invest, booking, planning).
  • IDF_BOOTSTRAP env
    Set to 0 if the host runtime already bootstrapped the domain; 1 (default) to bootstrap from IDF_ONTOLOGY_PATH on first connection.
  • IDF_ONTOLOGY_PATH env
    Filesystem path to the domain ontology module (only used when IDF_BOOTSTRAP=1).
  • IDF_AUTH_TOKEN secret env
    Optional bearer token forwarded to the host runtime as the agent's role credential.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
41/wk
Connection
Runs on your computer
Latest versioni
1.0.2
Categoryi
Other
Published to registryi
May 6, 2026
Code last changedi
May 10, 2026
Maker
intent-driven-software
Packages
npm: @intent-driven/mcp-server
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account intent-driven-software, which owns the repo

  • ! Caution

    Still maintained

    Code last changed 6 months ago, more than 6 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 0% of the other 19912 servers in this category
  • Published to the registry more recently than 6% of the other 19912 servers in this category
  • Basic checks equal to or better than 45% of the other 19912 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Idf MCP safe?

It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 6 months ago, and the latest version (1.0.2) reached the registry 6 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 97 tools.

by koala73Widely used★ 90.7KUpdated yesterday

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 26 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
  • World Monitor — Runs in the cloud, nothing to install · No key needed
  • openstatus — Runs in the cloud, nothing to install · No key needed
  • Oh My Posh Validator — Runs in the cloud, nothing to install · No key needed
  • Strata — Runs in the cloud, nothing to install · No key needed
  • Jitsu — Runs in the cloud, nothing to install · No key needed

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

@intent-driven/mcp-server

Stop giving AI agents API keys. Give them a domain.

@intent-driven/mcp-server exposes any IDF domain to Claude Desktop / Cursor / Zed as a Model Context Protocol server — with domain semantics in tool descriptions (preconditions, invariants, irreversibility, role scopes) and structured rejections when the agent tries something it shouldn't. Not a 500. Not a string. A JSON shape the LLM can read and adapt to.

→ Landing & demo: [fold.intent-design.tech](https://fold.intent-design.tech) → 5-min quickstart: [github.com/intent-driven-software/fold-runtime-quickstart](https://github.com/intent-driven-software/fold-runtime-quickstart)

70-second walkthrough

→ [Watch on Loom →](https://www.loom.com/share/2ca4a40e3b9245feb86a74a998e42cb8)


Why this exists

On April 25 2026 a Cursor agent powered by Claude Opus 4.6, working on a credential mismatch in PocketOS staging, found an unrelated API token, decided to delete a Railway volume to fix things, and wiped the production database and all volume-level backups in 9 seconds. The agent's own post-mortem:

"I guessed that deleting a staging volume via the API would be scoped

to staging only. I didn't verify. I didn't check if the volume ID was

shared across environments."

30-hour outage. PocketOS rolled back to a 3-month-old backup. (The Register · FastCompany · OECD AI Incident #6153)

This isn't an alignment problem. The system never told the agent what was allowed, why it shouldn't, or what would happen if it tried. Existing MCP servers don't either — tool descriptions carry endpoint shape and not much else. The agent learns by colliding with 500s.

This package fixes that. The MCP tool descriptions carry the why the call might fail; the rejection carries the what failed, structured.

How it plugs into your stack

@intent-driven/mcp-server is a stdio MCP adapter that talks to a Fold runtime over an HTTP API. The runtime is a sibling service — not middleware in your existing app, not codegen at runtime. Your current backend stays where it is; the IDF artifact *describes* the agent-facing surface, and the runtime serves it on its own port (default :3001).

┌──────────────────┐   stdio    ┌──────────────────┐   HTTP   ┌────────────────────┐

│ Claude Desktop │ ◀─────────▶│ @intent-driven/ │ ◀───────▶│ Fold runtime │ │ Cursor / Zed │ │ mcp-server │ │ (idf host :3001) │ └──────────────────┘ └──────────────────┘ └────────┬───────────┘ │ reads ▼ ┌────────────────────┐ │ IDF artifact │ │ (entities + intents│ │ + invariants + │ │ roles + __irr) │ └────────────────────┘

The MCP server is what Claude/Cursor connects to. The runtime is what enforces the rejection. The IDF artifact is what you author.

Who this is for. You're the engineer at a 5–30-person team putting an AI agent into production this quarter — on top of a real backend, with real customers, real SOC2 review on the horizon. You don't want a guardrail layer that reviews after the fact. You want the system itself to refuse the wrong action — before the call, with a structured reason the agent can read.

What the agent actually sees

submit_response in the freelance domain:

Executor публикует Response на Task в status=published; Response.status=pending; +1 в Task.responsesCount

Creates: Response(pending)

Preconditions: task.status = "published"

May fail on (domain invariants):

  • Response.taskId must reference existing Task.id
  • Response: max 1 per taskId where (status="selected")
  • Response: row count rule per taskId where (status="pending") [info]

release_payment in the same domain:

Customer releases escrow to executor. After confirmation, money is gone — forward-correction only.

⚠️ Irreversible action (point-of-no-return: high). Forward-correction only after this effect is confirmed.

May fail on (domain invariants):

  • Deal.status transitions allowed: in_progress→completed, on_review→completed, ...

None of this is hand-written for the MCP server. It's all derived from one declarative IDF artifact (entities + intents + invariants + roles

  • irreversibility points).

What a structured rejection looks like

Agent submits a $50,000 BTC long without preapproval. The runtime intercepts before any effect lands in storage:

HTTP 403

{ "error": "preapproval_denied", "intentId": "agent_execute_preapproved_order", "reason": "no_preapproval", "details": { "entity": "AgentPreapproval", "ownerField": "userId", "viewerId": "user_5f57c252" } }

The next move for any sane agent: stop, ask the human for a preapproval, retry. Not a 500. Not a string. A JSON shape the LLM can read and adapt to.


Quickstart

The fastest path is the fold-runtime-quickstart — two commands, Docker-bundled, no path configuration:

git clone https://github.com/intent-driven-software/fold-runtime-quickstart && cd $_

docker compose up # ~3 min first time, ~5 sec after

in another terminal

npm install npm run demo:rogue && \ # Act 1: $50K trade → 403 with structured rejection npm run demo:grant && \ # Act 2: investor issues $1K cap (one declarative effect) npm run demo:smart # Act 3: agent reads cap, scales to $950, executes 200 OK

If you'd rather drive the host yourself (e.g. for development against your own ontologies), see the next section.

Drive the MCP server directly

You need a running IDF host on localhost:3001 (the quickstart's docker-compose gives you that, or run idf manually) and a bootstrapped domain.

CLI
# bootstrap from local FS (ontology + intents)

mcp-idf --domain=invest --ontology-path=/abs/path/to/idf/src/domains/invest

skip bootstrap (domain already loaded by another client / docker)

mcp-idf --domain=invest --no-bootstrap

Flags / env vars:

FlagEnv varDefault
--domainIDF_DOMAINbooking
--serverIDF_SERVERhttp://localhost:3001
--ontology-pathIDF_ONTOLOGY_PATH./src/domains/
--agent-emailIDF_AGENT_EMAILmcp-agent@local
--no-bootstrapIDF_BOOTSTRAP=0bootstrap on (load FS ontology)
Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "invest": { "command": "npx", "args": ["-y", "@intent-driven/mcp-server"], "env": { "IDF_SERVER": "http://localhost:3001", "IDF_DOMAIN": "invest", "IDF_BOOTSTRAP": "0", "IDF_AGENT_EMAIL": "claude@local" } } } }

IDF_BOOTSTRAP=0 if the host already has the domain loaded (the quickstart container does this on docker compose up). Restart Claude Desktop fully (⌘Q + relaunch — closing the window isn't enough). All agent-callable intents appear in the Tools menu.


Schema mapping

IDF intent.canExecute              ─→  MCP tool

intent.parameters ─→ JSON Schema inputSchema intent.conditions ─→ description hint for LLM ontology.invariants (relevant) ─→ description block "May fail on" intent.irreversibility:high ─→ annotations.destructiveHint + warning role.visibleFields ─→ resource per collection preapproval guard ─→ automatic scope/limits checkOwnership ─→ automatic access control

Tools

One tool per intent in ontology.roles.agent.canExecute.

  • name — intentId
  • title — intent.name
  • description — intent.description + Creates: … + preconditions + May fail on (domain invariants) block + irreversibility warning when irreversibility: "high"
  • inputSchema — JSON Schema from particles.parameters:
  • entityRef / id / text / textarea / select → string
  • number → number
  • boolean → boolean
  • datetime → string + format: "date-time"
  • email → string + format: "email"
  • annotations.destructiveHint — true when intent.irreversibility === "high" (§23 IDF: effect-level point of no return)
Resources

One resource per collection in role.visibleFields[entity]. URI scheme: idf:// / .

resources/read returns the filtered world from /api/agent/:domain/world — already scoped per viewer (single-owner

  • m2m via role.scope).

What this gets you that hand-rolled MCP doesn't

The MCP community solves these by hand in every server:

  1. Scope / visibility. Decorators or middleware. → IDF declares role.visibleFields.
  2. Permissions. OAuth scopes, custom ACL. → IDF declares roles.agent.canExecute.
  3. Rate limits / spending caps. Bespoke per server. → IDF declares preapproval.requiredFor with maxAmount / dailySum.
  4. Destructive hints. Manual, often forgotten. → IDF: effect.context.__irr.point === "high" → destructiveHint: true automatic.
  5. Business rules as LLM hint. Usually not transmitted. → IDF: intent.conditions land in tool description as Preconditions:.
  6. Domain invariants in descriptions. Almost never. → IDF computes the relevant invariants per intent (alpha × entity match) and injects them as May fail on (domain invariants). Closes the #1 complaint about hand-rolled MCP servers: *"the server doesn't carry domain semantics — the LLM knows what to call but not why it'll fail."*

How long does authoring an IDF artifact take

Three reference points from the public IDF host runtime:

DomainShapeTime
invest14 entities · 61 intents · 5 invariants · ~600 linesa weekend, hand-written
gravitino253 entities (Apache catalog OpenAPI) · 120 intentsimported in <1h, enriched in 2 days

| `workf

Only the beginning is shown; read the rest in the repo