Skip to main content
Glama
bsmi021

Node Omnibus MCP Server

by bsmi021

Node Omnibus MCP 服务器

铁匠徽章

全面的模型上下文协议 (MCP) 服务器,提供高级 Node.js 开发工具和自动化功能。

特征

项目管理

  • 项目创建:搭建新项目,内置以下支持:

    • 反应

    • Next.js

    • 表达

    • Fastify

    • 普通 Node.js

  • TypeScript 集成:自动 TypeScript 配置和设置

  • 包管理:智能依赖项安装和版本管理

组件生成

  • 创建 React 组件(功能性或基于类的)

  • TypeScript 接口生成

  • 自动 prop 类型定义

  • 组件文档生成

配置管理

  • TypeScript 配置管理

  • NPM 脚本管理

  • Package.json 更新

  • 环境设置

文档

  • 项目 README 生成

  • API 文档

  • 组件文档

  • TypeScript 类型定义文档

人工智能辅助

  • 项目创建指导

  • 代码分析和改进

  • 组件生成协助

  • Git 提交消息建议

  • 错误调试协助

Related MCP server: Memory Bank MCP Server

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Node Omnibus Server:

npx -y @smithery/cli install @bsmi021/mcp-node-omnibus-server --client claude
  1. 克隆存储库

  2. 安装依赖项:

npm install

用法

该服务器使用模型上下文协议 (MCP) 通过 stdio 进行操作。它可以与任何兼容 MCP 的客户端集成。

启动服务器

npm start

可用工具

  1. create_project

    {
      name: string;
      type: 'react' | 'node' | 'next' | 'express' | 'fastify';
      path: string;
      typescript?: boolean;
    }
  2. install_packages

    {
      packages: string[];
      path: string;
      dev?: boolean;
    }
  3. generate_component

    {
      name: string;
      path: string;
      type: 'functional' | 'class';
      props?: Record<string, string>;
    }
  4. create_type_definition

    {
      name: string;
      path: string;
      properties: Record<string, string>;
    }
  5. add_script

    {
      path: string;
      name: string;
      command: string;
    }
  6. update_tsconfig

    {
      path: string;
      options: Record<string, unknown>;
    }
  7. create_documentation

    {
      path: string;
      type: 'readme' | 'api' | 'component';
      name?: string;
    }

可用提示

  1. create-project

    {
      projectType: string;  // react, node, next, express, fastify
      features?: string;    // comma-separated list of features
    }
  2. analyze-code

    {
      code: string;
      language: string;
    }
  3. generate-component

    {
      name: string;
      type: string;  // functional or class
    }
  4. git-commit

    {
      changes: string;  // Git diff or description of changes
    }
  5. debug-error

    {
      error: string;  // Error message or stack trace
    }

项目结构

node-omnibus-server/
├── src/
│   └── index.ts        # Main server implementation
├── dist/               # Compiled JavaScript
├── node_modules/       # Dependencies
├── package.json        # Project configuration
└── tsconfig.json      # TypeScript configuration

发展

建筑

npm run build

运行测试

npm test

开发模式

npm run dev

一体化

VSCode 配置

添加到您的 VSCode 设置:

{
  "mcpServers": {
    "node-omnibus": {
      "command": "node",
      "args": ["path/to/node-omnibus-server/dist/index.js"]
    }
  }
}

客户端使用示例

const client = new McpClient();
await client.connect(transport);

// Create a new React project
const result = await client.callTool('create_project', {
  name: 'my-app',
  type: 'react',
  path: './projects',
  typescript: true
});

// Use AI assistance for project setup
const guidance = await client.getPrompt('create-project', {
  projectType: 'react',
  features: 'typescript,testing,docker'
});

贡献

  1. 分叉存储库

  2. 创建功能分支

  3. 进行更改

  4. 提交拉取请求

执照

MIT 许可证 - 详情请参阅许可证文件

要求

  • Node.js >= 14.x

  • npm >= 6.x

  • TypeScript >= 4.x

依赖项

  • @modelcontextprotocol/sdk

  • axios

  • TypeScript(开发)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bsmi021/mcp-node-omnibus-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server