nifdi-diagram

nifdi-diagram

An MCP server that generates and manages nifdi diagrams as SVG files, bundled with skills that teach models in depth, placement grammar, and build workflow through natural language.

Category
访问服务器

README

nifdi plugin

The nifdi diagram plugin: the @nifdi/mcp diagram server bundled with the skills that teach it — the model in depth, the placement grammar, worked recipes, and the build loop that keeps what you build looking like what you meant.

The server is the verb surface. The skills are the craft. They install as one thing.

Install

claude plugin marketplace add nifdi-app/nifdi-plugin
claude plugin install nifdi@nifdi-plugin

That registers this repo as a marketplace and installs the plugin: the nifdi-diagram MCP server (launched with npx -y @nifdi/mcp@<pinned>) plus the skills, loaded progressively by your client as a task calls for them.

Under Claude Code no directory configuration is needed — it injects the project root, and diagrams land as .nifdi.svg files in the repo you are working in. On a client that does not, set NIFDI_ROOT to the folder you want them in.

The server alone, without the teaching layer, remains installable exactly as before:

claude mcp add nifdi-diagram -s project -- npx -y @nifdi/mcp@latest

What is in here

.claude-plugin/plugin.json       the plugin: pins the server version, ships the skills
.claude-plugin/marketplace.json  the single-plugin marketplace
skills/nifdi/                    the core skill: the model, placement, styling, connectors, workflow
test/                            contract CI — every fenced example, through the pinned server

The core skill's SKILL.md is an index at the same altitude as the server's own instructions; the depth lives in skills/nifdi/references/, which a client loads only when the path it took needs it.

The bare server still stands alone

Skills are optional context — a raw MCP client never sees them. So nothing an agent needs for correct tool use lives only in a skill. What lives here is the unbounded layer: model deep-dives, recipes, style judgement, provider conventions. The contract — what each tool does, accepts and rejects — stays in the server, delivered to every client.

The corollary matters more: a behaviour defect is fixed in the server, never papered over in a skill. A skill that teaches agents to route around a broken tool hides the defect from every bare-MCP client. See CONTRIBUTING.md.

Skills are contracts too

Every fenced example in every skill is executed by CI through the published @nifdi/mcp — the same round-trip discipline the server applies to its own quoted examples, applied from the outside. A recipe whose XML no longer parses, or whose claimed outcome no longer matches what the tool reports, fails the build.

The skills pin the server version they were tested against and the manifest pins both together, so an install is a coherent pair. A scheduled run tests the skills against @nifdi/mcp@latest as well, so a server release that invalidates a recipe is detected here rather than discovered by an agent mid-diagram.

npm install && npm test

To run the contract against a server build that is not on npm — a local checkout, a tarball, a release candidate — point NIFDI_MCP_SPEC at it:

NIFDI_MCP_SPEC=../nifdi-app/mcp npm run test:examples

Status. @nifdi/mcp@0.1.1 — the version this repo pins — is not yet published to npm. Until it is, the install commands above and the pinned CI job cannot resolve the server, and the contract runs only via NIFDI_MCP_SPEC.

Contributing

Provider conventions — what a good AWS, Azure or GCP diagram looks like, and which nifdi vocabulary produces it — are the flagship contribution surface: valuable, bounded, and needing no access to nifdi internals. CONTRIBUTING.md has the bar and how to run the checks locally.

Licence

Apache-2.0. The nifdi application itself is closed; this teaching layer is open.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选