MCP.so
登录

MCP Server

@iamtraction

关于 MCP Server

A sample Node.js MCP Server template that you can use to create your own MCP servers.

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

iamtraction

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

What is MCP Server?

A TypeScript template repository for creating Model Context Protocol (MCP) servers with support for both stdio and SSE transports, providing a well-organized structure and essential features for developers building MCP servers.

How to use MCP Server?

Create a new repository from the template, clone it, install dependencies with npm install, and start the development server with npm run dev. Configure the server in server.ts to choose stdio or SSE transport. Add custom prompts, resources, and tools by creating files in the respective src/ subdirectories and registering them in server.ts.

Key features of MCP Server

  • Built with TypeScript for type safety
  • Supports both stdio and SSE transports
  • Includes example prompts, resources, and tools
  • Uses FastMCP for rapid development
  • Provides hot-reload development server
  • Available linting and build scripts

Use cases of MCP Server

  • Quickly bootstrap a new MCP server project with best practices
  • Develop custom MCP prompts, resources, and tools
  • Switch between stdio and HTTP streaming transports as needed
  • Serve as a reusable foundation for multiple MCP server implementations

FAQ from MCP Server

What are the runtime requirements for MCP Server?

Node.js and npm or yarn package manager are required.

What transports does MCP Server support?

It supports stdio (Standard Input/Output) and SSE (Server-Sent Events) transports, configurable in server.ts.

How do I add a new tool, prompt, or resource?

Create a new file in src/tools/, src/prompts/, or src/resources/, then import and register it in server.ts using server.addTool(), server.addPrompt(), or server.addResource().

Does MCP Server come with any example content?

Yes, it includes example prompts, resources, and tools to help you get started.

Where does the data live?

Data handling is entirely up to the developer; there is no built-in data storage specified.

评论

其他 分类下的更多 MCP 服务器