原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Idf MCP

作者:intent-driven-software版本 1.0.2i★ –i在你的电脑上运行
注册名称io.github.intent-driven-software/idf-mcp

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:IDF_SERVER, IDF_DOMAIN, IDF_AUTH_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: IDF_SERVER, IDF_DOMAIN, IDF_BOOTSTRAP, IDF_ONTOLOGY_PATH, IDF_AUTH_TOKEN

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

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

在终端中运行这条命令

claude mcp add idf --env IDF_SERVER=your-value --env IDF_DOMAIN=your-value --env IDF_BOOTSTRAP=your-value --env IDF_ONTOLOGY_PATH=your-value --env IDF_AUTH_TOKEN=your-value -- npx -y @intent-driven/mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

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

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

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

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • IDF_SERVER 必填 env
    Base URL of the IDF host runtime (e.g. http://localhost:3001).
  • IDF_DOMAIN 必填 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 机密 env
    Optional bearer token forwarded to the host runtime as the agent's role credential.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 intent-driven-software 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32455 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32455 个服务器的 8% 更新
  • 基础检查结果等于或优于此分类中其他 32455 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Idf MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:IDF_SERVER, IDF_DOMAIN, IDF_AUTH_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.2)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, SSTracker free youth training

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

SSTracker free youth training

作者:sstracker.app

Free youth sports drills, practice plans and age-group answers for parents and coaches.

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@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

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx