Developers can inspect and replicate secure AI file and Git handling structures
For developers wondering how to safely structure commands when an AI reads local files or searches Git repositories, this repository provides the answer. It contains reference implementations of servers that follow the Model Context Protocol (MCP) standard. Each server demonstrates how to perform specific functions, offering a template you can follow when building your own server.
Position as an educational reference implementation
This repository contains only a small number of official servers managed directly by the MCP steering group. If you are looking for a list of MCP servers, you should refer to the MCP registry, as this repository focuses on demonstrating protocol features. Each server is written using official SDKs in various languages, including C#, Go, Java, Python, and TypeScript. This illustrates that MCP is not dependent on a specific language and can be applied broadly.
Included servers and their roles
The currently active servers demonstrate various MCP features.
- Everything A reference and test server equipped with prompts, resources, and tools.
- Fetch Retrieves web content and converts it for LLM use.
- Filesystem Performs safe file operations with configurable access control.
- Git Provides tools to read, search, and manipulate Git repositories.
- Memory Implements a persistent memory system based on a knowledge graph.
Execution methods and client integration
TypeScript-based servers can be run directly using the npx command. For example, the Memory server starts with the command npx -y @modelcontextprotocol/server-memory. Python-based servers are installed and run via uvx or pip, with uvx offering easier setup. Running a server in isolation is meaningless; it must be configured in an MCP client. When using Claude Desktop as the client, you connect by specifying the server command and arguments in a JSON configuration file. In Windows environments, the npx command must be wrapped with cmd /c.
Pre-use considerations
The servers in this repository are educational examples for learning MCP features and SDK usage, not intended for immediate use in production environments. Developers must evaluate their own security requirements and threat models and implement appropriate safety measures themselves. The license applies Apache License 2.0 to new contributions and MIT to existing code. While managed by Anthropic, it is built with the community and encourages contributions as an open-source project. To build your own server, you should refer to the official documentation for guides and best practices.