MCP.so
登录

Simple MCP Server

@ribeirogab

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

ribeirogab

关于 Simple MCP Server

A simple TypeScript library for creating MCP servers.

Simple MCP Server 配置

暂无标准配置

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

代码仓库

Simple MCP Server 工具

工具列表暂未提供

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

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

概览

What is Simple MCP?

Simple MCP is a lightweight TypeScript library for building servers that implement the Model Context Protocol (MCP). It provides a minimal API, built-in parameter validation via Zod, and full type safety, making it easy for developers to create custom MCP tools.

How to use Simple MCP?

Install the package with npm install simple-mcp. Then create an McpServer instance, register tools using either a functional or class-based API, and start the server with server.start({ transportType: 'stdio' }). Parameter schemas are defined with Zod and passed inline or through an McpTool interface.

Key features of Simple MCP

  • Minimal API for creating MCP servers
  • Full TypeScript integration with type safety
  • Built-in parameter validation using Zod
  • Supports both functional and class-based tool registration
  • Implements the Model Context Protocol (MCP) standard
  • Ships with ready-to-use example tools (greeting, calculator)

Use cases of Simple MCP

  • Building a custom MCP server that exposes a “greet” tool to AI assistants
  • Creating a calculator tool that performs mathematical operations via MCP
  • Prototyping new MCP tools with minimal boilerplate code
  • Embedding MCP compatibility into an existing TypeScript project
  • Teaching or learning the Model Context Protocol with a straightforward codebase

常见问题

1

What is Simple MCP used for?

Simple MCP is a library for creating MCP servers. Developers use it to define tools that AI models can invoke through the Model Context Protocol.

2

How do I install Simple MCP?

Run `npm install simple-mcp` in your project. The library requires a TypeScript environment and Zod as a peer dependency.

3

Does Simple MCP support transports other than stdio?

The README only demonstrates the `stdio` transport. Other transports (e.g., HTTP, WebSocket) are not mentioned in the documentation.

4

Is Simple MCP type-safe?

Yes. The library is written in TypeScript and uses Zod for runtime schema validation, ensuring inputs match the expected types.

5

What are the runtime requirements for Simple MCP?

Simple MCP runs in any environment that supports Node.js and TypeScript. It depends on Zod for parameter validation.

评论

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