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克隆存储库
安装依赖项:
npm install用法
该服务器使用模型上下文协议 (MCP) 通过 stdio 进行操作。它可以与任何兼容 MCP 的客户端集成。
启动服务器
npm start可用工具
create_project{ name: string; type: 'react' | 'node' | 'next' | 'express' | 'fastify'; path: string; typescript?: boolean; }install_packages{ packages: string[]; path: string; dev?: boolean; }generate_component{ name: string; path: string; type: 'functional' | 'class'; props?: Record<string, string>; }create_type_definition{ name: string; path: string; properties: Record<string, string>; }add_script{ path: string; name: string; command: string; }update_tsconfig{ path: string; options: Record<string, unknown>; }create_documentation{ path: string; type: 'readme' | 'api' | 'component'; name?: string; }
可用提示
create-project{ projectType: string; // react, node, next, express, fastify features?: string; // comma-separated list of features }analyze-code{ code: string; language: string; }generate-component{ name: string; type: string; // functional or class }git-commit{ changes: string; // Git diff or description of changes }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'
});贡献
分叉存储库
创建功能分支
进行更改
提交拉取请求
执照
MIT 许可证 - 详情请参阅许可证文件
要求
Node.js >= 14.x
npm >= 6.x
TypeScript >= 4.x
依赖项
@modelcontextprotocol/sdk
axios
TypeScript(开发)