MCP.so
登录

Mcp Server Boilerplate

@swapnil-saal

关于 Mcp Server Boilerplate

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

swapnil-saal

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

工具是从 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.

FAQ from Mcp Server Boilerplate

What dependencies are required?

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

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.

What runtime does it require?

A Node.js/TypeScript environment.

评论

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