MCP.so
登录

MCP Boilerplate

@grossomanache

基本信息

分类

开发工具

传输方式

stdio

作者

grossomanache

关于 MCP Boilerplate

暂无概览

MCP Boilerplate 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-boilerplate-grossomanache": {
      "command": "bun",
      "args": [
        "run",
        "src/index.ts"
      ]
    }
  }
}

MCP Boilerplate 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is mcp-boilerplate?

mcp-boilerplate is a starter template for building Model Context Protocol (MCP) servers, using Bun as the runtime and TypeScript for type safety. It includes a basic echo tool to demonstrate tool listing, invocation, and error handling, and is designed for quick testing with Claude Desktop.

How to use mcp-boilerplate?

Install dependencies with bun install, then run the server with bun run src/index.ts. For local development, build with bun run build and point Claude Desktop to the compiled dist/index.js. Alternatively, run via Docker Compose using a TCP/port setup with socat.

Key features of mcp-boilerplate

  • Built with Bun and TypeScript
  • Includes an echo tool for basic testing
  • Demonstrates error handling and tool listing
  • Supports both Docker and local execution
  • Ready for integration with Claude Desktop

Use cases of mcp-boilerplate

  • Starting point for developing custom MCP servers
  • Prototyping MCP tools and testing functionality
  • Learning the Model Context Protocol with a minimal example

常见问题

1

What dependencies are required?

Bun is required to install dependencies and run the server. For the Docker option, Docker and Docker Compose must be installed.

2

How do I test mcp-boilerplate with Claude Desktop?

Two options are provided: run the server via Docker Compose (TCP) and configure Claude Desktop to use a socat container, or build the project with `bun run build` and point Claude Desktop directly to the compiled JavaScript file.

3

What tools does the server provide?

The server includes an echo tool that repeats a provided message, and supports tool listing and rudimentary error handling (e.g., calling echo without a message).

4

How do I build the project?

Run `bun run build` in the project directory. The output will be placed in `dist/index.js`.

5

Does mcp-boilerplate require Claude Desktop to run?

No, but the README focuses on testing with Claude Desktop. The server can be run standalone via `bun run src/index.ts` after installing dependencies.

评论

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