jsc-typescript-ast-mcp 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +19 -1
  2. package/package.json +6 -1
  3. package/run.sh +1 -0
package/README.md CHANGED
@@ -39,7 +39,25 @@ To use this MCP server in Claude Code:
39
39
 
40
40
  1. **Configure Claude Code**:
41
41
 
42
- - Copy the `.mcp.example.json` to `.mcp.json` (or update your existing one with the content of the MCP configuration)
42
+ - Copy a `.mcp.json` (or update your existing one with the content of the MCP configuration):
43
+ ```
44
+ {
45
+ "mcpServers": {
46
+ "typescript-ast": {
47
+ "type": "stdio",
48
+ "command": "yarn",
49
+ "args": [
50
+ "typescript-ast"
51
+ ],
52
+ "env": {
53
+ "PROJECT_TSCONFIG_PATH": "PATH/TO/YOUR/TYPESCRIPT?PROJECT/tsconfig.json"
54
+ }
55
+ }
56
+ }
57
+ }
58
+ ```
59
+ For the project path, if you're using `Vite` you might want to use the `tsconfig.app.json` instead.
60
+
43
61
  - Edit your `.claude/settings.local.json` and add the MCP section (or the subset needed if you already have some MCPs configured)
44
62
 
45
63
  ```
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "jsc-typescript-ast-mcp",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
+ "mcpName": "io.github.jscoobyced/jsc-typescript-ast-mcp",
4
5
  "description": "A Model Context Protocol (MCP) server that provides an abstract syntax tree (AST) representation of TypeScript code using the ts-morph library.",
5
6
  "main": "dist/index.js",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/jscoobyced/jsc-typescript-ast-mcp/"
10
+ },
6
11
  "scripts": {
7
12
  "format": "prettier --write .",
8
13
  "build": "tsc",
package/run.sh CHANGED
@@ -1,3 +1,4 @@
1
1
  #!/bin/bash
2
+
2
3
  # Run the MCP server
3
4
  node ./node_modules/jsc-typescript-ast-mcp/dist/index.js