Best MCP Servers for Coding Agents: 10 Worth Installing
The 10 MCP servers that make coding agents useful: filesystem, GitHub, Postgres, Playwright, Sentry, Memory, Slack, Brave Search, Puppeteer, and SQLite.
In short: The ten MCP servers worth installing for coding agents are Filesystem, GitHub, PostgreSQL, Brave Search, Playwright, Slack, Memory, Sentry, Puppeteer, and SQLite. Start with Filesystem, GitHub, and Memory, then add database, search, or browser servers as your workflow needs them. Keep paths, tokens, and credentials narrowly scoped.
AI coding assistants are only as useful as the tools they can reach. Without MCP, your AI assistant is locked inside a chat window — it can write code but can't read your files, query your database, or check what's failing in production. With the right MCP servers, it can do all of that. If you're using Claude, Cursor, Windsurf, or a local model through Ollama, these are the 10 MCP servers worth setting up. Most take under two minutes to install. While you're at it, check out the best vibe coding tools in 2026, the Claude Code vs Cursor vs Copilot comparison, and the best local LLMs for coding for a full picture of the current AI coding stack.
What Is MCP?
MCP (Model Context Protocol) is an open protocol created by Anthropic that lets AI assistants connect to external tools and data sources. It uses a standardized JSON-RPC interface, which means any MCP-compatible client (Claude, Cursor, Windsurf, and others) can connect to any MCP server without custom integration work. Think of it as USB-C for AI tool connections.
Each MCP server exposes a set of "tools" — discrete functions an AI can call. The filesystem server exposes tools like read_file and write_file. The GitHub server exposes create_issue, list_pull_requests, and search_code. When you connect a server, those tools become available to your AI assistant automatically — no prompting required.
How to Connect an MCP Server
In Claude Desktop, edit claude_desktop_config.json:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/project"]
}
}
}
In Cursor, go to Settings → MCP and add the same config. In Windsurf, MCP servers go in .codeium/windsurf/mcp_config.json. The format is consistent across all three clients — configure once, reuse everywhere.
The 10 Best MCP Servers for Developers
1. Filesystem — Read and Write Local Files
The Filesystem server lets your assistant read, write, create, and move files inside directories you explicitly allow. Point it at a project root and the assistant can inspect the codebase without you pasting files into chat. Keep the allowed paths narrow: project folder first, docs folder second, broader home-directory access never by default.
Who it's for: Any developer who wants an AI assistant to work with real files instead of copied snippets.
npx -y @modelcontextprotocol/server-filesystem /path/to/your/project
→ GitHub
2. GitHub — Repos, PRs, and Issues Without Leaving Your Editor
The GitHub MCP server connects your assistant to repositories, issues, pull requests, commits, and code search. It is strongest when paired with a coding assistant that already understands your local files: Filesystem handles the working tree, GitHub handles the collaboration layer.
Use a scoped token, start read-only where possible, and only grant write permissions when you are ready for the assistant to create branches, issues, or pull requests. If you are still choosing the editor layer, compare Cursor vs Windsurf vs Cline before you wire in repo automation.
Who it's for: Developers who want AI-assisted issue triage, PR summaries, code search, and review workflows.
GITHUB_PERSONAL_ACCESS_TOKEN=your_token npx -y @modelcontextprotocol/server-github
→ GitHub
3. PostgreSQL — Query and Inspect Your Database
The PostgreSQL MCP server gives your assistant database context without copying schema dumps into prompts. It can inspect tables, describe relationships, and run queries against a connection string you provide. For production systems, use read-only credentials and a replica or limited database user.
Pair it with Filesystem and your assistant can compare ORM models, migrations, and actual schema state in one workflow. For local AI coding stacks, this is often more useful than adding another code-completion tool.
Who it's for: Backend and full-stack developers who debug data shape, migrations, query behavior, or schema drift.
npx -y @modelcontextprotocol/server-postgres postgresql://localhost/your_db
→ GitHub
4. Brave Search — Real-Time Web Search
Brave Search gives your AI assistant access to live web results via the Brave Search API. Free tier available. It's the go-to option for adding web search without a Google API key. Useful for researching libraries, checking current documentation, or verifying that a package still exists before generating an import statement.
The alternative for general web search is the Tavily MCP server, which also works well — but Brave Search offers a free tier API key that covers most individual developer usage.
Who it's for: Developers who want their AI assistant to fetch up-to-date information without hallucinating stale package versions or outdated API behavior.
BRAVE_API_KEY=your_key npx -y @modelcontextprotocol/server-brave-search
→ GitHub
5. Playwright — Browser Automation and Testing
Microsoft's Playwright MCP server lets your AI assistant control a real browser: navigate pages, click elements, fill forms, take screenshots, and run end-to-end tests. It uses Playwright's full browser automation stack under the hood, giving you access to Chromium, Firefox, and WebKit.
This is the most capable browser automation option in the MCP ecosystem. The browser runs visibly by default so you can watch what's happening, or headlessly for CI pipelines.
Who it's for: Frontend developers, QA engineers, and anyone who needs AI-assisted browser testing or site scraping with full JavaScript execution.
npx -y @playwright/mcp
→ GitHub
6. Slack — Read and Post to Team Channels
The Slack MCP server connects to your workspace via a bot token. Your AI assistant can read channel history, post messages, search for past conversations, look up user information, and list channels. Useful for drafting async updates, summarizing discussions, or catching up on what happened in a channel while you were heads-down.
Setup requires creating a Slack app in your workspace and granting the appropriate OAuth scopes. The official docs in the repo walk through this in about five minutes.
Who it's for: Developers who want AI help navigating team communication or drafting Slack messages without context-switching out of their editor.
SLACK_BOT_TOKEN=xoxb-your-token SLACK_TEAM_ID=your_team_id npx -y @modelcontextprotocol/server-slack
→ GitHub
7. Memory — Persistent Knowledge Graph
The Memory server gives your AI assistant a persistent knowledge store that survives across sessions. It maintains a graph of entities and relationships — you and your assistant build it up over time, storing project conventions, architecture decisions, recurring context, and anything else that would otherwise need re-explaining every session.
This is one of the most underrated servers on the list. The cold-start problem (where your assistant forgets everything between sessions) is a genuine productivity drag, and Memory is the direct fix.
Who it's for: Anyone frustrated by having to re-explain project context, coding standards, or team preferences at the start of every conversation.
npx -y @modelcontextprotocol/server-memory
→ GitHub
8. Sentry — Error Tracking and Issue Debugging
The Sentry MCP server connects your AI assistant to Sentry's error tracking platform. It can fetch recent errors, read full stack traces, inspect issue history, and help you trace bugs back to their origin. Instead of copying stack traces into a chat window, your assistant pulls them directly from Sentry and analyzes them in context.
Ask it to summarize the top 5 errors from the last 24 hours, find the commit that introduced a regression, or explain what a specific exception means in the context of your codebase.
Who it's for: Backend and full-stack developers who use Sentry for production monitoring and want AI-assisted debugging.
SENTRY_AUTH_TOKEN=your_token npx -y @sentry/mcp-server
→ GitHub
9. Puppeteer — Web Scraping and Screenshots
The Puppeteer MCP server enables headless Chrome automation: navigate URLs, take screenshots, extract page content, click elements, and interact with web pages. Where Playwright is broader and better for test suites, Puppeteer is leaner and fits well into scraping and visual capture workflows.
Screenshot capability is particularly useful for design feedback — point it at a staging URL and ask your assistant to describe what the page looks like before making UI changes.
Who it's for: Developers doing web scraping, automated visual checks, content extraction, or lightweight browser automation.
npx -y @modelcontextprotocol/server-puppeteer
→ GitHub
10. SQLite — Local Database Queries
The SQLite MCP server gives your AI assistant direct access to a local .sqlite database file. It can run queries, inspect table schemas, read data, and analyze content. No running database process required — it reads the file directly.
Lighter weight than the Postgres server and useful for a different set of contexts: embedded databases in mobile or desktop apps, local development environments, or prototyping before you move to a production database.
Who it's for: Developers working with embedded databases, SQLite-backed apps, or local development environments where standing up Postgres would be overkill.
npx -y @modelcontextprotocol/server-sqlite /path/to/your.db
→ GitHub
Where to Start
If you're new to MCP, install three servers first: Filesystem, GitHub, and Memory. That combination eliminates the most common friction points — copy-pasting code into chat, manually explaining project structure, and losing context between sessions.
From there, add Brave Search for live web access, and PostgreSQL or SQLite depending on your database setup. If you're doing frontend work or QA, Playwright earns its place immediately.
The full list of official reference servers lives at github.com/modelcontextprotocol/servers. Community-built servers are indexed at mcp.so — the ecosystem expands quickly and new high-quality servers appear regularly.
If you're running local models alongside MCP-connected tools, see our guide to the best local LLMs for RTX 50-series GPUs — MCP works just as well with a locally-hosted Qwen or Llama model as it does with Claude or GPT. For safer autonomous workflows, pair tool access with an AI agent sandbox and clear context engineering rules before granting write access.
*Disclosure: This article contains affiliate/referral links. ToolHalla may earn a commission at no extra cost to you. Recommendations are based on usefulness for the task, not commission.*
Optional Hardware for Local MCP Workflows
You do not need special hardware to run MCP servers. Most of them are lightweight Node or Python processes. Hardware only matters when the same machine also runs a local coding model through Ollama, LM Studio, or llama.cpp.
- RTX 3060 12GB GPU — A practical entry point for local 7B-14B coding models while MCP servers handle filesystem, GitHub, and database context.
- RTX 3090 24GB GPU — The better fit for larger local coding models, longer context windows, and multiple assistant sessions sharing one workstation.
- 2TB NVMe SSD — Useful when Filesystem, GitHub checkouts, local vector stores, and build caches live on the same development box.
Frequently Asked Questions
What is MCP and why is it important for AI coding?
MCP (Model Context Protocol) is an open protocol that allows AI assistants to connect to external tools and data sources, enabling them to perform actions like reading files, querying databases, and checking production issues directly.
How do I connect an MCP server to my AI assistant?
To connect an MCP server, you need to edit the configuration file of your AI assistant, such as claude_desktop_config.json, and add the server details under the mcpServers section.
What are some of the best MCP servers for AI coding in 2026?
Some of the best MCP servers for AI coding in 2026 include Filesystem, GitHub, Database, and Production Monitoring servers, which provide essential tools for AI assistants to interact with various data sources and systems.
Are MCP servers compatible with all AI assistants?
MCP servers use a standardized JSON-RPC interface, making them compatible with any MCP-compatible client, such as Claude, Cursor, and Windsurf, without the need for custom integration.
What are the costs associated with using MCP servers?
Most MCP servers are designed to be lightweight and easy to set up, often with free or low-cost options available. However, costs can vary based on the specific server and any additional services it may require.
Are there any alternatives to MCP servers for AI coding?
While MCP servers provide a standardized and efficient way to connect AI assistants to external tools, alternatives include custom APIs and proprietary integration solutions, though they may require more setup and maintenance.
Which MCP servers should I install first?
Start with Filesystem, GitHub, and Memory. That gives your coding assistant codebase access, repository context, and persistent project knowledge without connecting every production system on day one.
What is the safest MCP setup for a coding agent?
Use narrow filesystem paths, read-only database credentials, scoped GitHub tokens, and a sandboxed runtime for browser or shell automation. Add write access only after the assistant has proven it can inspect and plan safely.
Do MCP servers work with local models?
Yes. MCP is a tool protocol, not a model provider. A local model served through Ollama, LM Studio, or another OpenAI-compatible endpoint can use MCP tools if the client supports both the local model and the server configuration. For model selection, start with the best local LLMs for coding before exposing tools to it.
Do Claude, Cursor, and Windsurf use the same MCP servers?
They can often use the same server packages, but each client has its own configuration UI, permission model, and supported feature set. Keep one shared config reference, then apply the narrowest path, token, and environment-variable scopes each client supports.
What is the best MCP server for a first install?
Start with Filesystem if you only install one. It gives the biggest immediate coding benefit because the assistant can inspect your actual project. Add GitHub next for issues and pull requests, then Postgres or Playwright depending on whether your bottleneck is backend debugging or browser testing.
Which MCP servers should stay read-only?
Database, production monitoring, search, and memory-like context stores should start read-only or append-only. Filesystem and GitHub can become write-capable, but only inside scoped paths, test branches, or low-risk repositories until your review workflow is proven.
Frequently Asked Questions
What is MCP and why is it important for AI coding?
How do I connect an MCP server to my AI assistant?
What are some of the best MCP servers for AI coding in 2026?
Are MCP servers compatible with all AI assistants?
What are the costs associated with using MCP servers?
Are there any alternatives to MCP servers for AI coding?
Which MCP servers should I install first?
What is the safest MCP setup for a coding agent?
Do MCP servers work with local models?
Do Claude, Cursor, and Windsurf use the same MCP servers?
What is the best MCP server for a first install?
Which MCP servers should stay read-only?
🔧 Tools in This Article
All tools →Related Guides
All guides →vLLM 0.22.0: DeepSeek V4, MRv2 and KV Offload
vLLM 0.22.0 is a production-serving release: DeepSeek V4 hardening, MRv2 progress, KV cache offloading, Rust frontend work and performance changes worth benchmarking.
6 min read
Developer ToolsQwen 2.5 Coder Local Setup: Hardware, Ollama, Benchmarks
Run Qwen 2.5 Coder locally with the right GPU, Ollama or LM Studio setup, benchmark expectations, and upgrade paths toward Qwen 3.5.
9 min read
Local LLMGemma 4 Is Out: Apache 2.0, 3.8B Active Params, and the Best Local Model in 2026
Google dropped Gemma 4 on April 2 with four variants, a 256K context window, and — finally — an Apache 2.0 license. The 26B MoE activates only 3.8B params at inference. Here's what changed, what it means for local AI, and how it stacks up.
12 min read