MCP.so
登录

MCP Server Template

@jatinsandilya

基本信息

分类

开发工具

传输方式

stdio

作者

jatinsandilya

关于 MCP Server Template

Minimal typescript template to build an mcp server

MCP Server Template 配置

暂无标准配置

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

代码仓库

MCP Server Template 工具

工具列表暂未提供

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

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

概览

What is MCP Server Template 🛠️?

A starter template for building your own Model Context Protocol (MCP) servers. It provides the basic structure and setup needed to create custom MCPs for use with Cursor or Claude Desktop, including TypeScript, a sample tool implementation, and a ready-to-use project structure built with the @modelcontextprotocol/sdk.

How to use MCP Server Template 🛠️?

Clone the repository, install dependencies with pnpm install, and build the project with pnpm run build. For Cursor, configure it in Settings → MCP with command node ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js. For Claude Desktop, add a JSON entry to its MCP config with the same command and arguments.

Key features of MCP Server Template 🛠️

  • Basic MCP server setup written in TypeScript
  • Sample tool implementation included for reference
  • Ready-to-use project structure with predefined files
  • Built on the official @modelcontextprotocol/sdk
  • Compiled JavaScript output in the build/ directory

Use cases of MCP Server Template 🛠️

  • Quickly scaffolding a new MCP server for custom integrations
  • Learning how to structure and build MCP-compatible tools
  • Prototyping tools to extend AI assistants like Cursor and Claude Desktop

常见问题

1

What do I need to run this template?

You need Node.js, a package manager like `pnpm` (or `npm`), and the ability to run a local build process.

2

Where do I define my own tools?

Edit `index.ts` and use the `server.tool()` method, providing a name, description, Zod parameters, and an async handler function.

3

Which transports or authentication does this template support?

The README does not specify transport or authentication details beyond the basic MCP server setup using the SDK.

4

Is this template ready for production use?

No, this is a starter template intended for development and prototyping. You must modify it with your own tool logic before deploying.

5

Can I use this template with other MCP clients?

The README specifically documents setup for Cursor and Claude Desktop, but the resulting server should be compatible with any MCP host if configured correctly.

评论

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