About MCP Servers Collection
MCP Servers Collection is a set of example MCP servers for developers exploring MCP integrations. It includes calculator, weather, and file-management functions, with both standard and SSE calculator variants.
Key features
- 01Calculator arithmetic tools
- 02Streaming calculator via SSE
- 03Weather data retrieval
- 04File and directory operations
Use cases
- 01Testing calculator tools with an MCP client
- 02Retrieving weather data through MCP
- 03Reading, writing, or searching files
MCP support
The collection implements MCP servers that expose tools to MCP-compatible clients. Its examples cover arithmetic, weather retrieval, and file operations.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP Servers Collection
This repository contains a collection of Model Context Protocol (MCP) servers that demonstrate various functionality and use cases for the MCP ecosystem. Each server implements specific tools that can be used by MCP clients.
Overview
MCP (Model Context Protocol) provides a standardized way for models to access external tools and resources. These servers implement the protocol to offer various services that can be consumed by MCP-compatible clients.
mcp-calculator-server
A basic calculator server that provides arithmetic operations through MCP tools:
- Features: Basic arithmetic operations (add, subtract, multiply, divide)
- Dependencies: @modelcontextprotocol/sdk, zod
- Usage:
cd mcp-calculator-server && npm start
mcp-calculator-sse-server
An enhanced version of the calculator server that uses Server-Sent Events (SSE) for real-time communication:
- Features: Same arithmetic capabilities as the basic calculator but with streaming responses
- Dependencies: @modelcontextprotocol/sdk, express, cors, zod
- Usage:
cd mcp-calculator-sse-server && npm start
mcp-weather-server
A server that provides weather information through MCP tools:
- Features: Weather data retrieval
- Dependencies: @modelcontextprotocol/sdk
- Setup:
cd mcp-weather-server && npm run build - Usage: As a command-line tool:
weather
mcp-file-manager-server
A comprehensive file management server that provides various file system operations:
- Features:
- List directories
- Read and write files
- Delete files
- Move/rename files
- Get file metadata
- Search files using glob patterns
- Dependencies: @modelcontextprotocol/sdk, glob, zod
- Setup:
cd mcp-file-manager-server && npm run build - Usage:
cd mcp-file-manager-server && npm start
Common Pattern
All servers in this collection:
- Use the MCP SDK (
@modelcontextprotocol/sdk) - Implement one or more tools that follow the MCP specification
- Use Zod for input validation
- Provide specific functionality accessible through a standardized interface
Getting Started
To use any of these servers:
- Navigate to the server directory
- Install dependencies with
npm install - Build the server if necessary (TypeScript-based servers)
- Start the server with
npm start
Integration with MCP Clients
These servers can be used with any MCP-compatible client, including:
- AI agents that implement the MCP protocol
- Web applications that use MCP for accessing external tools
- Command-line interfaces that support MCP
Contributing
To add a new MCP server to this collection:
- Create a new directory with the pattern
mcp-{functionality}-server - Implement the server using the MCP SDK
- Include appropriate documentation
- Update this README with information about the new server
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.