Provides example implementations and source code through GitHub repositories.
Available as an npm package for easy installation in Node.js projects.
Provides full TypeScript integration with type safety for creating MCP servers.
Implements built-in parameter validation using Zod schemas for MCP tools.
Simple MCP
A simple TypeScript library for creating MCP (Model Context Protocol) servers.
Features
Simple API: Create MCP servers with minimal code
Type Safety: Full TypeScript integration
Parameter Validation: Built-in validation with Zod
MCP Compatible: Fully implements the Model Context Protocol
Related MCP server: MCP Framework
Installation
Quickstart
Class-based Implementation
You can also implement MCP tools using classes:
Examples
Check out the examples directory for more complete examples:
Greeting Tool - Simple greeting example
Calculator Tool - Mathematical operations example
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests.