@ai-dossier/mcp-server

中文文档
1.6.6发布于 2026/11/11AGPL-3.0-onlyTypeScriptCommonJS构建来源已验证近 30 天下载 1.9万

MCP server for signed, versioned agent skills: discover, verify, and run skills for model-driven orchestration through the Model Context Protocol.

原始使用文档
文档目录19 节
  1. Installation
  2. Claude Code Plugin (Recommended)
  3. Claude Code (Manual)
  4. Claude Desktop
  5. Verify
  6. Tools
  7. Discovery & Reading
  8. Security Verification
  9. Orchestration (Multi-Dossier Journeys)
  10. Resources
  11. Prompts
  12. Security
  13. Verification results
  14. Features
  15. Development
  16. Project structure
  17. Technical Details
  18. For AI Agents
  19. Links

@ai-dossier/mcp-server

npm version npm downloads npm provenance License: AGPL-3.0

Use one portable AI-agent skill across Claude Code, Codex, OpenCode, and MCP-compatible workflows.

@ai-dossier/mcp-server is for teams that want their MCP clients to discover, verify, and run trusted skills through the Model Context Protocol. Dossiers are portable, signed, versioned skills: familiar to Claude Code users, but verifiable and registry-backed for any compatible LLM tool.

Part of the ai-dossier ecosystem: use @ai-dossier/cli to author and install skills, @ai-dossier/core for verification, and the ai-dossier project for the complete platform.

Installation

/plugin marketplace add imboard-ai/ai-dossier
/plugin install dossier-mcp-server@ai-dossier

One-time setup — auto-updates included.

Claude Code (Manual)

# Global (available across all projects)
claude mcp add dossier --scope user -- npx @ai-dossier/mcp-server

# Project-only
claude mcp add dossier -- npx @ai-dossier/mcp-server

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "dossier": {
      "command": "npx",
      "args": ["-y", "@ai-dossier/mcp-server"]
    }
  }
}

Verify

claude mcp list

Then try:

"List available dossiers in this project"
"Execute the project-init dossier"

Tools

Discovery & Reading

ToolDescription
list_dossiersDiscover available dossiers in a directory. Scans for *.ds.md files and returns metadata.
read_dossierRead and parse a dossier file. Returns metadata and content. Should be called after verify_dossier passes. Pass dry_run: true to also get dry_run_plan (static preview).
search_dossiersSearch the dossier registry for available dossiers by keyword and optional category filter.

Security Verification

ToolDescription
verify_dossierVerify integrity (checksum) and authenticity (signature) of a single dossier. Returns pass/fail with stage details.
verify_graphBatch verify all dossiers in a resolved dependency graph. Returns aggregate security report with per-dossier breakdown.

Orchestration (Multi-Dossier Journeys)

ToolDescription
resolve_graphResolve a dossier dependency graph into an execution plan. Produces a DAG with ordered phases, parallel groups, and conflict detection.
start_journeyStart a journey session from a resolved and verified graph. Returns the first step's dossier content with injected context. With dry_run: true no session is created and a static per-step preview (files, commands, network, env, risk score) is returned instead. The preview is derived from declared metadata and code blocks; the executing agent may take other actions and the score is a heuristic, not a safety guarantee.
step_completeMark the current journey step as complete or failed. Advances to the next step with context from previous outputs.
get_journey_statusGet the current state of a journey: completed steps, current step, remaining steps, and collected outputs.
cancel_journeyCancel an active journey session. Returns a summary of what completed before cancellation.

Resources

URIDescription
dossier://conceptIntroduction to dossiers — what they are and why to use them
dossier://protocolHow to execute dossiers safely and effectively
dossier://securitySecurity model, signing, verification, and trust management
dossier://orchestrationComplete reference for multi-dossier journey tools

Prompts

PromptDescription
execute-dossierRun a dossier with verification and protocol. Automatically chooses single or multi-dossier flow based on relationships.
execute-journeyGuide through a multi-step dossier journey: resolve, verify, present plan, execute steps, collect outputs.
create-dossierAuthor a new dossier using the official meta-dossier template.

Security

Every dossier execution is verified before running:

User: "Execute the deploy-to-aws dossier"

LLM:  *Calls verify_dossier*

      Security Verification:
      - Integrity: Checksum verified (content not tampered with)
      - Authenticity: Signed by imboard-ai-2024 (trusted)
      - Risk Level: HIGH

      This dossier will modify AWS infrastructure.
      Proceed? (y/N)

Verification results

  • ALLOW — Verified signature from trusted source + low risk. Execute confidently.
  • WARN — Unsigned/unknown signer or high risk. Request user approval.
  • BLOCK — Checksum failed or signature invalid. Do not execute.

Features

  • Integrity: SHA256 checksums ensure dossiers haven't been modified
  • Signatures: Optional Ed25519 or AWS KMS cryptographic signatures (legacy minisign keys still verify)
  • Risk assessment: Declared risk level and specific risk factors per dossier
  • Trust model: Decentralized — users choose which signing keys to trust via ~/.dossier/trusted-keys.txt

Development

git clone https://github.com/imboard-ai/ai-dossier.git
cd ai-dossier/mcp-server
npm install
npm run build
npm test
npm start

Project structure

mcp-server/
  src/
    index.ts                 # Server entry point
    tools/                   # Tool implementations
    resources/               # Resource providers
    orchestration/           # Graph resolution, sessions, output mapping
    utils/                   # Logger, CLI wrapper, response helpers

Technical Details

  • Protocol: MCP (Model Context Protocol)
  • Language: TypeScript
  • Runtime: Node.js 20+
  • Transport: stdio
  • Dependencies: @modelcontextprotocol/sdk, @ai-dossier/core
  • License: AGPL-3.0

For AI Agents

npm run build -w mcp-server    # build (requires core built first)
npm run test -w mcp-server     # test
make build-mcp                 # build core + mcp-server together
  • src/index.ts — server entry: registers all tools, resources, and prompts
  • src/tools/ — one file per MCP tool (e.g. verifyDossier.ts)
  • src/resources/ — static MCP resources (concept, protocol, security, orchestration)
  • src/orchestration/ — graph resolution and journey session management
  • src/utils/ — logger, CLI wrapper, response helpers

Adding a tool: create src/tools/myTool.ts, export handler + input type, register in src/index.ts (add to ListTools + CallTool switch).

Adding a resource: create src/resources/myResource.ts, register in src/index.ts (add to ListResources + ReadResource switch).

For dossier users (not contributors): install via claude mcp add dossier -- npx @ai-dossier/mcp-server to get dossier:// resources and tools at runtime. MCP Registry name: ai.imboard/dossier.


版本与发布记录

@ai-dossier/mcp-server 共发布 251 个版本,首次发布于 2026/03/05;过去 12 个月发布了 251 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.6.6latest2026/11/11今天
1.6.6-next.788.1next2026/11/11今天
1.6.6-next.787.12026/11/11今天
1.6.6-next.786.12026/11/11今天
1.6.6-next.785.12026/11/11今天
1.6.6-next.784.12026/11/11今天

关于 @ai-dossier/mcp-server 的常见问题

@ai-dossier/mcp-server 是什么?

MCP server for signed, versioned agent skills: discover, verify, and run skills for model-driven orchestration through the Model Context Protocol.

如何安装 @ai-dossier/mcp-server?

在项目目录运行 npm install @ai-dossier/mcp-server,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 dossier-mcp-server,可以用 npx dossier-mcp-server 直接运行。

@ai-dossier/mcp-server 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@ai-dossier/mcp-server 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@ai-dossier/mcp-server 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.23.4。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@ai-dossier/mcp-server 可以商用吗?

@ai-dossier/mcp-server 使用 AGPL-3.0-only 许可。最严格的 Copyleft:除分发外,通过网络向用户提供基于它的服务也需要开源对应源码。闭源 SaaS 使用前务必评估。以上为概括,不构成法律意见,请以许可原文为准。

@ai-dossier/mcp-server 的下载量有多少?

根据 npm 官方下载统计,@ai-dossier/mcp-server 在 2026/10/05 – 2026/11/03 这 30 天内被下载 18,797 次,日均约 627 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@ai-dossier/mcp-server 还在维护吗?

最新版本 1.6.6 发布于 2026/11/11(今天);至今共发布 251 个版本,其中过去 12 个月发布了 251 个;首次发布于 2026/03/05。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。