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.

评论

开发工具 分类下的更多 MCP 服务器