Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
Turn an IDF domain into an MCP server with invariants and role scopes in every tool description.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
IDF_SERVER, IDF_DOMAIN, IDF_BOOTSTRAP, IDF_ONTOLOGY_PATH, IDF_AUTH_TOKEN「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
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/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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .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_BOOTSTRAP envIDF_ONTOLOGY_PATH envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント intent-driven-software で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:IDF_SERVER, IDF_DOMAIN, IDF_AUTH_TOKEN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.0.2)がレジストリに届いたのは6 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Apify MCP Server
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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)
→ [Watch on Loom →](https://www.loom.com/share/2ca4a40e3b9245feb86a74a998e42cb8)
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.
@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.
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):
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):
None of this is hand-written for the MCP server. It's all derived from one declarative IDF artifact (entities + intents + invariants + roles
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.
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
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.
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.
# bootstrap from local FS (ontology + intents)
mcp-idf --domain=invest --ontology-path=/abs/path/to/idf/src/domains/invest
mcp-idf --domain=invest --no-bootstrap
Flags / env vars:
| Flag | Env var | Default |
|---|---|---|
--domain | IDF_DOMAIN | booking |
--server | IDF_SERVER | http://localhost:3001 |
--ontology-path | IDF_ONTOLOGY_PATH | ./src/domains/ |
--agent-email | IDF_AGENT_EMAIL | mcp-agent@local |
--no-bootstrap | IDF_BOOTSTRAP=0 | bootstrap on (load FS ontology) |
~/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.
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
One tool per intent in ontology.roles.agent.canExecute.
name — intentIdtitle — intent.namedescription — 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 → stringnumber → numberboolean → booleandatetime → string + format: "date-time"email → string + format: "email"annotations.destructiveHint — true when intent.irreversibility === "high" (§23 IDF: effect-level point of no return)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
role.scope).The MCP community solves these by hand in every server:
role.visibleFields.roles.agent.canExecute.preapproval.requiredFor with maxAmount / dailySum.effect.context.__irr.point === "high" → destructiveHint: true automatic.intent.conditions land in tool description as Preconditions:.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."*Three reference points from the public IDF host runtime:
| Domain | Shape | Time |
|---|---|---|
invest | 14 entities · 61 intents · 5 invariants · ~600 lines | a weekend, hand-written |
gravitino | 253 entities (Apache catalog OpenAPI) · 120 intents | imported in <1h, enriched in 2 days |
| `workf
冒頭だけを表示しています。続きはリポジトリで読めます