Node Omnibus MCP サーバー
高度な Node.js 開発ツールと自動化機能を提供する包括的な Model Context Protocol (MCP) サーバー。
特徴
プロジェクト管理
- プロジェクトの作成: 次のサポートが組み込まれた新しいプロジェクトを構築します:
- 反応する
- ネクスト.js
- 急行
- ファストファイ
- プレーンNode.js
- TypeScript 統合: TypeScript の自動構成とセットアップ
- パッケージ管理: スマートな依存関係のインストールとバージョン管理
コンポーネント生成
- React コンポーネントを作成する(関数型またはクラスベース)
- TypeScriptインターフェース生成
- 自動プロパティタイプの定義
- コンポーネントドキュメント生成
構成管理
- 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
- リポジトリをクローンする
- 依存関係をインストールします:
使用法
サーバーはstdio経由のモデルコンテキストプロトコルを使用して動作します。MCP互換のクライアントであれば、どれでも統合できます。
サーバーの起動
利用可能なツール
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
発達
建物
テストの実行
開発モード
統合
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ファイルを参照
要件
- Node.js >= 14.x
- npm >= 6.x
- TypeScript >= 4.x
依存関係
- @モデルコンテキストプロトコル/sdk
- アクシオス
- タイプスクリプト(開発)