🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@formtrieb/cdf-mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formtrieb/cdf-mcp - npm Package Compare versions

Comparing version
1.7.0
to
1.7.1
+23
-0
CHANGELOG.md

@@ -8,2 +8,25 @@ # Changelog — `@formtrieb/cdf-mcp`

## [1.7.1] — 2026-04-26
### Fixed — `npx @formtrieb/cdf-mcp` invocation
v1.7.0 shipped without `bin`/`main` fields and without a shebang on
`dist/index.js`, so any `npx @formtrieb/cdf-mcp` invocation failed with
`could not determine executable to run`. This blocked the
[`cdf` Claude Code plugin](https://github.com/formtrieb/cdf-plugin)'s
`.mcp.json` from launching the server.
- Added `"bin": { "cdf-mcp": "dist/index.js" }` to package.json so npx
has an executable target.
- Added `"main": "dist/index.js"` for module-resolution completeness.
- Added `banner.js: "#!/usr/bin/env node"` to `tsup.config.ts` so the
built `dist/index.js` carries the shebang ahead of the ESM bundle.
- Added `chmod +x dist/index.js` to the build script (npm preserves
exec bits across publish).
No behavioural changes; same 22 tools, same 90 tests, same
`@formtrieb/cdf-core@^1.0.1` dependency. Caret-pinned consumers of
`^1.7.0` (including the `cdf` plugin) will pick up this fix on next
`npm install` / `npx`-cache-miss.
## [1.7.0] — 2026-04-26

@@ -10,0 +33,0 @@

+6
-2
{
"name": "@formtrieb/cdf-mcp",
"version": "1.7.0",
"version": "1.7.1",
"description": "MCP server exposing CDF (Component Description Format) tooling to LLM clients — Profile read/diff/coverage, component validation, vocab-divergence, Figma walker + renderers.",
"license": "Apache-2.0",
"type": "module",
"main": "dist/index.js",
"bin": {
"cdf-mcp": "dist/index.js"
},
"files": [

@@ -29,3 +33,3 @@ "dist",

"start": "tsx src/index.ts",
"build": "rm -rf dist && tsup && pnpm run bundle:fragments",
"build": "rm -rf dist && tsup && pnpm run bundle:fragments && chmod +x dist/index.js",
"bundle:fragments": "mkdir -p dist/spec-fragments && cp -R spec-fragments/profile dist/spec-fragments/",

@@ -32,0 +36,0 @@ "build:typecheck": "tsc --noEmit",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display