Skip to main content
Glama

MCP Boilerplate

by jhon2c

MCPバナー

🚀 MCP ボイラープレート

Bun ⚡によって提供

モデルコンテキストプロトコル(MCP)アプリケーション用の最新の超高速ボイラープレート


🔥 機能

  • Bun 搭載の超高速 MCP
  • モダンなTypeScriptファーストアーキテクチャ
  • すぐに使用可能な MCP SDK 統合 ( @modelcontextprotocol/sdk )
  • 適切な TypeScript サポートを備えた Express 5.x サーバー
  • Zodスキーマを使用した堅牢な検証
  • Morganによるスマートログ
  • 環境設定サポート
  • CLI対応実装

🛠️ 前提条件


⚡ クイックスタート

# Clone repository git clone https://github.com/jhon2c/mcp-boilerplate.git cd mcp-boilerplate # Install dependencies (with Bun) [Recommended] bun install # OR with npm npm install # Start development server bun run dev

🚄 開発スクリプト

指示説明
bun run devホットリロードで開発サーバーを起動する
bun run buildTypeScriptをコンパイルする
mcp-boilerplateコンパイルされたCLIを実行する

🌐 環境設定

.env ファイルを作成します:

PORT=3000 MCP_API_KEY=your_api_key_here DEBUG=mcp:*

✨ カーソルにMCPサーバーをセットアップする

  1. サーバーをインストールして実行する
  2. カーソルMCP設定Files > Preferences > Cursor Settings > MCPに移動します。
  3. 新しい MCP サーバーを追加+ Add new global MCP server
  4. セットアップJSONを貼り付けます
{ "mcpServers": { "mcp-boilerplate": { "url": "http://localhost:3001/sse" } } }

📂 プロジェクト構造

mcp-boilerplate/ ├── src/ │ ├── index.ts │ ├── config/ │ ├── services/ │ └── types/ └── build/

📦 主要な依存関係

ランタイム:

開発者:


🤝 フォークリポジトリへの貢献

  1. 機能ブランチを作成する
  2. 変更をコミットする
  3. ブランチをプッシュ
  4. オープンPR

📄 ライセンス MIT - LICENSE を参照

コーディングを楽しんでください!

-
security - not tested
-
license - not tested
-
quality - not tested

Bun を使用してモデル コンテキスト プロトコル アプリケーションを構築するための最新の超高速スターター テンプレート。開発者は、TypeScript サポート、検証、環境構成を備えた MCP サーバーを作成できます。

  1. 🔥 機能
    1. 🛠️ 前提条件
      1. ⚡ クイックスタート
        1. 🚄 開発スクリプト
          1. 🌐 環境設定
            1. ✨ カーソルにMCPサーバーをセットアップする
              1. 📂 プロジェクト構造
                1. 📦 主要な依存関係
                  1. 🤝 フォークリポジトリへの貢献

                    Related MCP Servers

                    • A
                      security
                      A
                      license
                      A
                      quality
                      A production-ready template for creating Model Context Protocol servers with TypeScript, providing tools for efficient testing, development, and deployment.
                      Last updated -
                      1
                      4
                      12
                      JavaScript
                      MIT License
                    • A
                      security
                      F
                      license
                      A
                      quality
                      A template for creating Model Context Protocol (MCP) servers in TypeScript, offering features like container-based dependency injection, a service-based architecture, and integration with the LLM CLI for architectural design feedback through natural language.
                      Last updated -
                      1
                      5
                      TypeScript
                    • A
                      security
                      A
                      license
                      A
                      quality
                      A TypeScript-based template for building Model Context Protocol servers, featuring fast testing, automated version management, and a clean structure for MCP tool implementations.
                      Last updated -
                      1
                      4
                      2
                      TypeScript
                      MIT License
                    • -
                      security
                      F
                      license
                      -
                      quality
                      A TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery and loading of tools, resources, and prompts.
                      Last updated -
                      67
                      TypeScript
                      • Apple

                    View all related MCP servers

                    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/jhon2c/mcp-boilerplate'

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