Node Omnibus MCP Server について
Node Omnibus MCP Serverは、Node.js開発向けにプロジェクト作成、コンポーネント生成、設定管理、ドキュメント作成のツールを提供します。MCPクライアントから作業を呼び出したい開発者向けで、React、Next.js、Express、Fastify、通常のNode.jsに対応します。
主な機能
- 01複数種類のNode.jsプロジェクト作成
- 02依存パッケージの導入と管理
- 03Reactコンポーネントと型定義の生成
- 04TypeScript、スクリプト、設定の管理
- 05README、API、コンポーネント文書の作成
- 06コード分析とデバッグ用プロンプト
活用シーン
- 01TypeScript設定を含むプロジェクトの作成
- 02Reactプロジェクト用コンポーネントと型の生成
- 03npmスクリプトやtsconfigの更新
- 04MCPクライアント経由でのプロジェクト文書作成
MCP 対応
stdioで動作するMCPサーバーとして、互換クライアントにプロジェクト、パッケージ、コンポーネント、設定、文書作成のツールと関連プロンプトを提供します。
設定
ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。
ツール
ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。
詳細
Node Omnibus MCP Server
高度な Node.js 開発ツールと自動化機能を提供する、包括的な Model Context Protocol(MCP)サーバーです。
機能
プロジェクト管理
- プロジェクトの作成:以下を標準でサポートし、新しいプロジェクトのひな形を作成します。
- React
- Next.js
- Express
- Fastify
- Plain Node.js
- TypeScript との統合:TypeScript の設定とセットアップを自動化します
- パッケージ管理:依存関係のインストールとバージョン管理をスマートに行います
コンポーネントの生成
- React コンポーネントを作成します(関数型またはクラスベース)
- TypeScript インターフェースを生成します
- props の型を自動定義します
- コンポーネントのドキュメントを生成します
設定管理
- TypeScript の設定を管理します
- NPM スクリプトを管理します
- Package.json を更新します
- 環境をセットアップします
ドキュメント
- プロジェクトの README を生成します
- API ドキュメント
- コンポーネントのドキュメント
- TypeScript 型定義のドキュメント
AI を活用した支援
- プロジェクト作成のガイダンス
- コードの分析と改善
- コンポーネント生成の支援
- Git コミットメッセージの提案
- エラーのデバッグ支援
インストール
Smithery 経由でのインストール
Smithery 経由で、Claude Desktop 用の Node Omnibus Server を自動的にインストールするには:
npx -y @smithery/cli install @bsmi021/mcp-node-omnibus-server --client claude
- リポジトリをクローンします
- 依存関係をインストールします:
npm install
使い方
このサーバーは、stdio 経由で Model Context Protocol を使用して動作します。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 License - 詳細は LICENSE ファイルをご覧ください
要件
- Node.js >= 14.x
- npm >= 6.x
- TypeScript >= 4.x
依存関係
- @modelcontextprotocol/sdk
- axios
- typescript(開発用)
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。