AgentHubAgentHub

idf-mcp

MCP ServerMCP Registry官方收录

io.github.intent-driven-software/idf-mcp · v1.0.2

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

概览

idf-mcp 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

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

环境变量

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).

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可选secret

Optional bearer token forwarded to the host runtime as the agent's role credential.

相关资源

统一 Manifest

{
  "id": "io.github.intent-driven-software/idf-mcp",
  "type": "mcp-server",
  "version": "1.0.2",
  "displayName": "idf-mcp",
  "description": "Turn an IDF domain into an MCP server with invariants and role scopes in every tool description.",
  "repository": {
    "url": "https://github.com/intent-driven-software/idf-mcp",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@intent-driven/mcp-server",
        "version": "1.0.2",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "IDF_SERVER",
            "description": "Base URL of the IDF host runtime (e.g. http://localhost:3001).",
            "isRequired": true
          },
          {
            "name": "IDF_DOMAIN",
            "description": "IDF domain to expose as MCP tools (e.g. invest, booking, planning).",
            "isRequired": true
          },
          {
            "name": "IDF_BOOTSTRAP",
            "description": "Set to 0 if the host runtime already bootstrapped the domain; 1 (default) to bootstrap from IDF_ONTOLOGY_PATH on first connection."
          },
          {
            "name": "IDF_ONTOLOGY_PATH",
            "description": "Filesystem path to the domain ontology module (only used when IDF_BOOTSTRAP=1)."
          },
          {
            "name": "IDF_AUTH_TOKEN",
            "description": "Optional bearer token forwarded to the host runtime as the agent's role credential.",
            "isSecret": true
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.intent-driven-software/idf-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.intent-driven-software%2Fidf-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
idf-mcp — MCP Server 安装与配置 · AgentHub