MCP.so
登录

MCP Server Boilerplate

@swapnil-saal

基本信息

分类

开发工具

传输方式

stdio

作者

swapnil-saal

关于 MCP Server Boilerplate

暂无概览

MCP Server Boilerplate 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Server Boilerplate 工具

工具列表暂未提供

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

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

概览

What is Mcp Server Boilerplate?

It is a Node.js/TypeScript framework for building MCP servers, providing auto-registration of tools and resources. It is intended for developers creating MCP‑compatible servers.

How to use Mcp Server Boilerplate?

Install dependencies with npm install, copy .env.example to .env and configure variables, then build with npm run build and start with npm start. Add tools to src/server/tools using the naming convention *-tool.ts and resources to src/server/resources using *-resource.ts; each file must export an object with schema (Zod) and handler (async function).

Key features of Mcp Server Boilerplate

  • Dynamic Node.js/TypeScript framework for MCP servers.
  • Auto‑registration of tools and resources.
  • Schema validation via Zod.
  • Async handlers for tool and resource logic.

Use cases of Mcp Server Boilerplate

  • Building custom MCP servers with auto‑registered tools.
  • Creating MCP resources with predefined schemas and async handlers.

常见问题

1

What dependencies are required?

Node.js and npm. Install them with `npm install`.

2

How are tools and resources added?

Place new files in `src/server/tools` (for tools) or `src/server/resources` (for resources) following the naming convention `*-tool.ts` or `*-resource.ts`, and export an object with `schema` and `handler`.

3

What runtime does it require?

A Node.js/TypeScript environment.

评论

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