{
  "name": "typegraph-mcp",
  "version": "0.9.56",
  "description": "Type-aware codebase navigation for AI coding agents — MCP tools powered by tsgo (TypeScript 7) via @effect/tsgo --api + oxc",
  "license": "MIT",
  "type": "module",
  "repository": {
    "type": "git",
    "url": "https://github.com/guyowen/typegraph-mcp.git"
  },
  "packageManager": "npm@11.5.2",
  "engines": {
    "node": ">=22.18"
  },
  "//engines": "22.18 is the minimum Node runtime. Source-mode development uses native TypeScript type stripping; published packages run compiled dist/ entrypoints.",
  "bin": {
    "typegraph-mcp": "./dist/cli.cjs",
    "typegraph": "./dist/cli.cjs",
    "typegraph-mcp-server": "./dist/server.cjs"
  },
  "//bin": "Three names, no flag. The -server name IS the stdio server, so an MCP entry never has to name a subcommand or a path inside the package. The package-name bin is the installer for humans and serves MCP when stdio is piped. `typegraph` is the predecessor compatibility alias. The .cjs trampolines validate Node before importing the compiled implementation.",
  "files": [
    "dist/",
    "assets/",
    "*.json",
    "README.md",
    "LICENSE",
    "skills/"
  ],
  "scripts": {
    "build": "node -e \"fs.rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && node scripts/copy-cjs.mjs",
    "prepack": "npm run build",
    "start": "node src/server.cjs",
    "check": "node src/check.cjs",
    "test": "node tests/agents-test.ts && node tests/install-paths-test.ts && node tests/api-client-paths-test.ts && node tests/skills-install-test.ts && node tests/cli-install-test.ts && node tests/cli-dispatch-test.ts && node tests/graph-exclude-test.ts && node tests/navigate-params-test.ts && node tests/invalidation-test.ts && node tests/lsp-client-test.ts && node tests/check-project-test.ts",
    "//test:e2e": "Requires a real TS project: npm run test:e2e -- /path/to/project",
    "test:e2e": "node tests/server-smoke.ts",
    "//test:effect-lsp": "Requires a real Effect project: npm run test:effect-lsp -- /path/to/effect-project [tsconfig]",
    "test:effect-lsp": "node tests/effect-lsp-smoke.ts",
    "typecheck": "tsc --noEmit"
  },
  "dependencies": {
    "@clack/prompts": "^1.0.1",
    "@effect/tsgo": "^0.36.4",
    "@modelcontextprotocol/sdk": "^1.26.0",
    "oxc-parser": "^0.114.0",
    "oxc-resolver": "^11.17.1",
    "typescript": "7.0.2",
    "zod": "^4.3.6"
  },
  "devDependencies": {
    "@types/node": "^25.3.0"
  },
  "//typescript": "Pinned EXACT, not ranged. The tsgo --api wire protocol has no version handshake and its encoders are code-generated, so a client/server mismatch surfaces as msgpack decode errors rather than a clean error. 7.0.2 is the version @effect/tsgo pins on its `latest` channel (upstream.json -> gitHead 2bd066d). src/version-guard.ts asserts these still agree at runtime."
}
