MCP.so
ログイン

Template for Bun MCP Server

@dotneet

Template for Bun MCP Server について

template for Bun + MCP server project

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

dotneet

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "bun-mcp-server": {
      "command": "bun",
      "args": [
        "create",
        "github.com/dotneet/bun-mcp-server",
        "new_project_name"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Template for Bun MCP Server?

A template for quickly bootstrapping a Model Context Protocol (MCP) server using the Bun runtime. It is designed for developers who want to start building an MCP server with minimal setup and optionally use Claude Code to generate implementation from a specification file.

How to use Template for Bun MCP Server?

Create a new project with bun create github.com/dotneet/bun-mcp-server new_project_name, then edit spec.txt to describe what you want. Run claude "See spec.txt and implement an MCP Server that meets the spec." to generate the server, build it with bun run build, test using the provided inspector command, and install by copying the built file to your path.

Features of Template for Bun MCP Server

  • Preconfigured project structure for a Bun MCP server
  • Includes spec.txt for specifying server behavior
  • Integration with Claude Code for AI-assisted implementation
  • Build script (bun run build) for production output
  • Ready to use with the MCP Inspector for testing and debugging
  • Simple installation step to copy binary to $HOME/bin

Use cases of Template for Bun MCP Server

  • Rapidly scaffold a new MCP server project without boilerplate
  • Let Claude Code generate server code from a written specification
  • Test and debug the server using the official MCP Inspector
  • Deploy the compiled server by copying it to a directory in your PATH

FAQ from Template for Bun MCP Server

How do I create a new project from the template?

Run bun create github.com/dotneet/bun-mcp-server new_project_name in your terminal.

How do I build the server?

Run bun run build inside the project directory.

How do I test and debug the server?

Use the MCP Inspector by running package_name=$(bun run show-package-name) then npx @modelcontextprotocol/inspector dist/$package_name.

How do I install the server?

Copy the built file from dist/$package_name to a directory in your $HOME/bin or another location on your PATH.

コメント

「開発者ツール」の他のコンテンツ