MCP.so
登录

MCP Server: TypeScript Project Initializer

@Flow-Research

基本信息

分类

其他

传输方式

stdio

作者

Flow-Research

关于 MCP Server: TypeScript Project Initializer

暂无概览

#typescript#project-initializer#mcp-server

MCP Server: TypeScript Project Initializer 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-typescript-init": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "node",
        "build/index.js"
      ]
    }
  }
}

MCP Server: TypeScript Project Initializer 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP Server: TypeScript Project Initializer?

This server implements the Model Context Protocol and provides a tool (init-typescript) that creates a basic TypeScript project structure. It automates setting up a project directory, package.json, TypeScript as a dev dependency, a tsconfig.json, a src folder with an index.ts file, and build/start scripts. It is intended for developers who want to quickly bootstrap a TypeScript project via an MCP client (e.g., an AI assistant).

How to use MCP Server: TypeScript Project Initializer?

The server can be run using the provided Makefile (make install, make build, make inspect) or manually (npm install, npm run build, then node build/index.js). It does not require any environment variables; it listens for MCP tool calls from the client.

Key features of MCP Server: TypeScript Project Initializer

  • 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.

Use cases of MCP Server: TypeScript Project Initializer

  • Quickly scaffold a TypeScript project from a chat interface.
  • Automate project setup without manual file creation.
  • Integrate with AI assistants to initialize codebases on demand.
  • Ensure consistent TypeScript project structure across teams.

常见问题

1

What does the `init-typescript` tool create?

It creates a project directory, runs `npm init -y`, installs `typescript` as a dev dependency, creates a `tsconfig.json`, a `src` folder with `index.ts`, and adds `build` and `start` scripts to `package.json`.

2

What are the runtime requirements?

Node.js and npm (or a compatible package manager) are required. Make is optional but recommended for using the provided Makefile.

3

How is the server invoked after building?

After building (`npm run build`), the server is started with `node build/index.js`. It can be connected to an MCP client or inspected using `npx @modelcontextprotocol/inspector node build/index.js`.

4

Does this server work with any MCP client?

Yes, it implements the MCP protocol over stdio. Any client that supports MCP tools (e.g., Claude, custom agents) can use it.

5

Are there any configuration files or environment variables?

No. The server requires no environment variables or external configuration beyond the arguments provided to the `init-typescript` tool.

评论

其他 分类下的更多 MCP 服务器