MCP.so
登录

MCP Server: TypeScript Project Initializer

@Flow-Research

关于 MCP Server: TypeScript Project Initializer

暂无概览

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

Flow-Research

配置

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

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

FAQ from MCP Server: TypeScript Project Initializer

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.

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.

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.

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.

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 服务器