MCP Server Examples: What They Do and How They Are Built

MCP server examples include file system servers for reading and writing files, Git and GitHub servers for repositories, browser automation servers such as Microsoft's Playwright MCP, database servers that run queries, retrieval servers that search notes and documents, and servers for business tools. Each exposes tools with names, descriptions, and input schemas.

What an MCP server provides

An MCP server exposes three kinds of capabilities. Tools are functions the model can call, such as search or create ticket. Resources are data the client can read, such as files or records. Prompts are reusable templates. Clients list these capabilities, show tool descriptions to the model, and route the model's calls back to the server.

File system servers

File system servers let an agent list directories, read files, and sometimes write or move them, restricted to allowed paths. They are among the simplest and most useful servers, and the MCP project's reference filesystem server is a common starting point. The key design decision is scope: which directories the agent may touch and whether writes are permitted.

Code and repository servers

Git servers expose operations such as reading history, diffs, and branches. Hosted repository servers, such as GitHub's official MCP server, add issues, pull requests, and code search. Code index servers go further, letting agents search symbols and snippets across a codebase instead of reading whole files, which saves context tokens.

Browser automation servers

Browser servers let agents navigate pages, click, fill forms, and extract content. Microsoft's Playwright MCP is a widely used example built on the Playwright automation library. Other servers focus on crawling and turning web pages into clean text for models. Browser tools are powerful, so they need care around logins, payments, and untrusted page content.

Database and analytics servers

Database servers let agents inspect schemas and run queries, often read-only. They are useful for reporting and debugging but risky with write access. Good practice is to use read-only credentials, restrict accessible tables, limit result sizes, and log every query.

Knowledge and retrieval servers

Knowledge servers let agents search notes, documentation, or indexed files and return relevant passages. The MCP project's reference memory server stores entities and relations as a simple knowledge graph. Retrieval servers over vector or hybrid indexes return chunks with sources. These servers matter for cost: an answer that can be retrieved does not need to be generated.

Business and productivity servers

Many SaaS products now offer MCP servers for their own data: issue trackers, chat platforms, CRMs, analytics tools, design tools, and document suites. They let agents read context and take actions in tools teams already use. Check what permissions each requires and whether actions can be limited to read-only.

Utility servers

Small utility servers expose capabilities such as fetching a URL and converting it to text, reporting the current time in different zones, or structured step-by-step reasoning scaffolds. The MCP project's reference servers include several of these, and they are good examples to study when building your own.

What separates good servers from bad ones

Good servers have a small number of clearly named tools with descriptions written for a model, strict input schemas, concise structured outputs, explicit errors, pagination for large results, and clear statements when data is incomplete. Poor servers expose dozens of overlapping tools, return huge unfiltered payloads, and fail silently.

Security checklist

Run local servers with the least privileges needed. Scope tokens and credentials narrowly. Validate every input. Treat content returned from the web or user data as untrusted, since it can contain instructions aimed at the model. Require confirmation for destructive actions. Prefer servers from sources you trust and review their code where possible.

Building your own

Official SDKs exist for several languages. Start with one or two tools that solve a real task, test them with direct calls including bad inputs, then connect them to a client such as an IDE or desktop app. The guide to building a production-ready MCP server covers deployment and scaling.

Choosing servers for a coding workflow

A practical coding setup often combines a file system or repository server, a code search or retrieval server, a browser server for testing web interfaces, and a read-only database server for debugging. Each extra server adds tool definitions to the model's context, so connect only what the current task needs. Many clients let you enable servers per project, which keeps context small and reduces the chance of the agent choosing an irrelevant tool.

Local versus remote servers

Local servers run on your machine, launched by the client, and suit file access and developer tools. Remote servers run as hosted services over HTTP and suit shared data and team tools. Remote servers need proper authentication, rate limits, and per-user authorisation, since many clients connect to the same endpoint.

Frequently asked questions

What are some examples of MCP servers?
Common examples include file system servers, Git and GitHub servers, browser automation servers such as Playwright MCP, database servers, knowledge and retrieval servers, and servers for tools such as issue trackers and chat platforms. The MCP project also maintains reference servers like filesystem, git, fetch, and memory.
Which MCP servers are most useful for developers?
File system, Git or GitHub, code search, browser automation for testing, and database servers for debugging are the most commonly used by developers. A code index or retrieval server is especially valuable because it supplies precise context without sending whole files to the model.
Are MCP servers safe to install?
Only as safe as their code and permissions. Install servers from trusted sources, review what they can access, use least-privilege credentials, prefer read-only modes, and require confirmation for destructive actions. Treat content they return from the web or user data as untrusted input.