Template for Bun MCP Server

by dotneet

395 downloads
Not rated
GitHub

About

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.

Details

Author
dotneet
Downloads
395
Categories
Developer Tools

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Template for Bun MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

Template for Bun MCP Server

Usage

Create a new project

bun create github.com/dotneet/bun-mcp-server new_project_name
cd new_project_name

Implement MCP server using Claude Code or other tools you like.

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.