mcpField
N
Node Omnibus MCP Server

Node Omnibus MCP Server

ローカル
github.com/bsmi021開発ツール982 週間前に更新

Node Omnibus MCP Server について

Node Omnibus MCP Serverは、Node.js開発向けにプロジェクト作成、コンポーネント生成、設定管理、ドキュメント作成のツールを提供します。MCPクライアントから作業を呼び出したい開発者向けで、React、Next.js、Express、Fastify、通常のNode.jsに対応します。

主な機能

  1. 01複数種類のNode.jsプロジェクト作成
  2. 02依存パッケージの導入と管理
  3. 03Reactコンポーネントと型定義の生成
  4. 04TypeScript、スクリプト、設定の管理
  5. 05README、API、コンポーネント文書の作成
  6. 06コード分析とデバッグ用プロンプト

活用シーン

  1. 01TypeScript設定を含むプロジェクトの作成
  2. 02Reactプロジェクト用コンポーネントと型の生成
  3. 03npmスクリプトやtsconfigの更新
  4. 04MCPクライアント経由でのプロジェクト文書作成

MCP 対応

stdioで動作するMCPサーバーとして、互換クライアントにプロジェクト、パッケージ、コンポーネント、設定、文書作成のツールと関連プロンプトを提供します。

設定

ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。

mcp.json · 共通設定
{
"mcpServers": {
"node-omnibus-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli"
]
}
}
}
起動コマンドnpx -y @smithery/cli

ローカルサーバーにはマシン上の実行環境(Node.js 18 以上など)が必要です。設定ファイルの場所はクライアントごとに異なります。

パッケージ
npm@smithery/cli

ツール

ツール一覧はまだ取得されていません

ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。

詳細

Node Omnibus MCP Server

smithery badge

高度な 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
  1. リポジトリをクローンします
  2. 依存関係をインストールします:
npm install

使い方

このサーバーは、stdio 経由で Model Context Protocol を使用して動作します。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 License - 詳細は LICENSE ファイルをご覧ください

要件

  • Node.js >= 14.x
  • npm >= 6.x
  • TypeScript >= 4.x

依存関係

  • @modelcontextprotocol/sdk
  • axios
  • typescript(開発用)

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。