MCP Reference Servers — Official Collection
Official MCP reference server implementations by Anthropic: filesystem, git, memory, fetch, sequential thinking, and more. The starting point for MCP development.
Staging sûr pour cet actif
Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.
npx -y tokrepo@latest install 8a28360d-6eef-449d-9857-d8b388a05f34 --target codexStage les fichiers d'abord; l'activation exige la revue du README et du plan staged.
What it is
MCP Reference Servers are the official server implementations published by Anthropic for the Model Context Protocol (MCP). They include production-ready servers for filesystem access, Git operations, persistent memory, HTTP fetching, sequential thinking, and other common integration patterns. These servers serve as both working tools and reference code for developers building custom MCP servers.
The collection targets developers integrating MCP into their AI workflows, teams building custom MCP servers who need reference implementations, and anyone setting up Claude Code or other MCP-compatible AI tools with standard integrations.
How it saves time or tokens
Instead of building MCP integrations from scratch, you install these reference servers and get immediate access to filesystem, git, and memory capabilities for your AI agent. Each server follows the MCP specification exactly, which means you avoid protocol implementation bugs and edge cases that come from rolling your own.
The sequential thinking server is particularly useful for complex reasoning tasks, as it structures the LLM's thought process into explicit steps, reducing token waste from unstructured reasoning.
How to use
- Install the MCP servers you need. Most are available via npm:
npx @modelcontextprotocol/server-filesystem /path/to/allowed/dir. - Configure your MCP client (Claude Code, Cursor, etc.) to connect to the server. Add the server to your MCP settings file with the appropriate transport.
- The AI agent can now use the server's tools. For example, the filesystem server exposes read, write, and search operations that the agent calls during conversations.
Example
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"@modelcontextprotocol/server-filesystem",
"/Users/me/projects"
]
},
"memory": {
"command": "npx",
"args": ["@modelcontextprotocol/server-memory"]
},
"fetch": {
"command": "npx",
"args": ["@modelcontextprotocol/server-fetch"]
}
}
}
This configuration gives your AI agent filesystem access, persistent memory across sessions, and the ability to fetch web content.
Related on TokRepo
- MCP filesystem integration — Detailed guide for the filesystem MCP server
- MCP GitHub integration — GitHub MCP server for repository operations
Common pitfalls
- The filesystem server grants access to the directories you specify. Be careful not to expose sensitive directories like home or root. Always scope access to specific project folders.
- Each MCP server runs as a separate process. Running many servers simultaneously increases memory usage. Only enable servers you actively need.
- The memory server stores data locally by default. If you need shared memory across machines, you need to configure a shared storage backend or use a database-backed alternative.
Questions fréquentes
The official collection includes servers for filesystem access, Git operations, persistent memory (key-value store), HTTP fetch, sequential thinking, SQLite database access, and several others. Each server is a standalone npm package that implements the MCP specification.
No. Install only the servers your workflow requires. The filesystem and memory servers are the most commonly used. Each server is an independent package with no dependencies on the others.
Yes. MCP is an open protocol. Any MCP-compatible client can connect to these servers. Cursor, Windsurf, and other AI coding tools that support MCP can use the same servers.
The reference servers serve as code examples. Each one demonstrates the MCP protocol patterns: tool definitions, resource handling, and transport setup. The MCP specification documentation provides the full protocol details for custom implementations.
Yes. The memory server stores data in a local file that persists across sessions. The data survives server restarts. You can configure the storage location to control where memory data is saved.
Sources citées (3)
- MCP Servers GitHub— Official MCP reference server implementations by Anthropic
- MCP Documentation— Model Context Protocol specification
- Anthropic MCP Announcement— MCP is an open protocol for AI tool integrations
En lien sur TokRepo
Source et remerciements
Created by modelcontextprotocol (Anthropic). Licensed under Mixed (per server). servers — ⭐ 82,300+
The canonical starting point for MCP server development, maintained by Anthropic's MCP team.
Fil de discussion
Actifs similaires
AWS MCP Servers — Official AWS Integration
Official MCP servers for AWS by Amazon. Connect AI agents to S3, Lambda, CloudWatch, Bedrock, CDK, and more AWS services. Secure IAM-based auth. 8.6K+ stars.
Redis MCP Server — Official Redis for AI Agents
Official Redis MCP server enabling AI agents to manage Redis data via natural language. Supports strings, hashes, lists, sets, streams, JSON, pub/sub, and vector search. MIT license.
Anthropic MCP Specification — Protocol Reference
Official Model Context Protocol specification reference. Understand MCP architecture, message format, tool definitions, resource types, and transport protocols for building servers.
MCP Inspector — Debug and Test MCP Servers
Official debugging tool for MCP servers. MCP Inspector provides a web UI to connect, test tools, inspect messages, and validate responses from any MCP server interactively.