MCP Server: TypeScript Project Initializer
About
# MCP Server: TypeScript Project Initializer This project implements a Model Context Protocol (MCP) server that provides a tool to initialize a basic TypeScript project structure. The server exposes a single tool, `init-typescript`, which takes a project name and destination folder as input and creates: * A project…
Explore
- Exposes a single tool: init-typescript.
- Takes a project name and destination folder as input.
- Runs npm init -y to create package.json.
- Installs typescript as a dev dependency.
- Creates tsconfig.json with basic settings.
- Adds build and start npm scripts.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Server: TypeScript Project InitializerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Node.js and npm (or a compatible package manager)
Make
A Makefile is provided for common tasks. Run these commands from the root directory of this project (mcp-server-typescript-init):
Install Dependencies:
make install
(Runs npm install)
Build the Project:
make build
(Runs
npm run build, which compiles TypeScript to JavaScript in the build/ directory)
Inspect the Server:
make inspect
(Runs make build first, then starts the MCP inspector using npx @modelcontextprotocol/inspector node build/index.js)
Install, Build, and Inspect (Default):
make
or
make all
(Runs
make install, make build, and make inspect sequentially)
Clean Project:
make clean
(Removes node_modules, build, dist, and .tsbuildinfo files)
If you prefer not to use Make:
1. Install dependencies: npm install
2. Build the project: npm run build
3. Run the server (e.g., with the inspector):
npx @modelcontextprotocol/inspector node build/index.js
Or run the server directly if connecting with a client:
node build/index.js
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp server: typescript project initializer": {
"mcp-server-typescript-init": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"build/index.js"
]
}
}
}
}
McpServers
{
"mcp-server-typescript-init": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"build/index.js"
]
}
}
This project implements a Model Context Protocol (MCP) server that provides a tool to initialize a basic TypeScript project structure.
The server exposes a single tool, init-typescript, which takes a project name and destination folder as input and creates:
A project directory.
package.json (via npm init -y).
Installs typescript as a dev dependency.
tsconfig.json with basic settings.
A src directory with a simple index.ts file.
Adds build and start scripts to package.json.
Prerequisites
Node.js and npm (or a compatible package manager)
Make
Usage with Makefile
A Makefile is provided for common tasks. Run these commands from the root directory of this project (mcp-server-typescript-init):
Install Dependencies:
make install
(Runs npm install)
Build the Project:
make build
(Runs
npm run build, which compiles TypeScript to JavaScript in the build/ directory)
Inspect the Server:
make inspect
(Runs make build first, then starts the MCP inspector using npx @modelcontextprotocol/inspector node build/index.js)
Install, Build, and Inspect (Default):
make
or
make all
(Runs
make install, make build, and make inspect sequentially)
Clean Project:
make clean
(Removes node_modules, build, dist, and .tsbuildinfo files)
Running Manually
If you prefer not to use Make:
1. Install dependencies: npm install
2. Build the project: npm run build
3. Run the server (e.g., with the inspector):
npx @modelcontextprotocol/inspector node build/index.js
Or run the server directly if connecting with a client:
node build/index.js
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



