MCP server for scaffolding Bun-based MCP projects

MCP server for scaffolding Bun-based MCP projects

create-mcp-server-app-bun•bykatjes733

An MCP server, usable with Claude Desktop, that creates a sample MCP project in a predefined location using Bun.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Creates a new sample MCP project in a predefined location upon request.
  • •Prompts for a project name and handles cases where the project already exists.
  • •Generates projects that follow the same structure as the server repository, including a sum tool example.
  • •Supports adding new tools that are automatically registered upon server restart.

BEST FOR

  • •Developers who want to bootstrap a new Bun-based MCP server project through Claude Desktop.
  • •Users who want a working example of an MCP server tool integrated as a client in Claude Desktop.

ABOUT CREATE-MCP-SERVER-APP-BUN

MCP server for scaffolding Bun-based MCP projects is cataloged as an MCP server attributed to katjes733. An MCP server, usable with Claude Desktop, that creates a sample MCP project in a predefined location using Bun. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for scaffolding Bun-based MCP projects are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the generated project include an example tool?

Yes, the generated sample project includes an example tool to calculate the sum of two numeric values.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7ad3b977ce8b · 采集于 2026-11-13 12:01:55 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server

MCP server providing functionality to set up your own MCP server project using Bun.

Background

This project utilizes Model Context Protocol (MCP) to facilitate a standardized tool (MCP server) to create a sample MCP project in a predefined location.

In this example, we are integrating with Claude Desktop to run the MCP server and at the same time act as MCP client to interact with the MCP server.

The sample project generated follows the same structure as this project with an example tool to calculate the sum of two numeric values.

The choice to use Bun instead of NodeJS was intentional to also showcase that Bun has made significant strides towards becoming a true alternative to NodeJS. It is lightning fast, easy to set up and comes with a lot of functionality out of the box. It also integrates well with existing tool chains, such as ESLint and others.

Prerequisites

  1. Bun must be installed.
  2. Claude Desktop should be installed.

Setup Project

  1. Clone the repository.

  2. Run:

    bun install
    
  3. Create a .env file in the root based on /env/sample.env. Provide values as necessary and described.

    NOTE: This is mostly relevant if you wish to run the server in development mode via bun run start.

  4. (Optional) Run the following to verify integrity of the project:

    bun run verify
    

Build

  1. Run:

    bun run build
    

This will bundle the entry build/main.js, which can then be consumed.

Setup Claude Desktop

This section is influenced by this general guide with specifics for this use case.

  1. Start Claude Desktop and open Settings image

  2. Click on Developer in the left-hand bar of the Settings pane, and then click on Edit Config: image

  3. Edit the file claude_desktop_config.json and add the following:

    {
      "mcpServers": {
        "create-mcp-app-bun": {
          "command": "bun",
          "args": ["run", "<path_to_project>/build/main.js"]
        }
      }
    }
    

    Replace <path_to_project> with the path to your project; e.g.: /Users/username/Documents/projects/create-mcp-server-app-bun

  4. Restart Claude Desktop; this is important as Claude Desktop will otherwise not apply changes to claude_desktop_config.json.

  5. On the main screen, click the Search and Tools button and then on your MCP server name:

    image image

Ensure that it is enabled.

Usage

  1. You can start by simply asking Claude to create a new MCP project: create a new mcp project

    Claude will in response ask you to specify a name (e.g. my-test-mcp-server), after which it creates the project.

    image

  2. The implementation will also handle situations correctly where the project already exists and prompt the user to specify the follow-up action.

Development

New Tools

New tools may be added by ensuring each new tool module in ./src/tools extends AbstractTool and implements ITool and provides an explicit constructor (for test coverage):

...
export class NewTool extends AbstractTool implements ITool {
  // Explicit constructor definition to ensure test coverage in Bun tracks constructor.
  constructor(fetch: typeof globalThis.fetch = globalThis.fetch) {
    super(fetch);
  }
...

Additionally, the following methods must be implemented (see their corresponding JSDoc for details.):

  • getName
  • getDescription
  • getInputSchema
  • validateWithDefaults
  • processToolWorkflow

Use existing tool(s) as guide for the implementation and don't forget to implement a corresponding test.

There is no further configuration required to register any additional tool; they are automatically included upon restart of the MCP server.

Test Coverage

It may be useful to analyze test coverage gaps using lcov reports, to gain better visibility into covered lines and functions.

NOTES:

  • Constructors for classes should be defined in the respective class, as Bun only tracks a classes functions (including constructors). This is problematic when you inherit from an abstract class with its own constructor, which in turn is not tracked. Thus, simply define the Abstract constructor in the class and call super.
  • Having some imports (e.g. import dedent from "dedent";) at the top of a module may cause Bun to not correctly track that line as covered. Simply move it behind other imports, and it will correctly track.

Prerequisites (Development)

  1. Install lcov:

    brew install lcov
    
  2. Install VSCode extension ryanluker.vscode-coverage-gutters (already defined in settings.json).

Running Test Coverage

  1. For most cases, it will suffice to run:

    bun run test:coverage
    

    NOTE: If the coverage is less than 100, but no Uncovered Line #s are reported, you may need to investigate further by following the next steps and revisiting the Notes above.

  2. For advanced cases, run:

    bun run test:coverage:lcov
    

    It produces the lcov coverage report that is used by VSCode extension ryanluker.vscode-coverage-gutters to visualize covered lines in the editor.

  3. If you prefer to have an HTML report, run in your terminal:

    genhtml --function-coverage --branch-coverage --output-directory coverage-report coverage/lcov.info
    

    It produces an HTML coverage report that you can inspect in your preferred browser.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for scaffolding Bun-based MCP projects from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/create-mcp-server-app-bun)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools