← Browse

@likec4/mcp

A

MCP server package @likec4/mcp

mcp_servermcp

Install

agr install @likec4/mcp --target claude

This artifact does not publish files for Claude.

Document

{ "name": "@likec4/mcp", "description": "Model Context Protocol server for LikeC4", "license": "MIT", "version": "1.59.2", "bugs": "https://github.com/likec4/likec4/issues", "homepage": "https://likec4.dev", "author": "Denis Davydkov denis@davydkov.com", "type": "module", "bin": { "likec4-mcp": "bin/likec4-mcp.mjs" }, "engines": { "node": ">=22.22.3" }, "exports": { ".": "./src/index.ts", "./package.json": "./package.json" }, "files": [ "dist", "bin", "/package.json", "!/__/", "!/.spec.", "!**/.map" ], "repository": { "type": "git", "url": "git+https://github.com/likec4/likec4.git", "directory": "packages/mcp" }, "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public", "exports": { ".": "./dist/index.mjs", "./package.json": "./package.json" } }, "keywords": [ "likec4", "mcp", "model context protocol", "server" ], "scripts": { "typecheck": "tsc -b --verbose", "build": "tsdown", "preinspector": "tsdown", "inspector": "DANGEROUSLY_OMIT_AUTH=1 LIKEC4_WORKSPACE=../../examples pnpx @modelcontextprotocol/inspector node bin/likec4-mcp.mjs", "pack": "pnpm pack", "smoke:pack": "node scripts/smoke-packed-install.mjs", "postpack": "likec4ops postpack", "clean": "likec4ops clean", "test": "vitest run --no-isolate", "vitest:ui": "vitest --no-isolate --ui", "test:watch": "vitest" }, "dependencies": { "@hono/mcp": "catalog:hono", "@hono/node-server": "catalog:hono", "@hpcc-js/wasm-graphviz": "catalog:externals", "@likec4/config": "workspace:", "@likec4/core": "workspace:", "@likec4/language-server": "workspace:", "@likec4/language-services": "workspace:", "@likec4/layouts": "workspace:", "@likec4/log": "workspace:", "@modelcontextprotocol/sdk": "catalog:mcp", "bundle-require": "catalog:externals", "citty": "catalog:utils", "defu": "catalog:utils", "esbuild": "catalog:esbuild", "hono": "catalog:hono", "remeda": "catalog:utils", "std-env": "catalog:externals", "tinyrainbow": "catalog:utils", "unctx": "catalog:utils", "vscode-uri": "catalog:vscode", "zod": "catalog:externals" }, "devDependencies": { "@likec4/devops": "workspace:", "@likec4/tsconfig": "workspace:", "@types/node": "catalog:", "@vitest/ui": "catalog:vitest", "langium": "catalog:langium", "tsdown": "catalog:tsdown", "tsx": "catalog:", "turbo": "catalog:", "typescript": "catalog:", "type-fest": "catalog:externals", "vitest": "catalog:vitest" } }

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • warnType matchbest-effort: server code not analyzed

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-770fae79eaff2026-08-06